set default value of --use-averaged-model to True

This commit is contained in:
yaozengwei 2022-05-27 18:17:26 +08:00
parent 525c1ea277
commit bc659d5dcf

View File

@ -128,7 +128,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`."