无法在anaconda tenserenv中运行convolutional.py

时间:2016-06-15 08:23:10

标签: python tensorflow anaconda cudnn

我已经在一个名为tensorenv的anaconda环境中安装了tensorflow并测试了我尝试运行其中一个示例convolutional.py的安装,然后出现了以下内容。

Initialized!
E tensorflow/stream_executor/cuda/cuda_dnn.cc:346] Loaded cudnn library: 5005 but source was compiled against 4007.  If using a binary install, upgrade your cudnn library to match.  If building from sources, make sure the library loaded matches the version you specified during compile configuration.
F tensorflow/core/kernels/conv_ops.cc:457] Check failed: stream->parent()->GetConvolveAlgorithms(&algorithms) 
Aborted (core dumped)

初始化之后,它应该开始训练但是出现了这个错误。请帮忙

1 个答案:

答案 0 :(得分:1)

如果您想使用cuDNN v5,则必须从源代码构建。

根据文件:

  

仅在从源安装时支持其他版本(Cuda toolkit> = 7.0和cuDNN 6.5(v2),7.0(v3),v5)