未验证 提交 756e3dca 编写于 作者: J JYChen 提交者: GitHub

fix cpp infer error in blazeface (#5892)

上级 399ade38
......@@ -213,10 +213,6 @@ void ObjectDetector::Postprocess(
cv::Mat raw_mat = mats[im_id];
int rh = 1;
int rw = 1;
if (config_.arch_ == "Face") {
rh = raw_mat.rows;
rw = raw_mat.cols;
}
for (int j = start_idx; j < start_idx + bbox_num[im_id]; j++) {
if (is_rbox) {
// Class id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册