OpenNMT-py icon indicating copy to clipboard operation
OpenNMT-py copied to clipboard

Some empty lines in translation output

Open fenimi opened this issue 5 years ago • 3 comments

I'm using OpenNMT-py but i'm getting empty lines in the translation output file for both lstm and transformer models. Please what may be going on?

Thank you

fenimi avatar Nov 14 '20 16:11 fenimi

You probably have empty lines in your training data. Maybe you can try and find some pattern in the sources that producer empty predictions.

francoishernandez avatar Nov 14 '20 16:11 francoishernandez

You probably have empty lines in your training data. Maybe you can try and find some pattern in the sources that producer empty predictions.

ok, thank you. I will check and get back to you.

fenimi avatar Nov 14 '20 16:11 fenimi

I have checked my training data again, there are no empty lines. Although some lines have only 2 words. I'm not sure why there are empty lines

fenimi avatar Nov 14 '20 18:11 fenimi