mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
Update pretrained.py
This commit is contained in:
parent
a22b638820
commit
870d4d09ba
@ -57,19 +57,22 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--words-file",
|
"--words-file",
|
||||||
type=str,
|
type=str,
|
||||||
help="Path to words.txt",
|
help="Path to words.txt "
|
||||||
|
"Used only when method is not ctc-decoding",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--HLG",
|
"--HLG",
|
||||||
type=str,
|
type=str,
|
||||||
help="Path to HLG.pt.",
|
help="Path to HLG.pt. "
|
||||||
|
"Used only when method is not ctc-decoding",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--bpe-model",
|
"--bpe-model",
|
||||||
type=str,
|
type=str,
|
||||||
help="Path to bpe.model.",
|
help="Path to bpe.model. "
|
||||||
|
"Used only when method is ctc-decoding.",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user