Loaded runtime CuDNN library: 7.1.2 but source was compiled with: 7.4.2


2019-09-24 22:45:58.714205: E tensorflow/stream_executor/cuda/cuda_dnn.cc:324] Loaded runtime CuDNN library: 7.1.2 but source was compiled with: 7.4.2.  CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library.  If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.
2019-09-24 22:45:58.720311: E tensorflow/stream_executor/cuda/cuda_dnn.cc:324] Loaded runtime CuDNN library: 7.1.2 but source was compiled with: 7.4.2.  CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library.  If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.

最快的解決方法就是降低tensorflow-gpu的版本,例如

pip install tensorflow-gpu==1.12.0	

參考
https://blog.csdn.net/jy1023408440/article/details/82887479
https://www.cnblogs.com/csu-lmw/p/10281607.html

補充資料
cuda與cudnn的關係

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章