提交 ad060884 编写于 作者: Y Yancey1989

Fix paddle.init bug

上级 4a6d2e3c
...@@ -52,7 +52,7 @@ def init(**kwargs): ...@@ -52,7 +52,7 @@ def init(**kwargs):
args_dict.update(kwargs) args_dict.update(kwargs)
# NOTE: overwrite arguments from ENV if it is in kwargs # NOTE: overwrite arguments from ENV if it is in kwargs
for key in args_dict.keys(): 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) api.initPaddle(*args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册