How to restore a model by filename in Tensorflow r12?

前端 未结 6 553
隐瞒了意图╮
隐瞒了意图╮ 2020-12-28 08:44

I have run the distributed mnist example: https://github.com/tensorflow/tensorflow/blob/r0.12/tensorflow/tools/dist_test/python/mnist_replica.py

Though I have set th

6条回答
  •  情书的邮戳
    2020-12-28 09:28

    I'm new to TF and met the same issue. After reading Yuan Ma's comments, I copied the '.index' to the same 'train\ckpt' folder together with '.data-00000-of-00001' file. Then it worked! So, the .index file is sufficient when restoring the models. I used TF on Win7, r12.

提交回复
热议问题