mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Use downsampling_factor ** -0.333 as the scale for stacks
This commit is contained in:
parent
0d7161ebec
commit
95e8296014
@ -209,7 +209,7 @@ class Zipformer(EncoderInterface):
|
|||||||
)
|
)
|
||||||
# we are adding a new attribute here.
|
# we are adding a new attribute here.
|
||||||
# this will be interpreted by get_named_parameter_groups_with_lrs().
|
# this will be interpreted by get_named_parameter_groups_with_lrs().
|
||||||
encoder.lr_scale = downsampling_factor[i] ** -0.5
|
encoder.lr_scale = downsampling_factor[i] ** -0.333
|
||||||
encoders.append(encoder)
|
encoders.append(encoder)
|
||||||
self.encoders = nn.ModuleList(encoders)
|
self.encoders = nn.ModuleList(encoders)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user