diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train.py.swp index 6aee0ec91..8ab7289df 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py index 1a3997193..69eacf55b 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py @@ -718,7 +718,8 @@ def compute_loss( ) loss = simple_loss_scale * simple_loss + pruned_loss_scale * pruned_loss - + + ''' # Compute ctc loss # NOTE: We need `encode_supervisions` to sort sequences with @@ -749,7 +750,7 @@ def compute_loss( ) assert ctc_loss.requires_grad == is_training loss += params.ctc_loss_scale * ctc_loss - + ''' assert loss.requires_grad == is_training info = MetricsTracker()