phosa/utils/bbox.py [48:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if not isinstance(bbox, (tuple, list)):
        original_shape = bbox.shape
        bbox = bbox.reshape((-1, 4))
    else:
        original_shape = None
    bbox = BoxMode.convert(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



phosa/utils/bbox.py [62:67]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if not isinstance(bbox, (tuple, list)):
        original_shape = bbox.shape
        bbox = bbox.reshape((-1, 4))
    else:
        original_shape = None
    bbox = BoxMode.convert(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



