mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 14:44:18 +00:00
update params in decode.py
This commit is contained in:
parent
9a5340b21f
commit
d9addb7c43
@ -102,7 +102,7 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--num-paths",
|
"--num-paths",
|
||||||
type=int,
|
type=int,
|
||||||
default=100,
|
default=1000,
|
||||||
help="""Number of paths for n-best based decoding method.
|
help="""Number of paths for n-best based decoding method.
|
||||||
Used only when "method" is one of the following values:
|
Used only when "method" is one of the following values:
|
||||||
nbest, nbest-rescoring, attention-decoder, and nbest-oracle
|
nbest, nbest-rescoring, attention-decoder, and nbest-oracle
|
||||||
@ -131,7 +131,7 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--lang-dir",
|
"--lang-dir",
|
||||||
type=str,
|
type=str,
|
||||||
default="data/lang_bpe_5000",
|
default="data/lang_bpe_500",
|
||||||
help="The lang dir",
|
help="The lang dir",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user