Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restoring from checkpoint failed #6

Open
DRAhmadFaraz opened this issue May 21, 2019 · 2 comments
Open

Restoring from checkpoint failed #6

DRAhmadFaraz opened this issue May 21, 2019 · 2 comments

Comments

@DRAhmadFaraz
Copy link

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

@DRAhmadFaraz
Copy link
Author

@futurely

@AldrichCabrera
Copy link

@DRAhmadFaraz Could you solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants