def bbox_to_array(arr, label=0, max_bboxes=64, bbox_width=16):
    '\n    Converts a 1-dimensional bbox array to an image-like\n    3-dimensional array CHW array\n    '
    arr = pad_bbox(arr, max_bboxes, bbox_width)
    return arr[np.newaxis, :, :]
Converts a 1-dimensional bbox array to an image-like
3-dimensional array CHW array
def bbox_to_array(arr, label=0, max_bboxes=64, bbox_width=16):
    '\n    Converts a 1-dimensional bbox array to an image-like\n    3-dimensional array CHW array\n    '
    arr = pad_bbox(arr, max_bboxes, bbox_width)
    return arr[np.newaxis, :, :]