Skip to content

Commit f3b94cf

Browse files
committed
Add comment
1 parent ddb6618 commit f3b94cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchvision/ops/boxes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def batched_nms(
7878
_log_api_usage_once(batched_nms)
7979
# Benchmarks that drove the following thresholds are at
8080
# https://github.com/pytorch/vision/issues/1311#issuecomment-781329339
81+
# and https://github.com/pytorch/vision/pull/8925
8182
if boxes.numel() > (4000 if boxes.device.type == "cpu" else 100_000) and not torchvision._is_tracing():
8283
return _batched_nms_vanilla(boxes, scores, idxs, iou_threshold)
8384
else:

0 commit comments

Comments
 (0)