↓ 2 callersFunctionbbox_centerGet bbox centers from boxes. Args: boxes (Tensor): boxes with shape (..., 4), "xmin, ymin, xmax, ymax" format. Returns: Tensor
ppdet/modeling/bbox_utils.py:563
↓ 2 callersFunctiondecode_yolodecode yolo box Args: box (list): [x, y, w, h], all have the shape [b, na, h, w, 1] anchor (list): anchor with the shape [na, 2]
ppdet/modeling/bbox_utils.py:350