|
|
@ -199,8 +199,8 @@ class Trainer():
|
|
|
|
if infos:
|
|
|
|
if infos:
|
|
|
|
# just restore ckpt
|
|
|
|
# just restore ckpt
|
|
|
|
# lr will resotre from optimizer ckpt
|
|
|
|
# lr will resotre from optimizer ckpt
|
|
|
|
self.iteration = infos["step"] + 1
|
|
|
|
self.iteration = infos["step"]
|
|
|
|
self.epoch = infos["epoch"] + 1
|
|
|
|
self.epoch = infos["epoch"]
|
|
|
|
scratch = False
|
|
|
|
scratch = False
|
|
|
|
logger.info(
|
|
|
|
logger.info(
|
|
|
|
f"Restore ckpt: epoch {self.epoch }, step {self.iteration}!")
|
|
|
|
f"Restore ckpt: epoch {self.epoch }, step {self.iteration}!")
|
|
|
|