lltcggie / waifu2x-caffe

waifu2xのCaffe版
MIT License
8.01k stars 843 forks source link

The CUDA Driver May Not Have Been Installed #191

Open JohnTravolski opened 4 years ago

JohnTravolski commented 4 years ago

I got CUDNN working with no issues on my laptop with a GTX 980M. I'm trying to get this to run on my desktop with two GTX 970s, but for some reason I'm getting this error when I check CUDNN: image I'm using W2X Caffe 1.2.0.2. My NVIDA driver version is 385.54. The NVIDIA Cuda Toolkit was installed from cuda_9.0.176_win10.exe. I then downloaded the cudnn-9.0-windows10-x64-v7.6.1.34.zip and merged its contents with C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0. The Cuda toolkit appears in my system environment variables.

image

This procedure worked on my laptop with the GTX 980M but it did not on my desktop with the two GTX 970s. Does anybody know why or what I should do to fix it? I am open to all suggestions. I don't know what's going wrong.

JohnTravolski commented 4 years ago

Interestingly, I managed to fix the issue by installing a later version of CUDNN. Specifically, I downloaded cuda_10.2.89_441.22_win10.exe and cudnn-10.2-windows10-x64-v7.6.5.32.zip and it worked after installing these.

I still don't understand why though. If the old driver worked just fine on my laptop, why didn't it on this machine? The graphics cards in both are 900 series, so about the same age. Does anybody understand this? I would love an explanation just to learn.