from local

This commit is contained in:
dohe0342 2023-04-26 11:54:45 +09:00
parent 9778159c92
commit 90e1d2299e
2 changed files with 1 additions and 0 deletions

View File

@ -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)