Hi,
I use the following command to generate translations.
python -m nmt.nmt \
--out_dir=/tmp/nmt_model \
--inference_input_file=/tmp/my_infer_file.vi \
--inference_output_file=/tmp/nmt_model/output_infer
However, the output error message:
raise ValueError("hparams.vocab_prefix must be provided.")
ValueError: hparams.vocab_prefix must be provided.
I am newbie of nmt.I don't know how to use the trained model for translation.
Looking forward to your advice or answers.
Best regards,
Hi, I use the following command to generate translations. python -m nmt.nmt \ --out_dir=/tmp/nmt_model \ --inference_input_file=/tmp/my_infer_file.vi \ --inference_output_file=/tmp/nmt_model/output_infer However, the output error message: raise ValueError("hparams.vocab_prefix must be provided.") ValueError: hparams.vocab_prefix must be provided. I am newbie of nmt.I don't know how to use the trained model for translation. Looking forward to your advice or answers. Best regards,
yapingzhao