From 494d6f8b6bdc3fb003fc1f9b2ec16d446d4bfb36 Mon Sep 17 00:00:00 2001 From: Jackwaterveg <87408988+Jackwaterveg@users.noreply.github.com> Date: Mon, 10 Jan 2022 10:42:43 +0800 Subject: [PATCH] [ASR][Config]fix config (#1290) * fix config, test=asr * fix config, test=doc_fix --- examples/aishell/asr0/conf/deepspeech2.yaml | 4 ++-- examples/aishell/asr0/conf/deepspeech2_online.yaml | 4 ++-- examples/tiny/asr0/conf/deepspeech2.yaml | 4 ++-- examples/tiny/asr0/conf/deepspeech2_online.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/aishell/asr0/conf/deepspeech2.yaml b/examples/aishell/asr0/conf/deepspeech2.yaml index 1dc8581e..338810fa 100644 --- a/examples/aishell/asr0/conf/deepspeech2.yaml +++ b/examples/aishell/asr0/conf/deepspeech2.yaml @@ -23,7 +23,7 @@ augmentation_config: conf/augmentation.json random_seed: 0 spm_model_prefix: spectrum_type: linear -feat_dim: +feat_dim: 161 delta_delta: False stride_ms: 10.0 window_ms: 20.0 @@ -56,7 +56,7 @@ n_epoch: 80 accum_grad: 1 lr: 2e-3 lr_decay: 0.83 -weight_decay: 1e-06 +weight_decay: 1.0e-6 global_grad_clip: 3.0 log_interval: 100 checkpoint: diff --git a/examples/aishell/asr0/conf/deepspeech2_online.yaml b/examples/aishell/asr0/conf/deepspeech2_online.yaml index c49973a2..b5f164eb 100644 --- a/examples/aishell/asr0/conf/deepspeech2_online.yaml +++ b/examples/aishell/asr0/conf/deepspeech2_online.yaml @@ -23,7 +23,7 @@ augmentation_config: conf/augmentation.json random_seed: 0 spm_model_prefix: spectrum_type: linear #linear, mfcc, fbank -feat_dim: +feat_dim: 161 delta_delta: False stride_ms: 10.0 window_ms: 20.0 @@ -58,7 +58,7 @@ n_epoch: 65 accum_grad: 1 lr: 5e-4 lr_decay: 0.93 -weight_decay: 1e-06 +weight_decay: 1.0e-6 global_grad_clip: 3.0 log_interval: 100 checkpoint: diff --git a/examples/tiny/asr0/conf/deepspeech2.yaml b/examples/tiny/asr0/conf/deepspeech2.yaml index a16a79d3..a8d77388 100644 --- a/examples/tiny/asr0/conf/deepspeech2.yaml +++ b/examples/tiny/asr0/conf/deepspeech2.yaml @@ -23,7 +23,7 @@ augmentation_config: conf/augmentation.json random_seed: 0 spm_model_prefix: spectrum_type: linear -feat_dim: +feat_dim: 161 delta_delta: False stride_ms: 10.0 window_ms: 20.0 @@ -57,7 +57,7 @@ n_epoch: 5 accum_grad: 1 lr: 1e-5 lr_decay: 0.8 -weight_decay: 1e-06 +weight_decay: 1.0e-6 global_grad_clip: 5.0 log_interval: 1 checkpoint: diff --git a/examples/tiny/asr0/conf/deepspeech2_online.yaml b/examples/tiny/asr0/conf/deepspeech2_online.yaml index 5458cfb3..a5b6e3f7 100644 --- a/examples/tiny/asr0/conf/deepspeech2_online.yaml +++ b/examples/tiny/asr0/conf/deepspeech2_online.yaml @@ -23,7 +23,7 @@ augmentation_config: conf/augmentation.json random_seed: 0 spm_model_prefix: spectrum_type: linear -feat_dim: +feat_dim: 161 delta_delta: False stride_ms: 10.0 window_ms: 20.0 @@ -59,7 +59,7 @@ n_epoch: 5 accum_grad: 1 lr: 1e-5 lr_decay: 1.0 -weight_decay: 1e-06 +weight_decay: 1.0e-6 global_grad_clip: 5.0 log_interval: 1 checkpoint: