sparkydogX / sparkydogx_blog_comment

Comments for https://sparkydogx.github.io
1 stars 0 forks source link

使用tensorflow-gpu时libcudnn报错的解决方案 | SparkydogX Blog #26

Open sparkydogX opened 5 years ago

sparkydogX commented 5 years ago

https://sparkydogx.github.io/2017/10/05/fix-problem-tf-libcudnn/

实验室服务器上的tensorflow Docker镜像里只有python2的完整环境,而遇到程序需要在python3里跑,于是通过pip3安装了tensorflow和tensorflow-gpu。安装完成后在GPU上跑tensorflow时会报错ImportError: libcudnn.5: cannot open shared object file: No such file or dire