未验证 提交 485f7033 编写于 作者: W wuzewu 提交者: GitHub

fix inferface issue

上级 a89ca64d
...@@ -462,7 +462,7 @@ def main(args): ...@@ -462,7 +462,7 @@ def main(args):
cfg.TRAINER_ID = int(os.getenv("PADDLE_TRAINER_ID", 0)) cfg.TRAINER_ID = int(os.getenv("PADDLE_TRAINER_ID", 0))
cfg.NUM_TRAINERS = int(os.environ.get('PADDLE_TRAINERS_NUM', 1)) cfg.NUM_TRAINERS = int(os.environ.get('PADDLE_TRAINERS_NUM', 1))
cfg.check_and_infer(reset_dataset=True) cfg.check_and_infer()
print_info(pprint.pformat(cfg)) print_info(pprint.pformat(cfg))
train(cfg) train(cfg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册