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

This commit is contained in:
pre-commit-ci[bot] 2024-02-03 03:19:56 +00:00
parent ebe2785287
commit 1e87a99259
2 changed files with 2 additions and 2 deletions

View File

@ -1002,7 +1002,7 @@ class Detections:
self, threshold: float = 0.5, class_agnostic: bool = False
) -> Detections:
"""
Perform non-maximum suppression on the current set
Perform non-maximum suppression on the current set
of object detections or segmentation prediction.
Args:

View File

@ -113,7 +113,7 @@ def mask_non_max_suppression(
non-maximum suppression.
Raises:
AssertionError: If `iou_threshold` is not within the closed
AssertionError: If `iou_threshold` is not within the closed
range from `0` to `1`.
"""
assert 0 <= iou_threshold <= 1, (