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的关系

你可能感兴趣的:(Deep,Learning)