fix(pre_commit): 🎨 auto format pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] committed 2025-07-14 13:07:22 +00:00
1 parent 50c0d54dd5
commit 74d5f0f9a6
1 file changed
+3 -1
+3 -1
View File
@@ -108,7 +108,9 @@ def box_iou(
return inter_area / union_area + 1e-6
def box_iou_batch(boxes_true: np.ndarray, boxes_detection: np.ndarray, match_metric: str = "IOU") -> np.ndarray:
def box_iou_batch(
boxes_true: np.ndarray, boxes_detection: np.ndarray, match_metric: str = "IOU"
) -> np.ndarray:
"""
Compute Intersection over Union (IoU) of two sets of bounding boxes -
`boxes_true` and `boxes_detection`. Both sets