解決問題
ImportError: Could not find 'cudart64_90.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 9.0 from this URL:
https://developer.nvidia.com/cuda-toolkit解決思路
導入錯誤:找不到“cudart64_90.dll”。TensorFlow要求将此dll安裝在%Path%環境變量中命名的目錄中。從以下網址下載下傳并安裝CUDA 9.0:https://developer.nvidia.com/cuda-toolkit
解決方法
缺少dll檔案,有兩種情況
T1、重新安裝Cuda及Cudnn
參考文章:TF學習——TF安裝(Cuda/Cudnn):Win10下安裝深度學習架構Tensorflow+Cuda+Cudnn最簡單最快捷最詳細攻略(圖文教程)
T2、安裝tensorflow
pip install tensorflow-gpu==1.4.0
