From d21a75aa8760bb18e222193f08a6b58281b49d3a Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Mon, 26 Dec 2022 14:50:21 +0900 Subject: [PATCH] from local --- .../.train.py.swp | Bin 98304 -> 98304 bytes .../train.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) 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 f99342627cacfcde8c87c6de6a224bed4a62ee02..4400a42e6343eaff23d44b56aaaaf00070b03038 100644 GIT binary patch delta 102 zcmZo@U~6b#6H77(^Ym4))H7fJ0s#hw38pKP&p+HKW+lidvpG<3^E}=tZU%;DKn#+V vnJl;=pY6$oG#M12Ah{$tesYbq#AeAo&kq9tmERr{ delta 99 zcmZo@U~6b#6H77(^Ym4))H7fJ0s#hwrzR_tpFG$oW+lidy*W^D^E}=#ZU%;XKn#+V xo-DW_pB2P=vAK0aA~#z>QD$C=#$?4kV!S#EnZ@xXMTwbtnR)4(`S*N03;=KyA6EbX 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()