from local

This commit is contained in:
dohe0342 2023-04-26 12:28:33 +09:00
parent 0fe954c831
commit d0fa4f0224
2 changed files with 1 additions and 1 deletions

View File

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