提交 e8ae1adb 编写于 作者: D dongdaxiang

change load_model to load_model_config

上级 b1cdd9ac
......@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册