ParlAI
ParlAI copied to clipboard
chosen_topic_to_passage.json file not found error when trying to run WoW interactive script (end2end)
Bug description Trying to interact with the pretrained WoW model using this command: CUDA_VISIBLE_DEVICES=2 python3 examples/interactive.py -m projects:wizard_of_wikipedia:interactive_end2end -t wizard_of_wikipedia
I am getting following errors.
Reproduction steps Run CUDA_VISIBLE_DEVICES=2 python3 examples/interactive.py -m projects:wizard_of_wikipedia:interactive_end2end -t wizard_of_wikipedia
Expected behavior Runs without errors
Logs
[ Loading existing model params from /data4/u7043565/ParlAI/ParlAI/data/models/wizard_of_wikipedia/end2end_generator/model ]
[ warning: overriding opt['remove_title'] to False (previously: True )]
/data4/u7043565/ParlAI/ParlAI/parlai/core/agents.py:595: UserWarning: WARNING: Neither the specified dict file (test_ret.dict) nor the model_file
.dict file (/data4/u7043565/ParlAI/ParlAI/data/models/wikipedia_full/tfidf_retriever/model.dict) exists, check to make sure either is correct. This may manifest as a shape mismatch later on.
'on.'.format(old_dict_file, new_opt['dict_file'])
2019-12-20 15:15:08,187: [ Loading /data4/u7043565/ParlAI/ParlAI/data/models/wikipedia_full/tfidf_retriever/model.tfidf ]
Traceback (most recent call last):
File "examples/interactive.py", line 19, in
Output goes here
Additional context Ran CUDA_VISIBLE_DEVICES=2 python3 examples/eval_model.py -bs 64 -t wizard_of_wikipedia:generator:random_split -mf models:wizard_of_wikipedia/end2end_generator/model before the interactive command so that if the model isnt getting downloaded, it does with this command. But still getting the error. The other script - Interactive retrieval works fine.
Thanks for filing.
@emilydinan this looks like a dead path to an old retrieval model. Do you know what it should be corrected to?
This issue has not had activity in 30 days. Marking as stale.
closing, please reopen if this is still an issue