Skip to content

Commit 2e8bcf8

Browse files
authored
Fix documentation for NMS (#1614)
1 parent c05da2a commit 2e8bcf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchvision/ops/boxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def nms(boxes, scores, iou_threshold):
2424
scores for each one of the boxes
2525
iou_threshold : float
2626
discards all overlapping
27-
boxes with IoU < iou_threshold
27+
boxes with IoU > iou_threshold
2828
2929
Returns
3030
-------
@@ -55,7 +55,7 @@ def batched_nms(boxes, scores, idxs, iou_threshold):
5555
indices of the categories for each one of the boxes.
5656
iou_threshold : float
5757
discards all overlapping boxes
58-
with IoU < iou_threshold
58+
with IoU > iou_threshold
5959
6060
Returns
6161
-------

0 commit comments

Comments
 (0)