↓ 12 callersFunctionbbox_xyxy_to_cxcywhConvert bbox coordinates from (x1, y1, x2, y2) to (cx, cy, w, h). Args: bbox (Tensor): Shape (n, 4) for bboxes. Returns: Ten
mmdet/core/bbox/transforms.py:259
↓ 11 callersFunctionbbox_cxcywh_to_xyxyConvert bbox coordinates from (cx, cy, w, h) to (x1, y1, x2, y2). Args: bbox (Tensor): Shape (n, 4) for bboxes. Returns: Ten
mmdet/core/bbox/transforms.py:245