提交 f8d333d8 编写于 作者: D dongdaxiang

add more info

上级 bfdd07b0
......@@ -192,6 +192,7 @@ const std::string &PredictorClient::get_model_config() {
Response res;
VLOG(2) << "going to send request";
req.set_request_type("GetConf");
FeedInst *inst = req.add_insts();
_api.thrd_initialize();
std::string variant_tag;
_predictor = _api.fetch_predictor("general_model", &variant_tag);
......@@ -204,6 +205,7 @@ const std::string &PredictorClient::get_model_config() {
} else {
VLOG(2) << "get model config succeed";
const std::string &config_str = res.config_str();
_api.thrd_clear();
return config_str;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册