THUNLP-MT / THUMT

An open-source neural machine translation toolkit developed by Tsinghua Natural Language Processing Group
BSD 3-Clause "New" or "Revised" License
701 stars 197 forks source link

translator.py生成了空的文档,程序无报错 #101

Open Linxia-MUC opened 3 years ago

Linxia-MUC commented 3 years ago

在执行: python THUMT/thumt/bin/translator.py --models transformer --input newstest2015.tc.32k.de --output newstest2015.trans --vocabulary vocab.32k.de.txt vocab.32k.en.txt --checkpoints train/eval --parameters=device_list=[0], decode_alpha=0.6 解码的时候,生成了newstest2015.trans,但是是空的,这是为什么呢?