gpt4 book ai didi

python - 无法在 anaconda tenserenv 中运行 convolutional.py

转载 作者:太空宇宙 更新时间:2023-11-04 05:28:45 25 4
gpt4 key购买 nike

我已经在名为 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)

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

最佳答案

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

根据文档:

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

关于python - 无法在 anaconda tenserenv 中运行 convolutional.py,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37829898/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com