Skip to content

Commit 98c6263

Browse files
authored
remove redundant threshold filtering, thanks to @mnslarcher
1 parent 8556f8c commit 98c6263

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coco_eval.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ def evaluate_coco(img_path, set_name, image_ids, coco, model, threshold=0.05):
106106
label = int(class_ids[roi_id])
107107
box = rois[roi_id, :]
108108

109-
if score < threshold:
110-
break
111109
image_result = {
112110
'image_id': image_id,
113111
'category_id': label + 1,

0 commit comments

Comments
 (0)