Tensorflow 0.7.1 With Cuda Toolkit 7.5 And Cudnn 7.0
Solution 1:
I get the same error when I forgot to set the LD_LIBRARY_PATH
and CUDA_HOME
environment variables:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64"
export CUDA_HOME=/usr/local/cuda
Solution 2:
I am following this instructions to install TensorFlow in archlinux: https://github.com/ddigiorg/AI-TensorFlow/blob/master/install/install-TF_2016-02-27.md
It seems you need cuDNN v2 or above, which you can get by register for their Accelerated Computing Developer Program, which usually takes 2 days: https://developer.nvidia.com/accelerated-computing-developer
UPDATE: It seems you already have cuDNNv2
Solution 3:
The link sent by jorgemf (thank you) describes a Python 3.5 installation and I almost switched to Python 3.5. My last attempt with my present installation was to again copy the cuDNN libraries to /usr/local/cuda/lib64.
And it worked! So the problem is solved, although I still don't know why I had it.
Solution 4:
Errorsolving for windows 10 users:
Download cuDNN v5.1 Library for Windows 10 from the cuda site, register if necessary.
Copy the cudnn64_5.dll (cuda\bin\cudnn64_5.dll) from that zip archive into
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\;
If C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0 is your install PATH for the CUDA toolkit.
Solution 5:
Ubuntu 14.04 && cudnnV5.0 && Cuda7.5
I got the some error and solve it in another way. Follow the official get-started page, I install the cudnn with these commands below, which is basically just copy those files into our cuda directory
tar xvzf cudnn-7.5-linux-x64-v5.1-ga.tgz
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
But after doing this ,if we use ll command to show all the file in "/usr/local/cuda/lib64" and compare with the origin files
ll
it seems that those soft links has broken after copy. so I delete them and create manually, like this:
sudo rm libcudnn.so.5 libcudnn.so
sudo ln -sf libcudnn.so.5 libcudnn.so
sudo ln -sf libcudnn.so.5.1.3 libcudnn.so.5
after that, execute
sudo ldconfig /usr/local/cuda/lib64
and it finally worked!
Post a Comment for "Tensorflow 0.7.1 With Cuda Toolkit 7.5 And Cudnn 7.0"