Theo-SAMINADIN-td / NukeDepthCrafter

DepthCrafter for Nuke allows you to generate temporally consistent Depth sequences inside Nuke
22 stars 0 forks source link

nuke start errors #3

Open lucky0511 opened 4 days ago

lucky0511 commented 4 days ago

Hello, I have an issue please, I need some help to make it work.

1,2. downloaded file/model with the same trees as yours

  1. Confirm Python 3.10.10 , env set Dependencies installed to default Python location

  2. init.py added my env python nuke.pluginAddPath("C:/Users/VFX-Admin/AppData/Local/Programs/Python/Python310/Lib/site-packages")

***nuke 15.1 reported

"Key already registered with the same priority: C10"

****nuke 15.0 reported

Traceback (most recent call last): File "C:/Users/VFX-Admin/.nuke/NukeDepthCrafter/menu.py", line 1, in from nukedc import UpdateBtn, CreateDCNode, GenerateDepthAction File "C:\Program Files\Nuke15.0v4\pythonextensions\site-packages\shiboken2\files.dir\shibokensupport__feature.py", line 142, in _import return original_import(name, *args, *kwargs) File "C:\Users/VFX-Admin/.nuke/NukeDepthCrafter\nukedc.py", line 2, in from DepthCrafterPlugin.utils import File "C:\Program Files\Nuke15.0v4\pythonextensions\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 142, in _import return original_import(name, *args, **kwargs) File "C:\Users/VFX-Admin/.nuke/NukeDepthCrafter\DepthCrafterPlugin\utils.py", line 6, in import torch File "C:\Program Files\Nuke15.0v4\pythonextensions\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 142, in _import return original_import(name, *args, **kwargs) File "C:\Users\VFX-Admin\AppData\Local\Programs\Python\Python310\Lib\site-packages\torch\init__.py", line 128, in raise err OSError: [WinError 127] The specified procedure could not be found. Error loading "C:\Users\VFX-Admin\AppData\Local\Programs\Python\Python310\Lib\site-packages\torch\lib\c10_cuda.dll" or one of its dependencies.

pendencies.

IIWstudio commented 3 days ago

I have the same issue, i tried many things like installing other version of torch. With the latest version the error changes but didn't find a way to make it work. I'll keep an eye here if you find a solution :)

AlbertoF-LP commented 1 day ago

I have the same issue on Nuke 15.1 too.

What I see is seems to be a problem due to Nuke comes with a pre-installed version of PyTorch (as is shown in the third-party libraries on the docs) so when installing another version, the error you said above raises... The thing is I am not able to import the pre-installed PyTorch within Nuke and I haven't found the files in the installation directory... I'm a little bit lost here :(

Have you found any solution?