fairseq-gec
fairseq-gec copied to clipboard
Got an error while run `sh generate.sh`
generate.py: error: unrecognized arguments: --copy-ext-dict
May I know what‘s the reason?
I'm experiencing the following error when I run the generate.sh script:
No such file or directory: './data/test.m2' Is this file missing or should I use another file in data_raw instead?
Also, in the outputema_last.nbest.txt file that is outputted by generate.sh, there are the following messages:
Label file not found: out/data_raw/test.label.src.txt Label file not found: out/data_raw/test.label.tgt.txt
Is this normal or are these files missing?
Thank you
--copy-ext-dict is a parameter that you can use and this should not happen. Maybe you can provide more details about how you use generate.py.
You can download CoNLL-2014 dataset for the test.m2 file. The generate.sh file don't rely on the test.label.src.txt and the test.label.tgt.txt. The name is incorrect and please check the script that you use. (Make sure that you download the pre-trained data.)
--copy-ext-dict is a parameter that you can use and this should not happen. Maybe you can provide more details about how you use generate.py.
Thank you, I have fix the bug, the reason is that I didn't put the fairseq directory under my project.
I'm experiencing the following error when I run the generate.sh script:
No such file or directory: './data/test.m2' Is this file missing or should I use another file in data_raw instead?
Also, in the outputema_last.nbest.txt file that is outputted by generate.sh, there are the following messages:
Label file not found: out/data_raw/test.label.src.txt Label file not found: out/data_raw/test.label.tgt.txt
Is this normal or are these files missing?
Thank you
I got the same error.
@zhawe01 What file should I put under ${DATA_RAW} ? And where should I put the test.m2 file ?
Thank for your reply : )
Hi i am geting the same error regarding test.m2
I'm experiencing the following error when I run the generate.sh script: No such file or directory: './data/test.m2' Is this file missing or should I use another file in data_raw instead? Also, in the outputema_last.nbest.txt file that is outputted by generate.sh, there are the following messages: Label file not found: out/data_raw/test.label.src.txt Label file not found: out/data_raw/test.label.tgt.txt Is this normal or are these files missing? Thank you
I got the same error.
@zhawe01 What file should I put under ${DATA_RAW} ? And where should I put the test.m2 file ?
Thank for your reply : )
hi, did you solve this problem later? looking forward to your reply