Skip to content

Restoring from checkpoint failed #6

Description

@DRAhmadFaraz

Caused by op u'save_2/RestoreV2', defined at:
File "run_posenet.py", line 190, in
main()
File "run_posenet.py", line 125, in main
restorer = tf.train.Saver(variables_to_restore)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 832, in init
self.build()
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 844, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 881, in _build
build_save=build_save, build_restore=build_restore)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 513, in _build_internal
restore_sequentially, reshape)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 332, in _AddRestoreOps
restore_sequentially)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 580, in bulk_restore
return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/ops/gen_io_ops.py", line 1572, in restore_v2
name=name)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
op_def=op_def)
File "/home/ahmad/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()

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 MobilenetV1/Conv2d_0/biases not found in checkpoint
[[node save_2/RestoreV2 (defined at run_posenet.py:125) ]]
[[node save_2/RestoreV2 (defined at run_posenet.py:125) ]]

Screenshot from 2019-05-21 19-37-38

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions