mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Fix bug
This commit is contained in:
parent
f1dbf4222e
commit
a02199df79
@ -332,7 +332,7 @@ class Zipformer2(EncoderInterface):
|
||||
.reshape(num_frames_max * upsample_factor, batch_size, 3))
|
||||
num_frames = (num_frames0 + ds - 1) // ds
|
||||
frame_mask = frame_mask[:num_frames]
|
||||
channels = self.encoder_unmasked_dim[i]
|
||||
channels = self.encoder_dim[i]
|
||||
feature_mask = torch.ones(num_frames, batch_size, channels,
|
||||
dtype=x.dtype, device=x.device)
|
||||
u1 = self.encoder_unmasked_dim[i]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user