MCPcopy Create free account

hub / github.com/ChenhongyiYang/PGD / functions

Functions2,117 in github.com/ChenhongyiYang/PGD

Functionclip_boundary
(boxes,height,width)
crowd_code/utils/misc_utils.py:113
Functioncoco_classes
()
mmdet/core/evaluation/class_names.py:67
Methodcollect_loss_level_single
Get the average loss in each FPN level w.r.t. each gt label. Args: cls_loss (Tensor): Classification loss of each feature map pix
mmdet/models/dense_heads/fsaf_head.py:350
Functioncommon_process
(func, cls_list, nr_procs)
crowd_code/evaluate/compute_JI.py:103
Methodcompare_caltech_union
:meth: match the detection results with the groundtruth by Caltech matching strategy :param thres: iou threshold :type thres:
crowd_code/evaluate/APMRToolkits/image.py:106
Functioncompute_JI_with_ignore
(result_queue, records, score_thr, target_key, bm_thresh=0.5)
crowd_code/evaluate/compute_JI.py:50
Functioncompute_head_body_matching
(dt_body, dt_head, gt_body, gt_head, bm_thr)
crowd_code/evaluate/JIToolkits/JI_tools.py:23
Functioncompute_multi_head_body_matching
(dt_body, dt_head_0, dt_head_1, gt_body, gt_head, bm_thr)
crowd_code/evaluate/JIToolkits/JI_tools.py:49
Functioncpu_nms
Pure Python NMS baseline.
crowd_code/utils/nms_utils.py:49
Methodcrop
Crop each mask by the given bbox. Args: bbox (ndarray): Bbox in format [x1, y1, x2, y2], shape (4, ). Return:
mmdet/core/mask/structures.py:63
Methodcrop_and_resize
Crop and resize masks by the given bboxes. This function is mainly used in mask targets computation. It firstly align mask to bboxes
mmdet/core/mask/structures.py:74
Methodcustom_accuracy
(self)
mmdet/models/roi_heads/bbox_heads/bbox_head.py:104
Methodcustom_activation
(self)
mmdet/models/roi_heads/bbox_heads/bbox_head.py:100
Methodcustom_cls_channels
(self)
mmdet/models/roi_heads/bbox_heads/bbox_head.py:96
Methoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): E
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:58
Methoddecode
torch.Tensor: return the given ``pred_bboxes``
mmdet/core/bbox/coder/pseudo_bbox_coder.py:16
Methoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): En
mmdet/core/bbox/coder/tblr_center_coder.py:46
Methoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): Pr
mmdet/core/bbox/coder/bucketing_bbox_coder.py:71
Functiondevice_parser
(str_device)
crowd_code/utils/misc_utils.py:23
Functiondiou_loss
r"""`Implementation of Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression, https://arxiv.org/abs/1911.08287`_. Code is
mmdet/core/bbox/assigners/atss_cost_assigner.py:8
Functiondraw_boxes
(img, boxes, scores=None, tags=None, line_thick=1, line_color='white')
crowd_code/utils/visual_utils.py:21
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:40
Methodencode
torch.Tensor: return the given ``bboxes``
mmdet/core/bbox/coder/pseudo_bbox_coder.py:12
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/core/bbox/coder/yolo_bbox_coder.py:26
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes`` in the (top, left, bottom
mmdet/core/bbox/coder/tblr_center_coder.py:28
Methodencode
Get bucketing estimation and fine regression targets during training. Args: bboxes (torch.Tensor): source boxes, e.g., ob
mmdet/core/bbox/coder/bucketing_bbox_coder.py:49
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:44
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes`` in the (top, left, bottom
mmdet/core/bbox/coder/tblr_bbox_coder.py:30
Functionensure_dir
(dirpath)
crowd_code/utils/misc_utils.py:31
Methodevaluate
Evaluation in COCO protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[s
mmdet/datasets/crowdhuman.py:348
Methodevaluate
Evaluation in LVIS protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[s
mmdet/datasets/lvis.py:308
Methodevaluate
Evaluate the results. Args: results (list[list | tuple]): Testing results of the dataset. logger (logging.Logger | st
mmdet/datasets/dataset_wrappers.py:68
Methodevaluate
Evaluation in Cityscapes/COCO protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (s
mmdet/datasets/cityscapes.py:207
Methodevaluate
(self, results, logger=None)
tests/test_runtime/test_eval_hook.py:31
Methodexpand
see :class:`Expand`.
mmdet/core/mask/structures.py:103
Methodextra_repr
(self)
mmdet/models/backbones/trident_resnet.py:60
Methodextract_feat
(self, imgs)
mmdet/core/export/model_wrappers.py:25
Methodflip
Flip masks alone the given direction. Args: flip_direction (str): Either 'horizontal' or 'vertical'. Returns:
mmdet/core/mask/structures.py:40
Methodformat_results
Place holder to format result to dataset specific output.
mmdet/datasets/custom.py:270
Methodforward
(ctx, boxes, scores, max_output_boxes_per_class, iou_threshold, score_threshold)
mmdet/core/export/onnx_helper.py:207
Methodforward
(self, img, img_metas, return_loss=True, **kwargs)
mmdet/core/export/model_wrappers.py:43
Methodforward
(self, preds_S, preds_T, mask_fg, **kwargs)
mmdet/distillation/losses/pgd_reg.py:24
Methodforward
(self, preds_S, preds_T, mask_fg, mask_bg,
mmdet/distillation/losses/pgd_cls.py:31
Methodforward
(self, x)
mmdet/models/necks/yolo_neck.py:54
Methodforward
(self, feats)
mmdet/models/necks/yolo_neck.py:119
Methodforward
Forward function.
mmdet/models/necks/ssd_neck.py:92
Methodforward
Forward function.
mmdet/models/necks/ssd_neck.py:122
Methodforward
Forward function.
mmdet/models/necks/pafpn.py:99
Methodforward
Forward function.
mmdet/models/necks/fpn.py:151
Methodforward
(self, x)
mmdet/models/necks/rfp.py:47
Methodforward
(self, inputs)
mmdet/models/necks/rfp.py:116
Methodforward
Forward function.
mmdet/models/necks/hrfpn.py:76
Methodforward
(x)
mmdet/models/necks/fpg.py:22
Methodforward
(self, x)
mmdet/models/necks/fpg.py:62
Methodforward
(self, inputs)
mmdet/models/necks/fpg.py:98
Methodforward
(self, inputs)
mmdet/models/necks/fpg.py:332
Methodforward
Forward function.
mmdet/models/necks/channel_mapper.py:89
Methodforward
(self, inputs)
mmdet/models/necks/ct_resnet_neck.py:90
Methodforward
(self, x)
mmdet/models/necks/dilated_encoder.py:41
Methodforward
(self, feature)
mmdet/models/necks/dilated_encoder.py:104
Methodforward
Forward function.
mmdet/models/necks/nasfcos_fpn.py:121
Methodforward
Forward function.
mmdet/models/necks/fpn_carafe.py:246
Methodforward
Forward function.
mmdet/models/necks/bfp.py:69
Methodforward
Forward function.
mmdet/models/necks/nas_fpn.py:126
Methodforward
(self, x)
mmdet/models/backbones/resnest.py:29
Methodforward
(self, x)
mmdet/models/backbones/resnest.py:124
Methodforward
(self, x)
mmdet/models/backbones/resnest.py:233
Methodforward
Forward function.
mmdet/models/backbones/detectors_resnet.py:328
Methodforward
Forward function.
mmdet/models/backbones/ssd_vgg.py:107
Methodforward
(self, x)
mmdet/models/backbones/darknet.py:49
Methodforward
(self, x)
mmdet/models/backbones/darknet.py:152
Methodforward
Forward function.
mmdet/models/backbones/res2net.py:105
Methodforward
Forward function.
mmdet/models/backbones/hrnet.py:182
Methodforward
Forward function.
mmdet/models/backbones/hrnet.py:520
Methodforward
(self, inputs)
mmdet/models/backbones/trident_resnet.py:72
Methodforward
(self, x)
mmdet/models/backbones/trident_resnet.py:127
Methodforward
Forward function.
mmdet/models/backbones/mobilenet_v2.py:177
Methodforward
Forward function.
mmdet/models/backbones/resnet.py:66
Methodforward
Forward function.
mmdet/models/backbones/resnet.py:262
Methodforward
Forward function.
mmdet/models/backbones/resnet.py:630
Methodforward
Forward function.
mmdet/models/backbones/hourglass.py:79
Methodforward
Forward function.
mmdet/models/backbones/hourglass.py:194
Methodforward
Forward function.
mmdet/models/backbones/regnet.py:343
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/ddod_fcos_head.py:111
Methodforward
Forward function. Args: mlvl_feats (tuple[Tensor]): Features from the upstream network, each is a 4D-tensor with
mmdet/models/dense_heads/deformable_detr_head.py:96
Methodforward
(self, feats)
mmdet/models/dense_heads/reppoints_head.py:253
Methodforward
(self, x, shape)
mmdet/models/dense_heads/guided_anchor_head.py:52
Methodforward
Get the center prior of each point on the feature map for each instance. Args: anchor_points_list (list[Tensor]): list of
mmdet/models/dense_heads/autoassign_head.py:47
Methodforward
Forward features. Notice CenterNet head does not use FPN. Args: feats (tuple[Tensor]): Features from the upstream network, each i
mmdet/models/dense_heads/centernet_head.py:80
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/vfnet_head.py:193
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/retina_sepbn_head.py:88
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/yolo_head.py:167
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/anchor_head.py:122
Methodforward
Forward feature from the upstream network. Args: x (Tensor): Feature from the upstream network, which is a 4D-ten
mmdet/models/dense_heads/yolact_head.py:498
Methodforward
Forward features from the upstream network.
mmdet/models/dense_heads/yolact_head.py:1008
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/anchor_free_head.py:179
Methodforward
Forward function.
mmdet/models/dense_heads/cascade_rpn_head.py:77
Methodforward
Forward function.
mmdet/models/dense_heads/cascade_rpn_head.py:172
Methodforward
(self, x, shape)
mmdet/models/dense_heads/fovea_head.py:39
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdet/models/dense_heads/atss_head.py:95
← previousnext →1,401–1,500 of 2,117, ranked by callers