You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: