From e449209d018922e5c9035e3f075f90a45beb7802 Mon Sep 17 00:00:00 2001 From: Francesco Gatti Date: Fri, 25 Aug 2017 06:31:00 -0700 Subject: [PATCH] 0.3 box iou thresh --- src/Region.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Region.cpp b/src/Region.cpp index 84c0332..1783fdf 100644 --- a/src/Region.cpp +++ b/src/Region.cpp @@ -262,7 +262,7 @@ void RegionInterpret::interpretData(dnnType *data_h) { box a = boxes[s[i].index]; for(int j = i+1; j < tot; ++j){ box b = boxes[s[j].index]; - if (box_iou(a, b) > thresh){ + if (box_iou(a, b) > 0.3f){ for(int k = 0; k < classes+1; ++k){ probs[s[j].index][k] = 0; }