deep-head-pose icon indicating copy to clipboard operation
deep-head-pose copied to clipboard

error while loading model

Open shubham-mishra-verificient opened this issue 4 years ago • 0 comments

getting following error while loading snapshot

Traceback (most recent call last): File "code/test_on_image.py", line 46, in saved_state_dict = torch.load(snapshot_path) File "/usr/local/lib/python3.7/site-packages/torch/serialization.py", line 593, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.7/site-packages/torch/serialization.py", line 780, in _legacy_load deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly) RuntimeError: unexpected EOF, expected 1372549 more bytes. The file might be corrupted.

help me with this.