HypoX64 / DeepMosaics

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

dependence error on caffe2_detectron_ops_gpu.dll #117

Open funnymoon-ddsun opened 1 year ago

funnymoon-ddsun commented 1 year ago

On x64 win10 and 11, I got the follow error even if I only try the CPU version. I have installed VC_redist.x64.exe while win 11 is a clean system.

[WinError 126] The specified module could not be found. Error loading "C:\Users\vm\Downloads\DeepMosaics_0.5.1_gpu\core\torch\lib\caffe2_detectron_ops_gpu.dll" or one of its dependencies.

Crushedice commented 1 year ago

Greetings, i got this issue solved, by installing the correct CUDA toolkit, in addition i manually put cuDNN in place aswell.

The correct CUDA Version - Download

And a small help in installing the components NVIDIA

Just a small tipp , when you install CUDA, make sure you dont do the "recommended" installation. You should pick what to install as you probably dont want to install the outdated display driver and a few other things that comes with it.

ferograd commented 1 year ago

Greetings, i got this issue solved, by installing the correct CUDA toolkit, in addition i manually put cuDNN in place aswell.

The correct CUDA Version - Download

And a small help in installing the components NVIDIA

Just a small tipp , when you install CUDA, make sure you dont do the "recommended" installation. You should pick what to install as you probably dont want to install the outdated display driver and a few other things that comes with it.

If I've already installed a later version of CUDA, is there a way to revert? I've been trying everything. I've uninstalled everything to do with Cuda 12.2 and installed version 11 but still am getting the same error.

Also despite uninstalling when using "nvidia-smi" in CMD it still says version 12.2

EKI-INDRADI commented 1 year ago

need python 3.6 (better use anaconda & install cuda in anaconda)

https://github.com/EKI-INDRADI/DeepMosaics_tested_20231105 works 100%