Skip to content

Commit 5777bfb

Browse files
committed
what the epsilon?
1 parent d4bc35e commit 5777bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/ops/boxes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def distance_box_iou(boxes1: Tensor, boxes2: Tensor, eps: float = 1e-7) -> Tenso
360360

361361
boxes1 = _upcast(boxes1)
362362
boxes2 = _upcast(boxes2)
363-
diou, _ = _box_diou_iou(boxes1, boxes2)
363+
diou, _ = _box_diou_iou(boxes1, boxes2, eps)
364364
return diou
365365

366366

0 commit comments

Comments
 (0)