最近在工作站跑一个旧版本tensorflow1.2的代码,报错:
E tensorflow/stream_executor/cuda/cuda_dnn.cc:378] Loaded runtime CuDNN library: 6021 (compatibility version 6000) but source was compiled with 5105 (compatibility version 5100). If using a binary install, upgrade your CuDNN library to match. If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration. F tensorflow/core/kernels/conv_ops.cc:532] Check failed: stream->parent()->GetConvolveAlgorithms(&algorithms) |
网上解决方法:
1、删除原有CUDNN6.0库,安装CUDNN5.1. 参考自
由于我是在工作站测试,没有管理员权限,所以只能用第二种办法
2、修改环境变量。
1)下载解压对应版本CUDNN库压缩包,得到