Tensor name "v_template" not found in checkpoint files
Hi,
I'm trying to run a demo. I pass with the argument --load_paths one of the files in the folder. I get:
2021-12-14 14:47:41.141066: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2021-12-14 14:47:41.141092: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2021-12-14 14:47:41.141097: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2021-12-14 14:47:41.141101: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
/Users/amirhadzic/HumanMultiView/src_ortho/../models/neutral_smpl_with_cocoplus_reg.pkl
/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/site-packages/deepdish/io/hdf5io.py:428: UserWarning: This file was saved with a newer version of deepdish. Please upgrade to make sure it loads correctly.
warnings.warn('This file was saved with a newer version of '
Iteration 0
Reuse is on!
Reuse is on!
Reuse is on!
Iteration 1
Reuse is on!
Reuse is on!
Reuse is on!
Reuse is on!
Iteration 2
Reuse is on!
Reuse is on!
Reuse is on!
Reuse is on!
Restoring checkpoint /Users/amirhadzic/HumanMultiView/models/model.ckpt-55124.index..
Traceback (most recent call last):
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/amirhadzic/HumanMultiView/demo.py", line 255, in
File "src_ortho/RunModel.py", line 169, in prepare
self.saver.restore(self.sess, self.load_path)
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1560, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 895, in run
run_metadata_ptr)
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1124, in _run
feed_dict_tensor, options, run_metadata)
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1321, in _do_run
options, run_metadata)
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1340, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Tensor name "v_template" not found in checkpoint files /Users/amirhadzic/HumanMultiView/models/model.ckpt-55124.index
[[Node: save/RestoreV2_282 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_282/tensor_names, save/RestoreV2_282/shape_and_slices)]]
Caused by op u'save/RestoreV2_282', defined at:
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/Users/amirhadzic/opt/anaconda3/envs/human_multi/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/amirhadzic/HumanMultiView/demo.py", line 255, in
NotFoundError (see above for traceback): Tensor name "v_template" not found in checkpoint files /Users/amirhadzic/HumanMultiView/models/model.ckpt-55124.index [[Node: save/RestoreV2_282 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_282/tensor_names, save/RestoreV2_282/shape_and_slices)]]
Which model file should I use. Simehow none of them is working..