def normalize_bbox(bbox, rows, cols):
if rows == <NUM_LIT:0>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if cols == <NUM_LIT:0>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>x_min, y_min, x_max, y_max = bbox[:<NUM_LIT:4>]<EOL>normalized_bbox = [x_min / cols, y_min / rows, x_max / cols, y_max / rows]<EOL>return normalized_bbox + list(bbox[<NUM_LIT:4>:])<EOL>
Normalize coordinates of a bounding box. Divide x-coordinates by image width and y-coordinates
    by image height.