Loaded runtime CuDNN library: 5005和 Check failed: stream->parent()->GetConvolveAlgorithms问题

来源:互联网 发布:淘宝店怎么上传图片 编辑:程序博客网 时间:2024/06/16 06:15

地址:http://blog.csdn.net/u011463646/article/details/77063860

系统环境

  • win10系统
  • Cuda8.0
  • cudnn5.0
  • Tensorflow1.0.1

问题

运行GPU版本的tensorflow时老是报错:
Loaded runtime CuDNN library: 5005 (compatibility version 5000) but source wascompiled with 5110 (compatibility version 5100). If using a binary install, upgrade your CuDNNlibrary to match. If building fromsources, make sure the library loaded at runtime matches a compatible versionspecified during compile configuration.
tensorflow/core/kernels/conv_ops.cc:605]Check failed: stream->parent()->GetConvolveAlgorithms(&algorithms)

后来发现是使用cudnn5.0的,要更新为5.1,但是从官网下载了,还是不行,cudnn官网。
选择对应系统和cuda版本

解决途径

参考这篇Check failed: 后,发现Anaconda3路径下,存在cudnn64_5.dll,把它们都清理干净后,重新下载,没有帐号的朋友,这里提供了下载链接cudnn-8.0-windows10-x64-v5.1.zip,cudnn-8.0-windows7-x64-v5.1.zip,添加入原先所对应的文件夹中,就可以了。

参考文献

[1]http://blog.csdn.net/u010099080/article/details/57405184
[2]http://blog.csdn.net/zhongshaoyy/article/details/60128341
[3]http://blog.csdn.net/gbbb1234/article/details/70194535
[4]https://github.com/tensorflow/models/issues/1064

阅读全文
0 0
原创粉丝点击