Rename num_features to num-features in args

This commit is contained in:
Rezakh20 2024-03-05 09:42:35 +03:30 committed by GitHub
parent 67435077c1
commit 41a4648eb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ export CUDA_VISIBLE_DEVICES="0,1,2,3"
--exp-dir conformer_ctc2/exp \ --exp-dir conformer_ctc2/exp \
--lang-dir data/lang_bpe_200 \ --lang-dir data/lang_bpe_200 \
--otc-token "<star>" \ --otc-token "<star>" \
--num_features 80 \ --num-features 80 \
--allow-bypass-arc true \ --allow-bypass-arc true \
--allow-self-loop-arc true \ --allow-self-loop-arc true \
--initial-bypass-weight -19 \ --initial-bypass-weight -19 \
@ -162,7 +162,7 @@ def get_parser():
) )
parser.add_argument( parser.add_argument(
"--num_features", "--num-features",
type=int, type=int,
default=768, default=768,
help="""Number of features extracted in feature extraction stage.last dimension of feature vector. help="""Number of features extracted in feature extraction stage.last dimension of feature vector.