From eb86873ee6ca7f623257d74e483293eecf244d56 Mon Sep 17 00:00:00 2001 From: Quandwang Date: Thu, 21 Jul 2022 17:50:39 +0800 Subject: [PATCH] minor changes --- egs/librispeech/ASR/conformer_ctc2/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/librispeech/ASR/conformer_ctc2/export.py b/egs/librispeech/ASR/conformer_ctc2/export.py index 99a5262ce..584b3c3fc 100755 --- a/egs/librispeech/ASR/conformer_ctc2/export.py +++ b/egs/librispeech/ASR/conformer_ctc2/export.py @@ -97,7 +97,7 @@ def get_parser(): parser.add_argument( "--use-averaged-model", type=str2bool, - default=False, + default=True, help="Whether to load averaged model. Currently it only supports " "using --epoch. If True, it would decode with the averaged model " "over the epoch range from `epoch-avg` (excluded) to `epoch`." @@ -133,7 +133,7 @@ def get_parser(): parser.add_argument( "--jit", type=str2bool, - default=False, + default=True, help="""True to save a model after applying torch.jit.script. """, )