未验证 提交 01f9e9d6 编写于 作者: Z zhiboniu 提交者: GitHub

fix threshold abnormal value (#8180)

上级 9ea3ac2d
...@@ -57,6 +57,7 @@ class JDEPredictor { ...@@ -57,6 +57,7 @@ class JDEPredictor {
preprocessor_.Init(config_.preprocess_info_); preprocessor_.Init(config_.preprocess_info_);
LoadModel(model_dir, run_mode); LoadModel(model_dir, run_mode);
this->conf_thresh_ = config_.conf_thresh_; this->conf_thresh_ = config_.conf_thresh_;
this->threshold_ = config_.conf_thresh_;
} }
// Load Paddle inference model // Load Paddle inference model
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册