KEQA_WSDM19
KEQA_WSDM19 copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory: 'preprocess/dete_best_model.pt'
显示缺少文件,请问这个问题应该如何解决
Hi,
I met this issue too. Could you help me, please?
You need to finish the training before performing testing.
Wait the training as follows to finish. python3.6 train_detection.py --entity_detection_mode LSTM --fix_embed --gpu 0 python3.6 train_entity.py --qa_mode GRU --fix_embed --gpu 0 python3.6 train_pred.py --qa_mode GRU --fix_embed --gpu 0
Then, we could conduct the test. python3.6 test_main.py --gpu 0
We have explained this. "We have to run train_detection.py, train_entity.py, train_pred.py first, before running test_main.py..."
Thank you. I reinstalled torch and resolved this issue. The reason is my torch version can't support CUDA 10.2, so I can't run the GPU mode training.