Skip to content

Commit 80a1c7e

Browse files
fbagciZwwWayne
authored andcommitted
Fix method doc (#8512)
1 parent e9ca9d3 commit 80a1c7e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mmdet/core/bbox/iou_calculators/iou2d_calculator.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ def __call__(self, bboxes1, bboxes2, mode='iou', is_aligned=False):
3333
Args:
3434
bboxes1 (Tensor): bboxes have shape (m, 4) in <x1, y1, x2, y2>
3535
format, or shape (m, 5) in <x1, y1, x2, y2, score> format.
36-
bboxes2 (Tensor): bboxes have shape (m, 4) in <x1, y1, x2, y2>
37-
format, shape (m, 5) in <x1, y1, x2, y2, score> format, or be
38-
empty. If ``is_aligned `` is ``True``, then m and n must be
39-
equal.
36+
bboxes2 (Tensor): bboxes have shape (n, 4) in <x1, y1, x2, y2>
37+
format, shape (n, 5) in <x1, y1, x2, y2, score> format, or be
38+
empty.
4039
mode (str): "iou" (intersection over union), "iof" (intersection
4140
over foreground), or "giou" (generalized intersection over
4241
union).

0 commit comments

Comments
 (0)