From d8e4b31405d59ff72fb45df7a4d7581a9c3b1e7c Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Wed, 3 Nov 2021 10:42:50 +0000 Subject: [PATCH] fix asr unit test --- tests/unit/asr/u2_model_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/asr/u2_model_test.py b/tests/unit/asr/u2_model_test.py index 5b11d2ad3..f46c6d403 100644 --- a/tests/unit/asr/u2_model_test.py +++ b/tests/unit/asr/u2_model_test.py @@ -74,6 +74,8 @@ class TestU2Model(unittest.TestCase): model_conf: ctc_weight: 0.3 lsm_weight: 0.1 # label smoothing option + ctc_dropoutrate: 0.0 + ctc_grad_norm_type: null length_normalized_loss: false """ cfg = CN().load_cfg(conf_str) @@ -126,6 +128,8 @@ class TestU2Model(unittest.TestCase): model_conf: ctc_weight: 0.3 lsm_weight: 0.1 # label smoothing option + ctc_dropoutrate: 0.0 + ctc_grad_norm_type: null length_normalized_loss: false """ cfg = CN().load_cfg(conf_str)