From 0522425ea8a412d7ef828256c1dfe97b03ca3fa1 Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Mon, 12 Dec 2022 23:30:12 +0800 Subject: [PATCH] Change min and max positive --- egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py b/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py index a122a112f..958ddf2b0 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py @@ -1405,7 +1405,7 @@ class AttentionSqueeze(nn.Module): self.out_balancer = ActivationBalancer( channels, channel_dim=-1, - min_positive=0.4, max_positive=0.5, + min_positive=0.3, max_positive=0.7, min_abs=ScheduledFloat((0.0, 0.002), (8000.0, 0.02), (20000.0, 0.01)), ) @@ -1539,7 +1539,7 @@ class NonlinAttentionModule(nn.Module): self.balancer2 = ActivationBalancer( channels, channel_dim=-1, - min_positive=0.4, max_positive=0.5, + min_positive=0.3, max_positive=0.7, min_abs=ScheduledFloat((0.0, 0.001), (8000.0, 0.01), (20000.0, 0.005)), )