mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
Fix typos.
This commit is contained in:
parent
1603744469
commit
135fa0e718
@ -405,7 +405,7 @@ def compute_loss(
|
||||
is_training: bool,
|
||||
) -> Tuple[Tensor, MetricsTracker]:
|
||||
"""
|
||||
Compute CTC loss given the model and its inputs.
|
||||
Compute transducer loss given the model and its inputs.
|
||||
|
||||
Args:
|
||||
params:
|
||||
@ -599,7 +599,6 @@ def train_one_epoch(
|
||||
)
|
||||
|
||||
if batch_idx % params.log_interval == 0:
|
||||
|
||||
if tb_writer is not None:
|
||||
loss_info.write_summary(
|
||||
tb_writer, "train/current_", params.batch_idx_train
|
||||
|
@ -359,7 +359,7 @@ def compute_loss(
|
||||
is_training: bool,
|
||||
) -> Tuple[Tensor, MetricsTracker]:
|
||||
"""
|
||||
Compute CTC loss given the model and its inputs.
|
||||
Compute transducer loss given the model and its inputs.
|
||||
|
||||
Args:
|
||||
params:
|
||||
|
@ -363,7 +363,7 @@ def compute_loss(
|
||||
is_training: bool,
|
||||
) -> Tuple[Tensor, MetricsTracker]:
|
||||
"""
|
||||
Compute CTC loss given the model and its inputs.
|
||||
Compute transducer loss given the model and its inputs.
|
||||
|
||||
Args:
|
||||
params:
|
||||
|
@ -380,7 +380,7 @@ def compute_loss(
|
||||
is_training: bool,
|
||||
) -> Tuple[Tensor, MetricsTracker]:
|
||||
"""
|
||||
Compute CTC loss given the model and its inputs.
|
||||
Compute transducer loss given the model and its inputs.
|
||||
|
||||
Args:
|
||||
params:
|
||||
|
@ -424,7 +424,7 @@ def compute_loss(
|
||||
is_training: bool,
|
||||
) -> Tuple[Tensor, MetricsTracker]:
|
||||
"""
|
||||
Compute CTC loss given the model and its inputs.
|
||||
Compute transducer loss given the model and its inputs.
|
||||
|
||||
Args:
|
||||
params:
|
||||
|
Loading…
x
Reference in New Issue
Block a user