未验证 提交 eca66f31 编写于 作者: X xujiaqi01 提交者: GitHub

fix fleet util bug (#21254)

* fix fleet util bug in save paddle inference model
* test=develop
上级 1f39a9f1
......@@ -919,7 +919,7 @@ class FleetUtil(object):
dirname=model_name,
feeded_var_names=feeded_var_names,
target_vars=target_vars,
executor=exe,
executor=executor,
main_program=program,
params_filename="params")
else:
......@@ -927,7 +927,7 @@ class FleetUtil(object):
dirname=model_name,
feeded_var_names=feeded_var_names,
target_vars=target_vars,
executor=exe,
executor=executor,
main_program=program)
configs = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册