提交 d8e4b314 编写于 作者: H Hui Zhang

fix asr unit test

上级 e369022f
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册