tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.39k stars 1.96k forks source link

How to use "--inference_list" #188

Open lemo2012 opened 6 years ago

lemo2012 commented 6 years ago

Does anyone know?

oahziur commented 6 years ago

In case you don't want to do inference on the entire inference_file, you can optional provide a list of index of your inference file. For example, 0,4,5 will run inference on index 0, 4 and 5 sentences only.