UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably becau

这里写自定义目录标题

  • Tensorflow 报错

Tensorflow 报错

UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably because cuDNN failed to initialize,

UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably becau_第1张图片

错误
Failed to get convolution algorithm. cudnn failed to initialize…

原因
cuda 是9.0 cndaa 是 7.0 的
tensorflow版本太高 当前版本为1.12.0

解决方案
sudo pip3 install --upgrade --force-reinstall tensorflow-gpu==1.9.0 --user

Tensorflow不同版本要求与CUDA及CUDNN版本对应关系
参考网址:https://tensorflow.google.cn/install/source_windows

UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably becau_第2张图片

你可能感兴趣的:(Tensorflow)