简体   繁体   English

获取卷积算法失败。这可能是因为cuDNN初始化失败。[{node conv2d_1/Conv2D}]

[英]Failed to get convolution algorithm.This is probably because cuDNN failed to initialize.[{node conv2d_1/Conv2D}]

Error tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm.错误tensorflow.python.framework.errors_impl.UnknownError:无法获取卷积算法。 This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.这可能是因为 cuDNN 初始化失败,因此请尝试查看上面是否打印了警告日志消息。 [[node conv2d_1/Conv2D (defined at C:\Users\Rajshree\Anaconda3\lib\site-packages\tensorflow_core\python\framework\ops.py:1751) ]] [Op:__inference_keras_scratch_graph_808] [[节点 conv2d_1/Conv2D(定义在 C:\Users\Rajshree\Anaconda3\lib\site-packages\tensorflow_core\python\framework\ops.py:1751)]] [Op:__inference_keras_scratch_graph_808]

I'm running 2 programs.我正在运行 2 个程序。 Both are using this and performing similar task of recognizing human expression.两者都在使用它并执行识别人类表达的类似任务。 The difference only lies in the model of CNN they are using.区别只在于他们使用的CNN的model。 One is working perfectly fine so what could be the possible problem with the other.一个工作得很好,所以另一个可能有什么问题。

This could be due to a multitude of things.这可能是由于很多事情。 Are you running the two programs at the same time?您是否同时运行这两个程序? Are you running this on a GPU?您是否在 GPU 上运行此程序? If so, it could be that one is already using the GPU, and the other finds that the GPU is already in use so it throws an error.如果是这样,则可能是其中一个已经在使用 GPU,而另一个发现 GPU 已经在使用中,因此会引发错误。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Colab 错误:无法获得卷积算法。这可能是因为 cuDNN 初始化失败 - Google Colab Error : Failed to get convolution algorithm.This is probably because cuDNN failed to initialize CNN error Failed to get convolution algorithm.这可能是因为cuDNN初始化失败, - CNN error Failed to get convolution algorithm.This is probably because cuDNN failed to initialize, 这可能是因为 cuDNN 初始化失败,所以尝试查看上面是否打印了警告日志消息。 [操作:Conv2D] - This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [Op:Conv2D] 获取卷积算法失败。 这可能是因为 cuDNN 初始化失败, - Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, cuDNN 错误 无法获得卷积算法。 这可能是因为 cuDNN 初始化失败 - cuDNN Error Failed to get convolution algorithm. This is probably because cuDNN failed to initialize 无法创建 cudnn 句柄:CUDNN_STATUS_ALLOC_FAILED,无法获得卷积算法。 这可能是因为 cuDNN 未能初始化 - Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED , Failed to get convolution algorithm. This is probably because cuDNN failed to initialize (0) 未知:获取卷积算法失败。 这可能是因为 cuDNN 未能初始化 - (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize Tensorflow 错误。 获取卷积算法失败。 这可能是因为 cuDNN 未能初始化 - Tensorflow error. Failed to get convolution algorithm. This is probably because cuDNN failed to initialize 获取卷积算法失败。 这可能是因为 cuDNN 初始化失败,所以尝试查看是否打印了警告日志消息 - 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 CUDA Tensorflow 版本,nvidia-smi 版本问题。 获取卷积算法失败。 这可能是因为 cuDNN 初始化失败, - CUDA Tensorflow Version ,nvidia-smi version issue. Failed to get convolution algorithm. This is probably because cuDNN failed to initialize,
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM