无法运行卷积.py在tenseren水蟒

2024-04-18 06:58:12 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经在一个名为tensorenv的Python环境中安装了tensorflow,为了测试安装,我尝试运行其中一个示例卷积.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)

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


Tags: thepycore示例streamif环境tensorflow
1条回答
网友
1楼 · 发布于 2024-04-18 06:58:12

如果要使用cudnv5,就必须从源代码构建。在

根据文件:

Other versions are supported (Cuda toolkit >= 7.0 and cuDNN 6.5(v2), 7.0(v3), v5) only when installing from sources

相关问题 更多 >