HypoX64 / DeepMosaics

Automatically remove the mosaics in images and videos, or add mosaics to them.
GNU General Public License v3.0
2.08k stars 434 forks source link

EXE cannot find caffe2_detectron_ops_gpu.dll #31

Open dairennl opened 4 years ago

dairennl commented 4 years ago

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
Neroaway commented 3 years ago

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

tna0h commented 3 years ago

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

Geroto commented 3 years ago

Same problem, here!

jinmvp commented 2 years ago

Same here, cannot do anything.

Alics-dt commented 2 years ago

Same,wwwww

casperfrx commented 2 years ago

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.