From 90e1d2299efdcb4ae2a4d176d8d4c75f80f75de5 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Wed, 26 Apr 2023 11:54:45 +0900 Subject: [PATCH] from local --- .../.data2vec_audio.py.swp | Bin 40960 -> 40960 bytes .../data2vec_audio.py | 1 + 2 files changed, 1 insertion(+) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp index 53de0457d632494c2ceb168ee2ff109d4a7fad34..0c000fd66ab107101f0ccc246b10cc459ec4c72b 100644 GIT binary patch delta 91 zcmZoTz|?SnNj%9Q%+puFQqO<^2m}}yGA4PXcpq80QM^)s(Q@-dfnt5$UF-}DyEq`y hmXie?o-^*+{L|qeyRZThNUg{$(a>breAdG_8~|)t7{dSn delta 75 zcmZoTz|?SnNj%9Q%+puFQqO<^2m}}yZr!j*v9({YQM^)s(PHyNfnt5$i|h;xXE`9! b7Lx@Xo-5G@C@mLX diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py index 2c9e04e45..bdc9671f5 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py @@ -492,6 +492,7 @@ class Data2VecAudioModel(BaseFairseqModel): if prompt is not None: print(features.size()) print(padding_mask.size()) + exit() prompt = prompt.expand((features.size()[0], prompt.size()[0], prompt.size()[1])) features = torch.cat([prompt, features], dim=1) prompt_padding_mask = torch.zeros(prompt.size()[0], prompt.size()[1]).type(torch.BoolTensor).to(features.device)