-
Notifications
You must be signed in to change notification settings - Fork 366
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: