1
DeepSeek
提问帖
有回复
新人贴
训练模型,报错:Failed copying input tensor from,Dst tensor is not initialized
2026-07-15 17:42:58
47
配置: 1、tensorflow是2.18.0+das.opt1.dtk2604; 2、在docker中执行python训练程序; 3、256G内存,free的内存是197G; 4、海光卡2张,每张32G; 训练模型时,报错如下: tensorflow.python.framework.errors\_impl.InternalError: Failed copying input tensor from in order to run \_EagerConst: Dst tensor is not initialized. 训练过程中,内存剩余值,最小达到700多M。并且达到这个值,报上面的错误。 请问是什么原因?
全部评论(2)
只看楼主
M
mjglmvuid0dt
1楼
可以打印下每个Epoch 结束时的系统内存占用,看下是否有内存泄漏
7/16
田
田卓
回复 @mjglmvuid0dt
谢谢,我试试。
7/17
没有更多内容了
--
楼主
Level.1
0 帖子
楼主热帖
暂无数据