提交 608d3b80 编写于 作者: C chulutao

del reset_dataset

上级 57c8ace4
......@@ -507,7 +507,7 @@ def check_test_dataset():
def main(args):
if args.cfg_file is not None:
cfg.update_from_file(args.cfg_file)
cfg.check_and_infer(reset_dataset=True)
cfg.check_and_infer()
logger.info(pprint.pformat(cfg))
init_global_variable()
......
......@@ -449,7 +449,7 @@ def main(args):
cfg.update_from_file(args.cfg_file)
if args.opts is not None:
cfg.update_from_list(args.opts)
cfg.check_and_infer(reset_dataset=True)
cfg.check_and_infer()
print(pprint.pformat(cfg))
train(cfg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册