From 8b308a0906bc73c62db7cc1e63413b44d5e2558c Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Fri, 4 Feb 2022 17:46:17 +0100 Subject: [PATCH] removed outdated comment --- fb_detr/utils/non_max_supprs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb_detr/utils/non_max_supprs.py b/fb_detr/utils/non_max_supprs.py index 55811c7..f38a63e 100644 --- a/fb_detr/utils/non_max_supprs.py +++ b/fb_detr/utils/non_max_supprs.py @@ -12,7 +12,7 @@ def make_box(x1, y1, x2, y2): return dict(zip(keys, [x1, y1, x2, y2])) -def compute_intersection(a, b): # returns None if rectangles don't intersect +def compute_intersection(a, b): a = Rectangle(*a.values()) b = Rectangle(*b.values())