↓ 25 callersMethoddecode(self, anchors, cls_scores, bbox_preds, im_shape, scale_factor)
ppdet/modeling/heads/yolof_head.py:340
↓ 21 callersFunctionbatch_distance2bboxDecode distance prediction to bounding box for batch. Args: points (Tensor): [B, ..., 2], "xy" format distance (Tensor): [B, ...,
ppdet/modeling/bbox_utils.py:575
↓ 15 callersFunctionbbox_ioucalculate the iou of box1 and box2 Args: box1 (list): [x, y, w, h], all have the shape [b, na, h, w, 1] box2 (list): [x, y, w, h]
ppdet/modeling/bbox_utils.py:399
↓ 11 callersFunctiongenerate_anchors_for_grid_cellr""" Like ATSS, generate anchors based on grid size. Args: feats (List[Tensor]): shape[s, (b, c, h, w)] fpn_strides (tuple|lis
ppdet/modeling/assigners/utils.py:181
↓ 5 callersMethod__init__(self,
layers=[3, 6, 6, 3],
channels=[64, 128, 256, 512, 1024],
ppdet/modeling/backbones/cspresnet.py:234