提交 20781ae8 编写于 作者: Y Yancey 提交者: GitHub

Merge pull request #2086 from Yancey1989/fix2085

Fix paddle.init bug
......@@ -52,7 +52,7 @@ def init(**kwargs):
args_dict.update(kwargs)
# NOTE: overwrite arguments from ENV if it is in kwargs
for key in args_dict.keys():
args.append('--%s=%s' % (key, str(kwargs[key])))
args.append('--%s=%s' % (key, str(args_dict[key])))
api.initPaddle(*args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册