From eddde5b95876ec455c52ce9ea2ad9a02bf6f67b5 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 27 Apr 2023 17:05:16 +0900 Subject: [PATCH] from local --- .../.data2vec_audio.py.swp | Bin 36864 -> 36864 bytes .../.prompt_tuning.py.swp | Bin 81920 -> 81920 bytes .../data2vec_audio.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) 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 29c048ad10d25abcfbae8ab7cc2cb1d160f140aa..11bf9c0162e3dace11c9cb022208f4d74a3c7427 100644 GIT binary patch delta 128 zcmZozz|^pSX#-0Gs{{iB!G~ z5r{VcaSsrC05KyF?_vV#0pesJP6A?MApXtB!0-!*uL1EIAYM0lW1{rt^^IXHo0;1F GaRLAy2N~V~ delta 136 zcmZozz|^pSX#-0Gt26@x!}`sf4cd&cS6CSsnt`|sh$VseE(-%g0uXZn@grsihKE4B z1&B8TaX%1y12GE_?_~n&0pc_uP6c8!ApXb5!0;D{ZvydpAYM0lW1`Gt9wpw%H5Htj O4>UTlY-Vly%?SVjog9S# diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp index 70981e2356798eb3319a3d2b703c3b6c0957c72e..59e285c3471e829717b5c2ac03a7668174595093 100644 GIT binary patch delta 36 qcmZo@U~On%6-zP*^Ym4))H7fJ0s#hw)jD1&3O$WtTg4b(*#iKgvI!#q delta 36 qcmZo@U~On%6-zP*^Ym4))H7fJ0s#hww_08)@4Fhswu&*nvIhXID+(|G 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 e67fd6a28..80c03bdc7 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 @@ -508,7 +508,7 @@ class Data2VecAudioModel(BaseFairseqModel): length += features.size()[1] conv_feat_all = torch.cat([conv_feat_all, features[i]]) - randint = np.random.randint(10000) + randint = np.random.randint(10000000) np.save(f'{spk_dir}/{randint}.npy', conv_feat_all.cpu().numpy()) prompt = prompt.expand((features.size()[0], prompt.size()[0], prompt.size()[1]))