From aeed6c06c96af4b0b91c36556447176078941cbb Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 26 Jan 2023 14:47:42 +0900 Subject: [PATCH] from local --- .../.train_adapter.py.swp | Bin 94208 -> 94208 bytes .../train_adapter.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train_adapter.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train_adapter.py.swp index aca7cac82f663aa2ba3a240aeb8635964c8c93ae..d0abbbfe7d214c37aa36e63a61aad88fcc82b16e 100644 GIT binary patch delta 102 zcmZp8z}oPDRV>LM%+puFQqO<^2m}}y4hUaL=DpJ>wpEPrUA(R|KLbNB5QAjcK`MaY pBanXLM%+puFQqO<^2m}}y+=MSBFTdR=wpEPrUA(RYKLbMm5QAjcK`MaY xBanXsLVh4#l)oPJM$R@*rL@lQ`BRppUG!50RUkS8PEU# diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py index c2fb1db6c..f72b5de43 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py @@ -836,7 +836,7 @@ def compute_loss( #texts = batch["supervisions"]["text"] texts = [] for cut in supervisions['cut']: - utt_id = cut['id'] + utt_id = cut.id print(utt_id) print(pl_texts[utt_id]) texts.append(pl_texts[utt_id])