from local

This commit is contained in:
dohe0342 2023-04-26 12:27:42 +09:00
parent 913e5c7b90
commit 0fe954c831
2 changed files with 1 additions and 0 deletions

View File

@ -503,6 +503,7 @@ class Data2VecAudioModel(BaseFairseqModel):
randint = np.random.randint(10000)
np.save(conv_feat_all.cpu().numpy(), f'/home/work/workspace/icefall/egs/librispeech/ASR/conv_feat/{randint}.npy')
exit()
prompt = prompt.expand((features.size()[0], prompt.size()[0], prompt.size()[1]))
features = torch.cat([prompt, features], dim=1)