Skip to content

Commit 9c46753

Browse files
fmassafacebook-github-bot
authored andcommitted
Fix documentation for NMS (#1614)
Summary: Pull Request resolved: #1682 Reviewed By: cpuhrsch Differential Revision: D19156986 Pulled By: fmassa fbshipit-source-id: 15c945acf9b4e44d62cc6b0252efe7c143ce570d
1 parent 678243b commit 9c46753

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
@@ -19,7 +19,7 @@ def nms(boxes, scores, iou_threshold):
1919
scores for each one of the boxes
2020
iou_threshold : float
2121
discards all overlapping
22-
boxes with IoU < iou_threshold
22+
boxes with IoU > iou_threshold
2323
2424
Returns
2525
-------
@@ -49,7 +49,7 @@ def batched_nms(boxes, scores, idxs, iou_threshold):
4949
indices of the categories for each one of the boxes.
5050
iou_threshold : float
5151
discards all overlapping boxes
52-
with IoU < iou_threshold
52+
with IoU > iou_threshold
5353
5454
Returns
5555
-------

0 commit comments

Comments
 (0)