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 b66bcc0a9..742ca4b03 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 2eb62f41c..99a35df64 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py @@ -735,14 +735,17 @@ def compute_loss( subsampling_factor=params.subsampling_factor, token_ids=token_ids, ) - + + logging.info('1') # Works with a BPE model decoding_graph = k2.ctc_graph(token_ids, modified=False, device=device) + logging.info('2') dense_fsa_vec = k2.DenseFsaVec( ctc_output, supervision_segments, allow_truncate=params.subsampling_factor - 1, ) + logging.info('3') ctc_loss = k2.ctc_loss( decoding_graph=decoding_graph, @@ -751,6 +754,7 @@ def compute_loss( reduction="sum", use_double_scores=params.use_double_scores, ) + logging.info('4') assert ctc_loss.requires_grad == is_training loss += params.ctc_loss_scale * ctc_loss diff --git a/icefall/.utils.py.swp b/icefall/.utils.py.swp index d34e2c3e6..c521c2866 100644 Binary files a/icefall/.utils.py.swp and b/icefall/.utils.py.swp differ