Skip to content
New issue

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

Got an error while run sh generate.sh #13

Open
tcxdgit opened this issue Jul 10, 2019 · 7 comments
Open

Got an error while run sh generate.sh #13

tcxdgit opened this issue Jul 10, 2019 · 7 comments

Comments

@tcxdgit
Copy link

tcxdgit commented Jul 10, 2019

generate.py: error: unrecognized arguments: --copy-ext-dict

May I know what‘s the reason?

@AlxBouras
Copy link

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

@zhawe01
Copy link
Member

zhawe01 commented Jul 18, 2019

--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.

@zhawe01
Copy link
Member

zhawe01 commented Jul 18, 2019

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.)

@tcxdgit
Copy link
Author

tcxdgit commented Jul 26, 2019

--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.

@tcxdgit
Copy link
Author

tcxdgit commented Jul 26, 2019

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 : )

@MrRobot2211
Copy link

Hi i am geting the same error regarding test.m2

@kkeleve
Copy link

kkeleve commented Mar 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants