未验证 提交 6557ffe6 编写于 作者: J Jiawei Wang 提交者: GitHub

fix api bug (#909)

上级 2f6b2ec2
......@@ -50,8 +50,12 @@ def save_serving_model(FLAGS, exe, feed_vars, test_fetches, infer_prog):
import paddle_serving_client.io as serving_io
serving_client = os.path.join(save_dir, 'serving_client')
serving_server = os.path.join(save_dir, 'serving_server')
serving_io.save_model(serving_client, serving_server, feed_dict, fetch_dict,
infer_prog)
serving_io.save_model(
client_config_folder=serving_client,
server_model_folder=serving_server,
feed_dict,
fetch_dict,
infer_prog)
def main():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册