fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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, (
|
||||
|
||||
Reference in New Issue
Block a user