mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-09 00:54:18 +00:00
change bool to str2bool for arg parser
This commit is contained in:
parent
881d9e8587
commit
623fe22ff1
@ -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.
|
||||
""",
|
||||
|
Loading…
x
Reference in New Issue
Block a user