Closed Alive1024 closed 2 months ago
Hi, thanks for your great work! I found a minor bug when resuming training. In train.py’s init_models_optimizers function, epoch_st needs a global declaration to make resuming work properly.
train.py
init_models_optimizers
epoch_st
global
Thanks, you are right. I seldom use the resuming and neglected this bug. I'm merging this PR.
Hi, thanks for your great work! I found a minor bug when resuming training. In
train.py
’sinit_models_optimizers
function,epoch_st
needs aglobal
declaration to make resuming work properly.