Python 无法在anaconda tenserenv中运行卷积.py
我已经在一个名为tensorenv的anaconda环境中安装了tensorflow,为了测试安装,我尝试运行了一个示例convolutional.py,下面是一个例子Python 无法在anaconda tenserenv中运行卷积.py,python,tensorflow,anaconda,cudnn,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
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)
初始化后,应开始培训,但出现此错误。请提供帮助如果要使用cuDNN v5,则必须从源代码构建 根据文件: 仅当从源代码处安装时,才支持其他版本(Cuda toolkit>=7.0和cuDNN 6.5(v2)、7.0(v3)、v5)
它似乎想要cudnv4。如何指定我要使用cuDNN v5AFAIK,cuDNN v5当前不受支持。您必须使用cuDNN v4,而不是从源代码生成。。。这是否意味着我必须通过源代码安装tensorflow?这意味着你要克隆tensorflow github存储库,并直接编译它。查阅最简单的方法是将cudNN更改为v4。