From 623fe22ff17e05a36640a2aebdcc9cae4cfcc522 Mon Sep 17 00:00:00 2001 From: Tiance Wang Date: Wed, 18 Jan 2023 16:47:24 +0800 Subject: [PATCH] change bool to str2bool for arg parser --- egs/librispeech/ASR/tiny_transducer_ctc/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/tiny_transducer_ctc/train.py b/egs/librispeech/ASR/tiny_transducer_ctc/train.py index 085ce7ccf..34f7178e9 100644 --- a/egs/librispeech/ASR/tiny_transducer_ctc/train.py +++ b/egs/librispeech/ASR/tiny_transducer_ctc/train.py @@ -135,7 +135,7 @@ def add_model_arguments(parser: argparse.ArgumentParser): parser.add_argument( "--skip-add", - type=bool, + type=str2bool, default=False, help="""Use skip connection in the encoder. """,