From fe23f0dcf3db7e91eb068101eca8b2f99b01971c Mon Sep 17 00:00:00 2001 From: Jiawei Wang Date: Wed, 10 Jun 2020 13:13:23 +0800 Subject: [PATCH] Fix nonkeyword after keyword bug (#912) (#915) --- tools/export_serving_model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/export_serving_model.py b/tools/export_serving_model.py index 07c9e7d77..1406d81d0 100644 --- a/tools/export_serving_model.py +++ b/tools/export_serving_model.py @@ -53,9 +53,9 @@ def save_serving_model(FLAGS, exe, feed_vars, test_fetches, infer_prog): serving_io.save_model( client_config_folder=serving_client, server_model_folder=serving_server, - feed_dict, - fetch_dict, - infer_prog) + feed_var_dict=feed_dict, + fetch_var_dict=fetch_dict, + main_program=infer_prog) def main(): -- GitLab