-
Notifications
You must be signed in to change notification settings - Fork 122
Open

Description
Hi, I got the following error when try to load sk_resnet50.pth
>>> checkpoint1 = torch.load('sk_resnet50.pth.tar', map_location=torch.device('cpu'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jinchen/.local/lib/python3.6/site-packages/torch/serialization.py", line 426, in load
return _load(f, map_location, pickle_module, **pickle_load_args)
File "/home/jinchen/.local/lib/python3.6/site-packages/torch/serialization.py", line 620, in _load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: unexpected EOF, expected 3594295 more bytes. The file might be corrupted.
is t because map_location uses CPU? but others seem fine, only this model has the error
Thanks!
Metadata
Metadata
Assignees
Labels
No labels