【tensorflow 使用错误】tensorflow2.2 过程中出现 Error : Failed to get convolution algorithm
如果在使用 tensorflow 过程中出现 Error : Failed to get convolution algorithm ,这是因为显卡内存被耗尽了。解决办法:在代码的开头加入如下两句,动态分配显存physical_device = tf.config.experimental.list_physical_devices("GPU")tf.config.experimental.set
·
如果在使用 tensorflow 过程中出现 Error : Failed to get convolution algorithm ,这是因为显卡内存被耗尽了。
解决办法:
在代码的开头加入如下两句,动态分配显存
physical_device = tf.config.experimental.list_physical_devices("GPU")
tf.config.experimental.set_memory_growth(physical_device[0], True)
原文链接:
https://blog.csdn.net/u013421629/article/details/104460307?ops_request_misc=&request_id=&biz_id=102&utm_term=%E5%9C%A8tensorflow2.2%E4%B8%AD%20Failed%20to%20get%20&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-1-104460307
昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链
更多推荐

所有评论(0)