mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Fix adding learning rate to tensorboard
This commit is contained in:
parent
d5f9d49e53
commit
5078332088
@ -695,7 +695,7 @@ def train_one_epoch(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if tb_writer is not None:
|
if tb_writer is not None:
|
||||||
tb_writer.add_scalar("train/learning_rate", cur_lr)
|
tb_writer.add_scalar("train/learning_rate", cur_params.batch_idx_train)
|
||||||
|
|
||||||
loss_info.write_summary(
|
loss_info.write_summary(
|
||||||
tb_writer, "train/current_", params.batch_idx_train
|
tb_writer, "train/current_", params.batch_idx_train
|
||||||
|
Loading…
x
Reference in New Issue
Block a user