From 18dd5678d97c770e3323052c64609ef99eaf1dd8 Mon Sep 17 00:00:00 2001 From: pkufool Date: Mon, 14 Mar 2022 11:44:18 +0800 Subject: [PATCH] Minor fixes --- .../ASR/pruned_transducer_stateless/decode.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless/decode.py index ae344dad3..b29f69db0 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless/decode.py @@ -50,9 +50,9 @@ Usage: --exp-dir ./pruned_transducer_stateless/exp \ --max-duration 1500 \ --decoding-method fast_beam_search \ - --beam 8 \ - --max-contexts 10 \ - --max-states 20 + --beam 4 \ + --max-contexts 4 \ + --max-states 8 """ @@ -142,7 +142,7 @@ def get_parser(): parser.add_argument( "--beam", type=float, - default=8, + default=4, help="""Used only when --decoding-method is fast_beam_search""", ) @@ -150,7 +150,7 @@ def get_parser(): parser.add_argument( "--max-contexts", type=int, - default=5, + default=4, help="""Used only when --decoding-method is fast_beam_search""", ) @@ -158,7 +158,7 @@ def get_parser(): parser.add_argument( "--max-states", type=int, - default=10, + default=8, help="""Used only when --decoding-method is fast_beam_search""", )