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

Error [Errno 2] No such file or directory: 'esfr2en_single/params.npz' #1

Open
bharathichezhiyan opened this issue Sep 28, 2017 · 0 comments

Comments

@bharathichezhiyan
Copy link

I preprocessed the data and then I ran the model. It was running for day ,first epoch then it stopped next day.
Then I tried to decode but I getting Error
ERROR:mcg.models: Error [Errno 2] No such file or directory: 'esfr2en_single/params.npz'
INFO:translate:Output file: [translation.esfr2en.out.early]
INFO:translate:Translating from [fr]-[dl4mt-multi-src/data/dev/newstest2012.fr.tok.bpe20k]...
INFO:translate:Translating from [es]-[dl4mt-multi-src/data/dev/newstest2012.es.tok.bpe20k]...
INFO:translate:Using [8] processes...
Traceback (most recent call last):
File "dl4mt-multi-src/translate.py", line 390, in
beam_size=args.beam_size)
File "dl4mt-multi-src/translate.py", line 297, in main
src_vocabs_list, src_vocabs_sizes_list)
File "dl4mt-multi-src/translate.py", line 241, in _send_jobs
return idx+1
UnboundLocalError: local variable 'idx' referenced before assignment

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

1 participant