We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95835b2 commit d544af8Copy full SHA for d544af8
maestro/postprocessing/mask.py
@@ -34,8 +34,7 @@ def compute_mask_iou_vectorized(masks: np.ndarray) -> np.ndarray:
34
"""
35
if np.any(masks.sum(axis=(1, 2)) == 0):
36
raise ValueError(
37
- "One or more masks are empty. Please filter out empty masks before using "
38
- "`compute_iou_vectorized` function."
+ "One or more masks are empty. Please filter out empty masks before using `compute_iou_vectorized` function."
39
)
40
41
masks_bool = masks.astype(bool)
0 commit comments