We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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'
The text was updated successfully, but these errors were encountered:
Thanks for your attention! We have fixed this in the README.
Sorry, something went wrong.
No branches or pull requests
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'
The text was updated successfully, but these errors were encountered: