未验证 提交 4c735f24 编写于 作者: T tangwei12 提交者: GitHub

fix bug in fleet, test=develop (#18058)

上级 42f12a4a
...@@ -144,16 +144,9 @@ class DistributedTranspiler(Fleet): ...@@ -144,16 +144,9 @@ class DistributedTranspiler(Fleet):
executor, main_program, None, None, executor, main_program, None, None,
export_for_deployment) export_for_deployment)
else: else:
io.save_inference_model( io.save_inference_model(dirname, feeded_var_names, target_vars,
dirname, executor, self._origin_program, None, None,
feeded_var_names, export_for_deployment, True)
target_vars,
executor,
self._origin_program,
None,
None,
export_for_deployment,
model_only=True)
model_basename = "__model__" model_basename = "__model__"
model_filename = os.path.join(dirname, model_basename) model_filename = os.path.join(dirname, model_basename)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册