THUNLP-MT / THUMT

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

IndexError: tuple index out of range #67

Open zhangzhen999 opened 5 years ago

zhangzhen999 commented 5 years ago

while decoding,the error logs are displayed: ....... INFO:tensorflow:Finished batch 312 INFO:tensorflow:Finished batch 313 Traceback (most recent call last): File "translator.py", line 370, in main(parse_args()) File "translator.py", line 333, in main for item in shard[1]: IndexError: tuple index out of range

Glaceon31 commented 5 years ago

Would you provide the detailed setting? That will help us reproduce this error.