未验证 提交 405bb94b 编写于 作者: W Wojciech Uss 提交者: GitHub

Fix batch_num default value (#22682)

上级 74eb82de
...@@ -57,8 +57,9 @@ def parse_args(): ...@@ -57,8 +57,9 @@ def parse_args():
parser.add_argument( parser.add_argument(
'--batch_num', '--batch_num',
type=int, type=int,
default=1, default=0,
help='Number of batches to process. 0 or less means all.') help='Number of batches to process. 0 or less means whole dataset. Default: 0.'
)
parser.add_argument( parser.add_argument(
'--acc_diff_threshold', '--acc_diff_threshold',
type=float, type=float,
......
...@@ -57,8 +57,9 @@ def parse_args(): ...@@ -57,8 +57,9 @@ def parse_args():
parser.add_argument( parser.add_argument(
'--batch_num', '--batch_num',
type=int, type=int,
default=1, default=0,
help='Number of batches to process. 0 or less means all.') help='Number of batches to process. 0 or less means whole dataset. Default: 0.'
)
parser.add_argument( parser.add_argument(
'--acc_diff_threshold', '--acc_diff_threshold',
type=float, type=float,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册