mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Fix min_abs for AttentionSqueeze
This commit is contained in:
parent
a8282bb6d7
commit
0de1184c6d
@ -1344,7 +1344,7 @@ class AttentionSqueeze(nn.Module):
|
|||||||
self.out_balancer = ActivationBalancer(
|
self.out_balancer = ActivationBalancer(
|
||||||
embed_dim, channel_dim=-1,
|
embed_dim, channel_dim=-1,
|
||||||
min_positive=0.3, max_positive=0.7,
|
min_positive=0.3, max_positive=0.7,
|
||||||
min_abs=ScheduledFloat((0.0, 0.001), (4000.0, 0.005)),
|
min_abs=ScheduledFloat((0.0, 0.004), (4000.0, 0.02)),
|
||||||
prob=0.05, # out of concern for memory usage
|
prob=0.05, # out of concern for memory usage
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user