Tensorflow error : loaded runtime CuDNN library: 6021 (compatibility version 6000) but source was compiled with 5110 (compatibility version 5100)

Tensorflow error : loaded runtime CuDNN library: 6021 (compatibility version 6000) but source was compiled with 5110 (compatibility version 5100)

规格:

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

我已经按照建议 here 创建了软 link ln -s libcudnn.so.6.* libcudnn.so.5。否则我会出错,ImportError: libcudnn.5: cannot open shared object file: No such file or directory

这是usr/local/cuda/lib64的快照 我应该怎么做才能解决错误?

尝试安装不同的 cuDNN,如果您使用 CUDA 8,则可以按照此处所述尝试 cuDNN 5.1:https://softwaremill.com/how-to-upgrade-aws-deep-learning-ami-to-tensorflow-1-1-0/(仅查看 cuDNN 部分)

创建软文没有效果linkln -s libcudnn.so.6.* libcudnn.so.5.

只需从 cuDNN Download 下载 cuDNN v5.1 并安装即可。

之后,它会自动创建libcudnn.so.5libcudnn.so.5.1.10