提交 8a09a750 编写于 作者: M marluca 提交者: Waleed

Fix #551

Valid index 0 is not regarded, leading to possibly more prediction_matches than grountruh_matches and recall values higher than 1.
上级 a8e674cc
......@@ -694,7 +694,7 @@ def compute_matches(gt_boxes, gt_class_ids, gt_masks,
# 3. Find the match
for j in sorted_ixs:
# If ground truth box is already matched, go to next one
if gt_match[j] > 0:
if gt_match[j] > -1:
continue
# If we reach IoU smaller than the threshold, end the loop
iou = overlaps[i, j]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册