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

来源:3-8 使用前端界面调用flask发布的ckpt模型(1)

诺言14

2018-09-29 19:28

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)]]


写回答 关注

2回答

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

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

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

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

TensorFlow与Flask结合打造手写体数字识别

TensorFlow和flask结合识别自己的手写体数字

20428 学习 · 102 问题

查看课程

相似问题