【发布时间】:2017-12-11 19:51:23
【问题描述】:
我一直在使用 tensorflow 和 tf.train.Supervisor -
sv = tf.train.Supervisor(logdir=path, save_model_secs=900)
with sv.managed_session() as sess:
if not sv.should_stop():
#Rest of the code
最近,它在训练期间崩溃了,从那以后它一直在上面的with sv.managed_session() 行抛出以下错误 -
DataLossError(回溯见上文):校验和不匹配:存储的 1057608875 与根据恢复的字节 763056116 计算的结果
[[节点:save/RestoreV2_31 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_31/tensor_names , 保存/RestoreV2_31/shape_and_slices)]]
有办法解决吗?
【问题讨论】:
标签: python tensorflow