问题
在这里插入图片描述

Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform

全部报错
在这里插入图片描述

Could not load dynamic library libcudart.so.10.1

查看版本

pip list

在这里插入图片描述

pip uninstall tensorflow tensorflow-gpu
pip install tensorflow-gpu==1.13.1

就ok了,这里主要是tf版本不对,如果出现这个问题去官网查看对应版本

https://www.tensorflow.org/install/source#gpu

参考链接:

解决 Could not load dynamic library libcudart.so.10.1

tensorflow-gpu的一个问题

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐