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

Training Error #2

Closed
dywsjtu opened this issue Aug 21, 2019 · 1 comment
Closed

Training Error #2

dywsjtu opened this issue Aug 21, 2019 · 1 comment

Comments

@dywsjtu
Copy link

dywsjtu commented Aug 21, 2019

When I was running the train.py, the following error occurs.

(base) PS D:\ReDR> python train.py -data data/coqa-cqg -save_model out_model/
[2019-08-20 23:20:28,297 INFO] * src vocab size = 49766
[2019-08-20 23:20:28,298 INFO] * history vocab size = 49766
[2019-08-20 23:20:28,298 INFO] * tgt vocab size = 49766
[2019-08-20 23:20:28,299 INFO] Building model...
Traceback (most recent call last):
File "train.py", line 109, in
main(opt)
File "train.py", line 41, in main
single_main(opt, -1)
File "D:\ReDR\onmt\train_single.py", line 86, in main
model = build_model(model_opt, opt, fields, checkpoint)
File "D:\ReDR\onmt\model_builder.py", line 235, in build_model
vocab = torch.load(opt.drqa_vocab_path)
File "D:\anaconda\lib\site-packages\torch\serialization.py", line 366, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'drqa_param\vocab.pt'

@ByronPan
Copy link
Member

Thanks for your attention! We have fixed this in the README.

@ByronPan ByronPan closed this as completed Nov 2, 2019
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

2 participants