提交 53a549e3 编写于 作者: W wangjiawei04

fix convert

上级 646f1581
...@@ -202,6 +202,7 @@ def inference_model_to_serving(dirname, ...@@ -202,6 +202,7 @@ def inference_model_to_serving(dirname,
serving_client="serving_client", serving_client="serving_client",
model_filename=None, model_filename=None,
params_filename=None): params_filename=None):
paddle.enable_static()
place = fluid.CPUPlace() place = fluid.CPUPlace()
exe = fluid.Executor(place) exe = fluid.Executor(place)
inference_program, feed_target_names, fetch_targets = \ inference_program, feed_target_names, fetch_targets = \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册