2

Specifications :

Ubuntu 16.04
tensorflow 1.1.0
NVIDIA 850m 4GB
CUDA 8
CUDNN 6

I have created a soft link ln -s libcudnn.so.6.* libcudnn.so.5 as suggested here. Else I was getting an error, ImportError: libcudnn.5: cannot open shared object file: No such file or directory.

This is a snapshot of usr/local/cuda/lib64 enter image description here What should I do to resolve the error?

talonmies
  • 70,661
  • 34
  • 192
  • 269
humble
  • 2,016
  • 4
  • 27
  • 36

2 Answers2

3

Try to install different cuDNN, if you use CUDA 8 you can try cuDNN 5.1 as described here: https://softwaremill.com/how-to-upgrade-aws-deep-learning-ami-to-tensorflow-1-1-0/ (look into cuDNN section only)

Kris
  • 5,714
  • 2
  • 27
  • 47
0

It's no effect to create a soft link ln -s libcudnn.so.6.* libcudnn.so.5.

Just download cuDNN v5.1 from cuDNN Download and install it.

After that, it will create libcudnn.so.5 and libcudnn.so.5.1.10 automatically.

enter image description here

Yang Gao
  • 91
  • 3