mirror of
https://github.com/wassname/TTS.git
synced 2026-10-26 12:20:32 +08:00
restore lr scheduler
This commit is contained in:
1 parent
3d3fb14a4b
commit
4427067c0b
1 file changed
+1
-1
@@ -429,7 +429,7 @@ def main(args):
|
||||
criterion.cuda()
|
||||
criterion_st.cuda()
|
||||
|
||||
scheduler = AnnealLR(optimizer, warmup_steps=c.warmup_steps)
|
||||
scheduler = AnnealLR(optimizer, warmup_steps=c.warmup_steps, last_epoch=args.restore_step)
|
||||
num_params = count_parameters(model)
|
||||
print(" | > Model has {} parameters".format(num_params), flush=True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user