From 2ad3276c77ae375c2844cb1aeb9dacf7b28e89db Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 20 Sep 2019 15:02:32 +0200 Subject: [PATCH] updates --- utils/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/datasets.py b/utils/datasets.py index e5052f03..c58720d6 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -645,7 +645,7 @@ def cutout(image, labels): # return unobscured labels box = np.array([xmin, ymin, xmax, ymax], dtype=np.float32) ioa = bbox_ioa(box, labels[:, 1:5]) # intersection over area - return labels[ioa < 0.8] # > 80% obscured labels removed + return labels[ioa < 0.90] # > 90% obscured labels removed def convert_images2bmp():