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 8ea8ee60e..bc367915e 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp differ 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 9c1f28bdb..e67fd6a28 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 @@ -509,7 +509,7 @@ class Data2VecAudioModel(BaseFairseqModel): conv_feat_all = torch.cat([conv_feat_all, features[i]]) randint = np.random.randint(10000) - np.save(f'/home/work/workspace/icefall/egs/librispeech/ASR/conv_feat/{sid}/{randint}.npy', conv_feat_all.cpu().numpy()) + np.save(f'{spk_dir}/{randint}.npy', conv_feat_all.cpu().numpy()) prompt = prompt.expand((features.size()[0], prompt.size()[0], prompt.size()[1])) features = torch.cat([prompt, features], dim=1)