Error while translating

@guillaumekln
I get this error while translating:

IOError: [Errno 2] No such file or directory: ‘kst-model_acc_kst-model_step_35000.pt’

The command i used for translating is:
python translate.py -model kst-model_acc_kst-model_step_35000.pt -src data/test.txt -replace_unk -verbose
Below is my opennmt directory where i have the models after training.

Hi @ngdave
try to run

python3 setup.py build
python3 setup.py install 

and then your translation command

I believe your checkpoints are named kst-model_step_<num_step>.pt, not what you’re passing to the -model arg.

thanks, problem solved.