mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-27 02:34:21 +00:00
minor fixes
This commit is contained in:
parent
7f9cbf1ce2
commit
a92c6df76a
@ -76,7 +76,8 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--model-type",
|
"--model-type",
|
||||||
type=str,
|
type=str,
|
||||||
default="",
|
default="high",
|
||||||
|
choices=["low", "medium", "high"],
|
||||||
help="""If not empty, valid values are: low, medium, high.
|
help="""If not empty, valid values are: low, medium, high.
|
||||||
It controls the model size. low -> runs faster.
|
It controls the model size. low -> runs faster.
|
||||||
""",
|
""",
|
||||||
|
@ -75,7 +75,8 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--model-type",
|
"--model-type",
|
||||||
type=str,
|
type=str,
|
||||||
default="",
|
default="high",
|
||||||
|
choices=["low", "medium", "high"],
|
||||||
help="""If not empty, valid values are: low, medium, high.
|
help="""If not empty, valid values are: low, medium, high.
|
||||||
It controls the model size. low -> runs faster.
|
It controls the model size. low -> runs faster.
|
||||||
""",
|
""",
|
||||||
|
@ -156,7 +156,8 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--model-type",
|
"--model-type",
|
||||||
type=str,
|
type=str,
|
||||||
default="",
|
default="high",
|
||||||
|
choices=["low", "medium", "high"],
|
||||||
help="""If not empty, valid values are: low, medium, high.
|
help="""If not empty, valid values are: low, medium, high.
|
||||||
It controls the model size. low -> runs faster.
|
It controls the model size. low -> runs faster.
|
||||||
""",
|
""",
|
||||||
|
@ -66,7 +66,7 @@ HIGH_CONFIG = {
|
|||||||
"decoder_upsample_kernel_sizes": (16, 16, 4, 4),
|
"decoder_upsample_kernel_sizes": (16, 16, 4, 4),
|
||||||
"decoder_resblock_kernel_sizes": (3, 7, 11),
|
"decoder_resblock_kernel_sizes": (3, 7, 11),
|
||||||
"decoder_resblock_dilations": ((1, 3, 5), (1, 3, 5), (1, 3, 5)),
|
"decoder_resblock_dilations": ((1, 3, 5), (1, 3, 5), (1, 3, 5)),
|
||||||
"text_encoder_cnn_module_kernel": 3,
|
"text_encoder_cnn_module_kernel": 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user