提交 78f9008d 编写于 作者: littletomatodonkey's avatar littletomatodonkey

disable config info

上级 a5eeb722
...@@ -38,6 +38,7 @@ void DBDetector::LoadModel(const std::string &model_dir) { ...@@ -38,6 +38,7 @@ void DBDetector::LoadModel(const std::string &model_dir) {
config.SwitchIrOptim(true); config.SwitchIrOptim(true);
config.EnableMemoryOptim(); config.EnableMemoryOptim();
config.DisableGlogInfo();
this->predictor_ = CreatePaddlePredictor(config); this->predictor_ = CreatePaddlePredictor(config);
} }
......
...@@ -127,6 +127,7 @@ void CRNNRecognizer::LoadModel(const std::string &model_dir) { ...@@ -127,6 +127,7 @@ void CRNNRecognizer::LoadModel(const std::string &model_dir) {
config.SwitchIrOptim(true); config.SwitchIrOptim(true);
config.EnableMemoryOptim(); config.EnableMemoryOptim();
config.DisableGlogInfo();
this->predictor_ = CreatePaddlePredictor(config); this->predictor_ = CreatePaddlePredictor(config);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册