DenisTome / Lifting-from-the-Deep-release

Implementation of "Lifting from the Deep: Convolutional 3D Pose Estimation from a Single Image"

Home Page:https://denistome.github.io/papers/lifting-from-the-deep

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run demo error on win10

Angel113110 opened this issue · comments

Dear author
Thanks for supplying so wonderful work. I run demo.py on my win10, I met an error, that is:

WARNING:tensorflow:From D:\Anaconda\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
2019-11-20 17:22:47.504774: W tensorflow/core/framework/op_kernel.cc:1502] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Out of range: Read fewer bytes than requested
Traceback (most recent call last):
File "D:\Anaconda\lib\site-packages\tensorflow\python\client\session.py", line 1356, in _do_call
return fn(*args)
File "D:\Anaconda\lib\site-packages\tensorflow\python\client\session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "D:\Anaconda\lib\site-packages\tensorflow\python\client\session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.OutOfRangeError: Read fewer bytes than requested
[[{{node save/RestoreV2}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:/pycharm/teacher_analyse/Lifting-from-the-Deep/applications/demo.py", line 67, in
sys.exit(main())
File "D:/pycharm/teacher_analyse/Lifting-from-the-Deep/applications/demo.py", line 36, in main
pose_estimator.initialise()
File "D:\pycharm\teacher_analyse\Lifting-from-the-Deep\packages\lifting_pose_estimator.py", line 92, in initialise
saver.restore(sess, self.session_path)
File "D:\Anaconda\lib\site-packages\tensorflow\python\training\saver.py", line 1286, in restore
{self.saver_def.filename_tensor_name: save_path})
File "D:\Anaconda\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "D:\Anaconda\lib\site-packages\tensorflow\python\client\session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "D:\Anaconda\lib\site-packages\tensorflow\python\client\session.py", line 1350, in _do_run
run_metadata)
File "D:\Anaconda\lib\site-packages\tensorflow\python\client\session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.OutOfRangeError: Read fewer bytes than requested
[[node save/RestoreV2 (defined at \pycharm\teacher_analyse\Lifting-from-the-Deep\packages\lifting_pose_estimator.py:91) ]]

Original stack trace for 'save/RestoreV2':
File "/pycharm/teacher_analyse/Lifting-from-the-Deep/applications/demo.py", line 67, in
sys.exit(main())
File "/pycharm/teacher_analyse/Lifting-from-the-Deep/applications/demo.py", line 36, in main
pose_estimator.initialise()
File "\pycharm\teacher_analyse\Lifting-from-the-Deep\packages\lifting_pose_estimator.py", line 91, in initialise
saver = tf.compat.v1.train.Saver()
File "\Anaconda\lib\site-packages\tensorflow\python\training\saver.py", line 825, in init
self.build()
File "\Anaconda\lib\site-packages\tensorflow\python\training\saver.py", line 837, in build
self._build(self._filename, build_save=True, build_restore=True)
File "\Anaconda\lib\site-packages\tensorflow\python\training\saver.py", line 875, in _build
build_restore=build_restore)
File "\Anaconda\lib\site-packages\tensorflow\python\training\saver.py", line 508, in _build_internal
restore_sequentially, reshape)
File "\Anaconda\lib\site-packages\tensorflow\python\training\saver.py", line 328, in _AddRestoreOps
restore_sequentially)
File "\Anaconda\lib\site-packages\tensorflow\python\training\saver.py", line 575, in bulk_restore
return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
File "\Anaconda\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 1779, in restore_v2
name=name)
File "\Anaconda\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "\Anaconda\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "\Anaconda\lib\site-packages\tensorflow\python\framework\ops.py", line 3616, in create_op
op_def=op_def)
File "\Anaconda\lib\site-packages\tensorflow\python\framework\ops.py", line 2005, in init
self._traceback = tf_stack.extract_stack()

How to solve it? Can you help me? Thanks!