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
68be92565c
commit
2d4961e6ff
Binary file not shown.
@ -494,6 +494,7 @@ class Data2VecAudioModel(BaseFairseqModel):
|
||||
for i in range(padding_mask.size()[0]):
|
||||
nonzero = padding_mask[i].nonzero()
|
||||
try:
|
||||
print(nonzero[0])
|
||||
conv_feat_all = torch.cat([conv_feat_all, features[i][nonzero[0]]])
|
||||
except:
|
||||
conv_feat_all = torch.cat([conv_feat_all, features])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user