You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running sh demo.sh ,there are some mistakes as follows:
Traceback (most recent call last):
File "test_lang_initial.py", line 41, in <module>
model.load_state_dict(torch.load('rnn_latest.pth'))
File "/usr/local/lib/python2.7/dist-packages/torch/serialization.py", line 267, in load
return _load(f, map_location, pickle_module)
File "/usr/local/lib/python2.7/dist-packages/torch/serialization.py", line 410, in _load
magic_number = pickle_module.load(f)
cPickle.UnpicklingError: bad pickle data
I think the rnn_latest.pth file is corrupt。
Can someone solve my problem?
The text was updated successfully, but these errors were encountered:
After running sh demo.sh ,there are some mistakes as follows:
I think the rnn_latest.pth file is corrupt。
Can someone solve my problem?
The text was updated successfully, but these errors were encountered: