Ubuntu 系统下更新tensorflow-gpu

最初按照教程点击打开链接,成功安装cuda 8.0 + cudnn5.1 + tensorflow-gpu 0.11,但后来升级到tensorflow1.7、tensorflow1.6、 1.5、1.4、1.3、1.2都会报错类似这些:

1,ImportError: libcudnn.so.9: cannot open shared object file: No such file or

2,ImportError: libcudnn.so.8: cannot open shared object file: No such file or

3,ImportError: libcudnn.so.7: cannot open shared object file: No such file or

1,ImportError: libcudnn.so.6: cannot open shared object file: No such file or

解决办法:

将tensorflow降到1.0,即可

命令: sudo pip install tensorflow-gpu==1.0

你可能感兴趣的:(Ubuntu 系统下更新tensorflow-gpu)