mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
Update utils.py
This commit is contained in:
parent
8d07ce2185
commit
28fa30a255
@ -486,8 +486,8 @@ class LossRecord(collections.defaultdict):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
tb_writer: a TensorBoard writer
|
tb_writer: a TensorBoard writer
|
||||||
prefix: a prefix for the name of the loss, e.g. "train/valid_",
|
prefix: a prefix for the name of the loss,
|
||||||
or "train/current_"
|
e.g. "train/valid_", or "train/current_".
|
||||||
batch_idx: The current batch index, used as the x-axis of the plot.
|
batch_idx: The current batch index, used as the x-axis of the plot.
|
||||||
"""
|
"""
|
||||||
for k, v in self.norm_items():
|
for k, v in self.norm_items():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user