Trying to load a model in the server


(stano) #1

/home/stano/torch/install/bin/luajit: cannot open tools/rest_translation_server.lua: No such file or directory
stack traceback:
[C]: in function ‘dofile’
…tano/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x5614309cd560

This is the error message i get when i try to run the code below:

th tools/rest_translation_server.lua -model …/available_models/exp/kiuk_swa_translation_epoch13_3.44.t7 -gpuid 1 -host … -port -case_feature -bpe_model …

what could be the issue.


(Guillaume Klein) #2

Where are you running this command line? You should be in the OpenNMT root directory.