HoneyTian commited on
Commit
0e1473e
·
1 Parent(s): 83f4e0f
examples/frcrn/step_2_train_model.py CHANGED
@@ -183,7 +183,7 @@ def main():
183
  step_idx = int(step_idx)
184
  if step_idx > last_step_idx:
185
  last_step_idx = step_idx
186
- last_epoch = 1
187
 
188
  if last_step_idx != -1:
189
  logger.info(f"resume from steps-{last_step_idx}.")
 
183
  step_idx = int(step_idx)
184
  if step_idx > last_step_idx:
185
  last_step_idx = step_idx
186
+ last_epoch = 0
187
 
188
  if last_step_idx != -1:
189
  logger.info(f"resume from steps-{last_step_idx}.")