From ff361a7495635ace341ac0928b08d1c3b0c1e6bc Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Sun, 27 Nov 2022 14:00:59 +0800 Subject: [PATCH] Change default prob on limit_param_value from 0.2 to 0.6. --- egs/librispeech/ASR/pruned_transducer_stateless7/scaling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless7/scaling.py b/egs/librispeech/ASR/pruned_transducer_stateless7/scaling.py index 23f0b281b..eb31755e1 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless7/scaling.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless7/scaling.py @@ -893,7 +893,7 @@ class LimitParamValue(torch.autograd.Function): def limit_param_value(x: Tensor, min: float, max: float, - prob: float = 0.2): + prob: float = 0.6): # You apply this to (typically) an nn.Parameter during training to ensure that its # (elements mostly) stays within a supplied range. This is done by modifying the # gradients in backprop.