问答详情
源自:3-8 使用前端界面调用flask发布的ckpt模型(1)

运行main.py出问题,代码上找不到和老师不一样的

NotFoundError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:


Key regression/W not found in checkpoint

[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]


提问者:诺言14 2018-09-29 19:28

个回答

  • 周逸
    2019-04-20 13:18:19

    解决了吗?我也出现这个问题了

  • 慕圣8454092
    2018-10-13 00:02:44

    我也出现了这个问题,求解啊