Tensorflow——[Could not load dynamic library cudart64_101.dll]解決方案


問題描述

  1.  
    Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
  2.  
    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

下載地址:https://developer.nvidia.com/cuda-toolkit-archive

2、下載cudart64_101.dll

下載地址:https://cn.dll-files.com/cudart64_101.dll.html

手動將“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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM