問題描述
-
Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
-
Ignore above cudart dlerror if you do not have a GPU set up on your machine.
問題分析
1、沒有安裝cuda。
2、cuda版本錯誤。
解決方案
1、下載 CUDA Toolkit 10.1
2、下載cudart64_101.dll
手動將“cudart64_101.dll”添加到“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin”中去。
DLL文件注冊參考:https://www.cnblogs.com/andrew-address/p/12717201.html
3、重新安裝tensorflow-gpu
4、安裝tensorflow-cpu
conda install tensorflow-cpu
5、重命名
C:\Program Files\NVIDIA GPU Computing Toolkit\bin下cudart64_100.dll重命名為cudart64_101.dll
參考文章
https://blog.csdn.net/qq_41999081/article/details/104515513
https://blog.csdn.net/weixin_45485719/article/details/106399167
https://www.cnblogs.com/bigzhan/p/11855303.html
https://www.cnblogs.com/andrew-address/p/12717201.html
https://blog.csdn.net/u010094719/article/details/104571946/
轉載於:https://blog.csdn.net/weixin_43272781/article/details/106417206
