Skip to content

Commit 0fb1df1

Browse files
committed
update milestone settings in the learning reate scheduler.
1 parent 44ae951 commit 0fb1df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

egs/aishell/s10/chain/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def main():
163163
lr=learning_rate,
164164
weight_decay=args.l2_regularize)
165165

166-
scheduler = MultiStepLR(optimizer, milestones=[2, 6, 8, 9], gamma=0.5)
166+
scheduler = MultiStepLR(optimizer, milestones=[1, 2, 3, 4, 5], gamma=0.5)
167167
criterion = KaldiChainObjfFunction.apply
168168

169169
tf_writer = SummaryWriter(log_dir='{}/tensorboard'.format(args.dir))

0 commit comments

Comments
 (0)