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

demo sh demo.sh wrong #4

Open
chunfenghuayumm opened this issue Apr 22, 2018 · 0 comments
Open

demo sh demo.sh wrong #4

chunfenghuayumm opened this issue Apr 22, 2018 · 0 comments

Comments

@chunfenghuayumm
Copy link

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?

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