Skip to content

Commit

Permalink
Update mask_invalid_detections.py (keras-team#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
VBPMP authored and yuvraj-wale committed Feb 8, 2024
1 parent 0618031 commit c56f69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras_cv/bounding_box/mask_invalid_detections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c56f69c

Please sign in to comment.