From 512e905c2f379dbea052c539bdb28c6b92dd815e Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Wed, 25 Jan 2023 16:42:49 +0900 Subject: [PATCH] from local --- .../.train_adapter.py.swp | Bin 73728 -> 77824 bytes .../train_adapter.py | 3 ++- .../.decode.py.swp | Bin 45056 -> 45056 bytes 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/egs/LJSpeech/ASR/pruned_transducer_stateless_d2v_v2/.train_adapter.py.swp b/egs/LJSpeech/ASR/pruned_transducer_stateless_d2v_v2/.train_adapter.py.swp index a53ace8135204509232ea0e53ae97fdbacb5584d..ad4736042004cca954de5b41c50acc1b0825b71d 100644 GIT binary patch delta 200 zcmZoTz|!!5WdoA{qu^v_fwPR+lP?O03kfkm01K3MW8QpAfQ^5X0!sn!bf8!~6Oa&K zV94GqIAJxT*mNKlBxC@@>_E&0#5WixvrUSdJY$kFPkK>mYD%R-L2+qGDo8*IE|6N9 zlCMybT2Z1D%b)-R%A4m*O6gTgOkrT~;Adbc0b-CfFlSr@@)rZ~BCyj02})nzyJUM diff --git a/egs/LJSpeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py b/egs/LJSpeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py index bd5144f5d..a8dd7d941 100755 --- a/egs/LJSpeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py +++ b/egs/LJSpeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py @@ -832,7 +832,8 @@ def compute_loss( batch_idx_train = params.batch_idx_train warm_step = params.warm_step - texts = batch["supervisions"]["text"] + #texts = batch["supervisions"]["text"] + texts = batch["supervisions"]["greedy pseudo text"] token_ids = sp.encode(texts, out_type=int) y = k2.RaggedTensor(token_ids).to(device) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp index 2ec0af080062b4103899c16b9634b82d21501667..929c5aa080061fe61c427b01931b82858337f4f5 100644 GIT binary patch delta 33 ncmZp8z|`=7Ni4}A%+puFQqO<^2m}}yzTdf!EW2-`*sJvbuG|Y@ delta 33 ncmZp8z|`=7Ni4}A%+puFQqO<^2m}}y?%lbN{CV$2u~+K>vf&IJ