DeepMosaics icon indicating copy to clipboard operation
DeepMosaics copied to clipboard

EXE cannot find caffe2_detectron_ops_gpu.dll

Open dairennl opened this issue 5 years ago • 7 comments

The EXE cannot start even though the DLL it is looking for exists at the path where it is expecting it. What's wrong?

OSError: [WinError 126] The specified module could not be found. Error loading "D:\Libraries\Downloads\DeepMosaics_V0.4.0_gpu\DeepMosaics_V0.4.0_gpu\core\torch\lib\caffe2_detectron_ops_gpu.dll" or one of its dependencies.
[18112] Failed to execute script deepmosaic
PS D:\Libraries\Downloads\DeepMosaics_V0.4.0_gpu\DeepMosaics_V0.4.0_gpu\core> dir D:\Libraries\Downloads\DeepMosaics_V0.4.0_gpu\DeepMosaics_V0.4.0_gpu\core\torch\lib\caffe2_detectron_ops_gpu.dll


    Directory: D:\Libraries\Downloads\DeepMosaics_V0.4.0_gpu\DeepMosaics_V0.4.0_gpu\core\torch\lib


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         7/24/2020   3:47 PM       19389952 caffe2_detectron_ops_gpu.dll

dairennl avatar Sep 28 '20 05:09 dairennl

I have also encountered this problem. How did you solve it?

Neroaway avatar Feb 24 '21 02:02 Neroaway

I also am having the same issue, with the most recent release.

tna0h avatar Mar 17 '21 11:03 tna0h

Same problem, here!

Geroto avatar Mar 19 '21 11:03 Geroto

Same here, cannot do anything.

jinmvp avatar Nov 15 '21 06:11 jinmvp

Same,wwwww

Alics-dt avatar Nov 24 '21 00:11 Alics-dt

For those still looking for the answer, you need CUDA 10.2 because it is build against the stable build of pytorch which uses 10.2 as the version for its latest build:

image

I'll add for clarity that it indeed does not matter if nvidia-smi reports a higher CUDA number since this is the driver. You can use a 511 driver with CUDA 11.3 as long as you also have installed specifically the CUDA runtime and libraries (and samples I think) of 10.2. Not 10.0, not 10.3, but 10.2 as of this moment of writing.

casperfrx avatar Feb 08 '22 22:02 casperfrx