ubantu16.04 tensorflow2.0 cuda10.1 环境下出现:Failed to get convolution algorithm.
经过排查发现是因为可能是显卡内存溢出导致的错误在代码中添加如下代码即可避免:
physical_devices = tf.config.experimental.list_physical_devices('GPU')
assert len(physical_devices) > 0, "Not enough GPU hardware devices available"
tf.config.experimental.set_memory_growth(physical_devices[0], True)
http://www.bubuko.com/infodetail-3235806.html
https://blog.youkuaiyun.com/qq_41868689/article/details/98503069
本文详细介绍了在Ubuntu16.04系统下使用TensorFlow2.0和CUDA10.1时遇到的显存溢出问题,并提供了有效的解决方案。通过调整GPU显存增长设置,可以避免Failed to get convolution algorithm错误,确保深度学习任务的顺利运行。
2万+

被折叠的 条评论
为什么被折叠?



