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
81a73e32f5
commit
9d80f13024
Binary file not shown.
@ -495,7 +495,7 @@ class Data2VecAudioModel(BaseFairseqModel):
|
||||
nonzero = padding_mask[i].nonzero()
|
||||
try:
|
||||
print(nonzero[0])
|
||||
conv_feat_all = torch.cat([conv_feat_all, features[i, nonzero[0], :]])
|
||||
conv_feat_all = torch.cat([conv_feat_all, features[i, :nonzero[0], :]])
|
||||
except:
|
||||
conv_feat_all = torch.cat([conv_feat_all, features])
|
||||
print(conv_feat_all.size())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user