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

如果中断后继续我上个检查点训练 #91

Open onoff888 opened 4 years ago

onoff888 commented 4 years ago

如果训练中断了怎么能继续我中断之前的状态继续训练,例如从一台服务器迁移到另一台服务器,只迁移了上一次计算的模型

GrittyChen commented 4 years ago

@onoff888 只需要将上一次训练时的输出文件夹(即存储模型的文件夹,需要包含里面的模型)拷贝到另一台服务器,然后在下一次训练时,将output这个参数设置成为这个文件夹的路径名即可。