Translate using pretrained model

I am using pretrained model for Multi-way - FR,ES,PT,IT,RO<>FR,ES,PT,IT,RO from https://s3.amazonaws.com/opennmt-models/onmt_esfritptro-4-1000-600_epoch13_3.12_release.t7

on a p2.xlarge machine AMI: OpenNMT-20170412 (ami-8463e892)
While translating I get the following error:

ubuntu@ip-172-31-93-205:~/OpenNMT$ th translate.lua -model ~/onmt_esfritptro-4-1000-600_epoch13_3.12_release.t7 -src data/src-test.txt -output pred.txt
[01/12/18 00:07:14 INFO] Loading ‘/home/ubuntu/onmt_esfritptro-4-1000-600_epoch13_3.12_release.t7’…
/home/ubuntu/torch/install/bin/luajit: /home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <torch.CudaTensor>
stack traceback:
[C]: in function ‘error’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:343: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:353: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:353: in function ‘readObject’

/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:369: in function ‘readObject’
/home/ubuntu/torch/install/share/lua/5.1/torch/File.lua:409: in function ‘load’
./onmt/translate/Translator.lua:200: in function ‘__init’
/home/ubuntu/torch/install/share/lua/5.1/torch/init.lua:91: in function 'new’
translate.lua:80: in function 'main’
translate.lua:345: in main chunk
[C]: in function ‘dofile’
…untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

Thanks for reporting.

I pushed a new version of the model here:

https://s3.amazonaws.com/opennmt-models/onmt_esfritptro-4-1000-600_epoch13_3.12_release_v2.t7

Seems like there is a problem with access. Could you add public access ?

Right, it is done.