Skip to content

Commit

Permalink
fix some args positon (#1228)
Browse files Browse the repository at this point in the history
fix server and client var
  • Loading branch information
BeyondYourself authored Nov 26, 2020
1 parent ca5308c commit e6f89bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/pdserving/inference_to_serving.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
print("success!")

0 comments on commit e6f89bd

Please sign in to comment.