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 f99342627..4400a42e6 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 253f81e3c..c430ed5c1 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py @@ -870,7 +870,8 @@ def compute_loss( use_double_scores=params.use_double_scores, ) #assert ctc_loss.requires_grad == is_training - print(ctc_loss.requires_grad, is_training) + ctc_loss.backward() + exit() loss += params.ctc_loss_scale * ctc_loss info["ctc_loss"] = ctc_loss.detach().cpu().item()