Mapping of boxes with the grid cell


GRADED FUNCTION: yolo_filter_boxes

In the function yolo_filter_boxes(boxes, box_confidence, box_class_probs, threshold = .6)

we are returning boxes of size (None,4).
suppose 20 boxes qualified after applying mask , and each box will have the dimensions (bx,by,bh,bw).

My question is , how to figure out which box belong to which grid cell, means at which grid cell we should draw these boxes. In problem we have 19*19 grid.

I remember, Andrew taught bx,by are relative to the grid’s top left corner.

Do still need help with this issue? I don’t exactly understand the question.