码迷,mamicode.com
首页 > 其他好文 > 详细

DataLossError (see above for traceback): file is too short to be an sstable [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_F

时间:2019-01-02 12:28:18      阅读:1364      评论:0      收藏:0      [点我收藏+]

标签:res   table   就是   pes   local   replica   bsp   name   ror   

DataLossError (see above for traceback): file is too short to be an sstable
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

 一般是tensorflow 训练生成的model.ckpt文件有问题,我的这次就是文件里面没数据,于是我修改checkpoint里面的东西,删除掉没数据的model.ckpt,修改主model.ckpt,然后再训练或者推导就可以了

DataLossError (see above for traceback): file is too short to be an sstable [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_F

标签:res   table   就是   pes   local   replica   bsp   name   ror   

原文地址:https://www.cnblogs.com/tangmiao/p/10207251.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!