cudnn failed to initialize
来源:3-1 神经网络进阶
慕田峪4430519
2022-01-28
老师,您这门课用的cuda和cudnn版本是?我的cuda10.0加cudnn7.4报错。
UnknownError: 2 root error(s) found.
(0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node conv1/Conv2D (defined at D:\Users\xiyunqiao\Anaconda3\envs\xyqtf1\lib\site-packages\tensorflow_core\python\framework\ops.py:1748) ]]
(1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node conv1/Conv2D (defined at D:\Users\xiyunqiao\Anaconda3\envs\xyqtf1\lib\site-packages\tensorflow_core\python\framework\ops.py:1748) ]]
[[Mean/_5]]
0 successful operations.
0 derived errors ignored.
这是我环境配置的原因还是显卡显存太低?训练的cell报错了,之前的jupyter部分均可用。
1回答
-
正十七
2022-02-14
这个错误好像是conda配环境的时候经常出现:https://github.com/tensorflow/tensorflow/issues/24828
同学你可以参考tensorflow的官方教程来配置GPU: https://www.tensorflow.org/install/gpu
00
相似问题