minor changes
This commit is contained in:
parent
4634911dc2
commit
eb86873ee6
@ -97,7 +97,7 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--use-averaged-model",
|
"--use-averaged-model",
|
||||||
type=str2bool,
|
type=str2bool,
|
||||||
default=False,
|
default=True,
|
||||||
help="Whether to load averaged model. Currently it only supports "
|
help="Whether to load averaged model. Currently it only supports "
|
||||||
"using --epoch. If True, it would decode with the averaged model "
|
"using --epoch. If True, it would decode with the averaged model "
|
||||||
"over the epoch range from `epoch-avg` (excluded) to `epoch`."
|
"over the epoch range from `epoch-avg` (excluded) to `epoch`."
|
||||||
@ -133,7 +133,7 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--jit",
|
"--jit",
|
||||||
type=str2bool,
|
type=str2bool,
|
||||||
default=False,
|
default=True,
|
||||||
help="""True to save a model after applying torch.jit.script.
|
help="""True to save a model after applying torch.jit.script.
|
||||||
""",
|
""",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user