提交 7fbddaa6 编写于 作者: T tangwei12

bug fix

上级 cb7c1245
......@@ -365,6 +365,7 @@ class Trainer(object):
event_handler(BeginEpochEvent(epoch_id))
for step_id, data in enumerate(reader()):
if self.__stop:
if self.checkpoint_cfg:
self._clean_checkpoint()
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册