learning rate won't initial from 0.001 when continuing training from checkpoint
This commit is contained in:
parent
255eec296a
commit
29124c9458
@ -157,7 +157,9 @@ def main():
|
||||
infos = {}
|
||||
start_epoch = infos.get('epoch', -1) + 1
|
||||
cv_loss = infos.get('cv_loss', 0.0)
|
||||
|
||||
# get the last epoch lr
|
||||
lr_last_epoch = infos.get('lr', 0.001)
|
||||
configs['optim_conf']['lr'] = lr_last_epoch
|
||||
model_dir = args.model_dir
|
||||
writer = None
|
||||
if rank == 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user