watermark-removal icon indicating copy to clipboard operation
watermark-removal copied to clipboard

tensorflow.python.framework.errors_impl.OutOfRangeError: Read less bytes than requested

Open aero8991 opened this issue 2 years ago • 2 comments

Traceback (most recent call last): File "main.py", line 51, in args.checkpoint_dir, from_name) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/contrib/framework/python/framework/checkpoint_utils.py", line 81, in load_variable return reader.get_tensor(name) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/pywrap_tensorflow_internal.py", line 915, in get_tensor return CheckpointReader_GetTensor(self, compat.as_bytes(tensor_str)) tensorflow.python.framework.errors_impl.OutOfRangeError: Read less bytes than requested

aero8991 avatar Aug 04 '22 04:08 aero8991

could you please follow the guidelines in the README file -> you need to add the location path of model weights or variables to the checkpoint argument

zuruoke avatar Aug 05 '22 08:08 zuruoke

@aero8991 did you find some solution?

jpchupaprecios avatar Nov 05 '22 12:11 jpchupaprecios