minor changes

This commit is contained in:
Quandwang 2022-07-21 17:50:39 +08:00
parent 4634911dc2
commit eb86873ee6

View File

@ -97,7 +97,7 @@ def get_parser():
parser.add_argument(
"--use-averaged-model",
type=str2bool,
default=False,
default=True,
help="Whether to load averaged model. Currently it only supports "
"using --epoch. If True, it would decode with the averaged model "
"over the epoch range from `epoch-avg` (excluded) to `epoch`."
@ -133,7 +133,7 @@ def get_parser():
parser.add_argument(
"--jit",
type=str2bool,
default=False,
default=True,
help="""True to save a model after applying torch.jit.script.
""",
)