natanielruiz / deep-head-pose

:fire::fire: Deep Learning Head Pose Estimation using PyTorch.
Other
1.58k stars 367 forks source link

error while loading model #104

Open shubham-mishra-verificient opened 3 years ago

shubham-mishra-verificient commented 3 years ago

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.