↓ 10 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
downstream/detection/mmdet/core/bbox/transforms.py:259
↓ 9 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
downstream/detection/mmdet/core/bbox/transforms.py:245
↓ 9 callersFunctionwmsa_adv5_flops(h, w, dim, group_size, downstream_agent_shape, attn_type)
downstream/detection/tools/analysis_tools/get_flops.py:101
↓ 9 callersFunctionwmsa_adv5_flops(h, w, dim, group_size, downstream_agent_shape, attn_type)
downstream/segmentation/tools/get_flops.py:83
↓ 8 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
agent_transformer/models/agent_swin.py:20
↓ 7 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
downstream/detection/mmdet/models/backbones/agent_swin.py:23
↓ 7 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
downstream/segmentation/mmseg/models/backbones/agent_swin.py:23