From c56f69c21a6ed2888333a0162c7df604e7431bfc Mon Sep 17 00:00:00 2001 From: Vasant Phirke <125212752+VBPMP@users.noreply.github.com> Date: Tue, 31 Oct 2023 22:04:14 +0530 Subject: [PATCH] Update mask_invalid_detections.py (#2117) --- keras_cv/bounding_box/mask_invalid_detections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keras_cv/bounding_box/mask_invalid_detections.py b/keras_cv/bounding_box/mask_invalid_detections.py index baf2fced6c..464b3fa247 100644 --- a/keras_cv/bounding_box/mask_invalid_detections.py +++ b/keras_cv/bounding_box/mask_invalid_detections.py @@ -23,8 +23,8 @@ def mask_invalid_detections(bounding_boxes, output_ragged=False): """masks out invalid detections with -1s. - This utility is mainly used on the output of non-max supression operations. - The output of non-max-supression contains all the detections, even invalid + This utility is mainly used on the output of non-max suppression operations. + The output of non-max-suppression contains all the detections, even invalid ones. Users are expected to use `num_detections` to determine how many boxes are in each image.