From 767b06064ac7fc5d4024d02ea9e17f5a896822b4 Mon Sep 17 00:00:00 2001 From: dongdaxiang Date: Mon, 11 May 2020 09:32:00 +0800 Subject: [PATCH] change load_model to load_model_config --- python/paddle_serving_app/local_predict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle_serving_app/local_predict.py b/python/paddle_serving_app/local_predict.py index 89cb497b..e71aaded 100644 --- a/python/paddle_serving_app/local_predict.py +++ b/python/paddle_serving_app/local_predict.py @@ -42,7 +42,7 @@ class Debugger(object): self.fetch_names_to_idx_ = {} self.fetch_names_to_type_ = {} - def load_model(self, model_path, gpu=False, profile=True, cpu_num=1): + def load_model_config(self, model_path, gpu=False, profile=True, cpu_num=1): client_config = "{}/serving_server_conf.prototxt".format(model_path) model_conf = m_config.GeneralModelConfig() f = open(client_config, 'r') -- GitLab