mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
dc18cd3712
commit
b402fcf667
Binary file not shown.
@ -492,8 +492,10 @@ class Data2VecAudioModel(BaseFairseqModel):
|
||||
if prompt is not None:
|
||||
print(features.size())
|
||||
print(padding_mask.size())
|
||||
print(padding_mask[0])
|
||||
print(padding_mask.nonzero())
|
||||
print(padding_mask.nonzero().size())
|
||||
|
||||
exit()
|
||||
prompt = prompt.expand((features.size()[0], prompt.size()[0], prompt.size()[1]))
|
||||
features = torch.cat([prompt, features], dim=1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user