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

Unpickling error #3

Open
manishamukherjee opened this issue Aug 15, 2019 · 0 comments
Open

Unpickling error #3

manishamukherjee opened this issue Aug 15, 2019 · 0 comments

Comments

@manishamukherjee
Copy link

Get this error on running the testing part (tried it on two separate systems to get the same error):

Start...

  • vocabulary size. source = 50004; target = 31280
  • number of XENT training sentences. 1000
  • number of PG training sentences. 1000
  • maximum batch size. 64
    Building model...
    ('use_critic: ', False)
    Loading from checkpoint at /media/BACKUP/ghproj_d/code_summarization/github-python/result/model_rf_hybrid_1_29_reinforce.pt
    Traceback (most recent call last):
    File "a2c-train.py", line 349, in
    main()
    File "a2c-train.py", line 254, in main
    checkpoint = torch.load(opt.load_from, map_location=lambda storage, loc: storage)
    File "/usr/local/lib/python2.7/dist-packages/torch/serialization.py", line 231, in load
    return _load(f, map_location, pickle_module)
    File "/usr/local/lib/python2.7/dist-packages/torch/serialization.py", line 369, in _load
    magic_number = pickle_module.load(f)
    cPickle.UnpicklingError: could not find MARK

Any help would be appreciated.

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