PreSumm
PreSumm copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory: ''
I have added the trained model "bertext_cnndm_transformer.pt" in models folder and two text files in data - one is source in their is one para and another dest which is empty and then I am running this code. "python ./src/train.py -task abs -mode test_text -model_path ./models/bertext_c nndm_transformer.pt -text_src ./data/src -text_tgt ./data/tgt"
I am getting this error
[2020-04-12 09:31:07,554 INFO] Loading checkpoint from
Traceback (most recent call last):
File "./src/train.py", line 140, in
"use -test_from $PT_FILE$ to use your model checkpoint file."
Please specify the path to bertext_cnndm_transformer.pt as -test_from.