脚本宝典收集整理的这篇文章主要介绍了【TensorFlow】InternalError: Failed copying input tensor,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
TensorFlow-GPU执行模型训练时报错:
InternalError: Failed copying input tensor from /job:localhost/replica:0/task:0/device:CPU:0 to /job:localhost/replica:0/task:0/device:GPU:0 in order to run _EagerConst: Dst tensor is not initialized.
解决方法:
【TensorFlow: Dst tensor is not initialized - Stack Overflow】
https://stackoverflow.com/questions/37313818/tensorflow-dst-tensor-is-not-initialized
主要原因在于batch_size太大,内存无法负载,将batch_size适当调小即可正常运行。
以上是脚本宝典为你收集整理的【TensorFlow】InternalError: Failed copying input tensor全部内容,希望文章能够帮你解决【TensorFlow】InternalError: Failed copying input tensor所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。