fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
parent
ebe2785287
commit
1e87a99259
|
|
@ -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, (
|
||||
|
|
|
|||
Loading…
Reference in New Issue