Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while loading model #104

Open
shubham-mishra-verificient opened this issue Dec 11, 2020 · 0 comments
Open

error while loading model #104

shubham-mishra-verificient opened this issue Dec 11, 2020 · 0 comments

Comments

@shubham-mishra-verificient

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant