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

Update checkpoint_averaging.py #75

Closed Felixgithub2017 closed 3 years ago

Felixgithub2017 commented 5 years ago

checkpoint_averaging.py is not compatible with python 3. A minor change is made to be compatible with python 3.