提交 48a4b443 编写于 作者: R Reed 提交者: Taylor Robie

Fix crash when --ml_perf flag is not specified. (#5610)

The error message was:

absl.flags._exceptions.IllegalFlagValueError: flag --ml_perf=None: ('Non-boolean argument to boolean flag', 'None')
上级 f175abc3
......@@ -403,7 +403,7 @@ def define_ncf_flags():
"achieved by MLPerf implementation."))
flags.DEFINE_bool(
name="ml_perf", default=None,
name="ml_perf", default=False,
help=flags_core.help_wrap(
"If set, changes the behavior of the model slightly to match the "
"MLPerf reference implementations here: \n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册