mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
8fe06b88e7
commit
acc993cfce
Binary file not shown.
@ -556,7 +556,7 @@ def train_one_epoch(
|
||||
f"batch {batch_idx}, loss[{loss_info}], "
|
||||
f"tot_loss[{tot_loss}], batch size: {batch_size}"
|
||||
)
|
||||
wb.log({"train/loss": tot_loss})
|
||||
wb.log({"train/loss": loss.item()})
|
||||
|
||||
if tb_writer is not None:
|
||||
loss_info.write_summary(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user