未验证 提交 e6f89bd8 编写于 作者: S shaohua.zhang 提交者: GitHub

fix some args positon (#1228)

fix server and client var
上级 ca5308c9
......@@ -24,9 +24,9 @@ def parse_args():
args = parse_args()
inference_model_dir = args.model_dir
serving_client_dir = os.path.join(args.model_dir, args.server_dir)
serving_server_dir = os.path.join(args.model_dir, args.client_dir)
serving_server_dir = os.path.join(args.model_dir, args.server_dir)
serving_client_dir = os.path.join(args.model_dir, args.client_dir)
feed_var_names, fetch_var_names = inference_model_to_serving(
inference_model_dir, serving_client_dir, serving_server_dir, model_filename="model", params_filename="params")
inference_model_dir, serving_server_dir, serving_client_dir, model_filename="model", params_filename="params")
print("success!")
\ No newline at end of file
print("success!")
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册