MCPcopy Create free account

hub / github.com/ChenhongyiYang/PGD / functions

Functions2,117 in github.com/ChenhongyiYang/PGD

Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ddod_fcos_head.py:56
Method_init_layers
Initialize classification branch and regression branch of head.
mmdet/models/dense_heads/deformable_detr_head.py:49
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/reppoints_head.py:124
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/retina_head.py:60
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ga_retina_head.py:44
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/vfnet_head.py:158
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/retina_sepbn_head.py:35
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/yolact_head.py:87
Method_init_layers
Init layers of a CascadeRPN stage.
mmdet/models/dense_heads/cascade_rpn_head.py:151
Method_init_layers
(self)
mmdet/models/dense_heads/fovea_head.py:77
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ga_rpn_head.py:33
Method_init_layers
(self)
mmdet/models/dense_heads/yolof_head.py:67
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/atss_head.py:58
Method_init_layers
Initialize layers for CentripetalHead. Including two parts: CornerHead layers and CentripetalHead layers
mmdet/models/dense_heads/centripetal_head.py:131
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/gfl_head.py:124
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/atss_iou_head.py:61
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/rpn_head.py:29
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/fcos_head.py:114
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/ddod_head.py:60
Method_init_layers
Initialize layers of the head.
mmdet/models/dense_heads/nasfcos_head.py:38
Method_inner_forward
(x)
mmdet/models/backbones/resnest.py:235
Method_inner_forward
(x)
mmdet/models/backbones/detectors_resnet.py:75
Method_inner_forward
(x)
mmdet/models/backbones/res2net.py:108
Method_inner_forward
(x)
mmdet/models/backbones/trident_resnet.py:129
Method_inner_forward
(x)
mmdet/models/backbones/resnet.py:69
Method_inner_forward
(x)
mmdet/models/backbones/resnet.py:265
Method_inner_forward
(x)
mmdet/models/utils/inverted_residual.py:100
Method_load_from_state_dict
Override the method in the parent class to avoid changing para's name.
mmdet/models/dense_heads/vfnet_head.py:787
Method_load_from_state_dict
Hack some keys of the model state dict so that can load checkpoints of previous version.
mmdet/models/dense_heads/anchor_free_head.py:141
Method_load_from_state_dict
load checkpoints.
mmdet/models/dense_heads/detr_head.py:171
Method_mask_forward_test
Mask head forward function for testing.
mmdet/models/roi_heads/htc_roi_head.py:173
Method_mask_forward_train
Run forward function and calculate loss for mask head and point head in training.
mmdet/models/roi_heads/point_rend_roi_head.py:31
Method_mask_forward_train
Run forward function and calculate loss for Mask head in training.
mmdet/models/roi_heads/mask_scoring_roi_head.py:20
Method_order_vertices
References: https://stackoverflow.com/questions/1709283/how-can-i-sort-a-coordinate-list-for-a-rectangle-counterclockwise
mmdet/core/mask/structures.py:997
Method_parse_ann_info
Parse bbox and mask annotation. Args: img_info (dict): Image info of an image. ann_info (list[dict]): Annotation info
mmdet/datasets/cityscapes.py:53
Method_point_target_single
(self, flat_proposals, valid_flags,
mmdet/models/dense_heads/reppoints_head.py:365
Method_region_targets_single
Get anchor targets based on region for single level.
mmdet/models/dense_heads/cascade_rpn_head.py:178
Method_run_test_method
(self, method)
tests/test_runtime/test_async.py:23
Method_sample_neg
Sample negative boxes. Args: assign_result (:obj:`AssignResult`): Assigned results num_expected (int): Number of expe
mmdet/core/bbox/samplers/ohem_sampler.py:79
Method_sample_neg
Sample negative samples.
mmdet/core/bbox/samplers/pseudo_sampler.py:19
Method_sample_neg
Sample negative samples.
mmdet/core/bbox/samplers/combined_sampler.py:18
Method_sample_neg
Sample negative boxes. Args: assign_result (:obj:`AssignResult`): The assigned results of boxes. num_expected (int):
mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py:88
Method_sample_neg
Randomly sample some negative samples.
mmdet/core/bbox/samplers/random_sampler.py:73
Method_sample_pos
Sample positive boxes. Args: assign_result (:obj:`AssignResult`): Assigned results num_expected (int): Number of expe
mmdet/core/bbox/samplers/ohem_sampler.py:51
Method_sample_pos
Sample positive samples.
mmdet/core/bbox/samplers/pseudo_sampler.py:15
Method_sample_pos
Sample positive samples.
mmdet/core/bbox/samplers/combined_sampler.py:14
Method_sample_pos
Randomly sample some positive samples.
mmdet/core/bbox/samplers/random_sampler.py:63
Method_sample_pos
Sample positive boxes. Args: assign_result (:obj:`AssignResult`): The assigned results of boxes. num_expected (int):
mmdet/core/bbox/samplers/instance_balanced_pos_sampler.py:13
Method_shape_offset
(anchors, stride, ks=3, dilation=1)
mmdet/models/dense_heads/cascade_rpn_head.py:340
Methodaforward_test
(self, *, img, img_metas, **kwargs)
mmdet/core/export/model_wrappers.py:37
Functionallreduce_grads
Allreduce gradients. Args: params (list[torch.Parameters]): List of parameters of a model coalesce (bool, optional): Whether allr
mmdet/core/utils/dist_utils.py:32
Functionanalyze_individual_category
(k, cocoDt, cocoGt,
tools/analysis_tools/coco_error_analysis.py:173
Methodareas
ndarray: areas of each instance.
mmdet/core/mask/structures.py:108
Methodareas
See :py:attr:`BaseInstanceMasks.areas`.
mmdet/core/mask/structures.py:498
Methodareas
Compute areas of masks. This func is modified from `detectron2 <https://github.com/facebookresearch/detectron2/blob/ffff8acc35ea88ad1
mmdet/core/mask/structures.py:850
Methodassign
Assign gt to bboxes. The assignment is done in following steps 1. compute iou between all bbox (bbox of all pyramid levels) and gt
mmdet/core/bbox/assigners/cost_topk_assigner.py:38
Methodassign
(self, bbox_pred, anchor, gt_bboxes, gt_bboxes_ign
mmdet/core/bbox/assigners/uniform_assigner.py:34
Methodassign
Assign gt to approxs. This method assign a gt bbox to each group of approxs (bboxes), each group of approxs is represent by a base ap
mmdet/core/bbox/assigners/approx_max_iou_assigner.py:59
Methodassign
Assign gt to bboxes. This method assigns gts to every bbox (proposal/anchor), each bbox \ will be assigned with -1, or a semi-positiv
mmdet/core/bbox/assigners/center_region_assigner.py:125
Methodassign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or background. T
mmdet/core/bbox/assigners/hungarian_assigner.py:52
Methodassign
Assign gt to bboxes. The process is very much like the max iou assigner, except that positive samples are constrained within the cell
mmdet/core/bbox/assigners/grid_assigner.py:42
Methodassign
Assign gt to bboxes. The assignment is done in following steps 1. compute iou between all bbox (bbox of all pyramid levels) and gt
mmdet/core/bbox/assigners/center_cost_topk_assigner.py:69
Methodassign
Assign gt to points. This method assign a gt bbox to every points set, each points set will be assigned with the background_label (-
mmdet/core/bbox/assigners/point_assigner.py:23
Methodassign
Assign gt to bboxes. The assignment is done in following steps 1. compute iou between all bbox (bbox of all pyramid levels) and gt
mmdet/core/bbox/assigners/atss_cost_assigner.py:87
Methodassign
Assign boxes to either a ground truth boxes or a negative boxes.
mmdet/core/bbox/assigners/base_assigner.py:8
Methodassign
Assign gt to anchors. This method assign a gt bbox to every bbox (proposal/anchor), each bbox will be assigned with -1, 0, or a posit
mmdet/core/bbox/assigners/region_assigner.py:57
Methodassign
(self, points, cls_scores, bbox_preds, gt_bboxes,
mmdet/models/dense_heads/pgd_heads/utils/pgw_anchor_free.py:25
Methodasync_simple_test
(self, img, img_metas, **kwargs)
mmdet/core/export/model_wrappers.py:40
Methodasync_simple_test
Async test without augmentation.
mmdet/models/roi_heads/standard_roi_head.py:196
Methodasync_simple_test
Asynchronized test function.
mmdet/models/roi_heads/base_roi_head.py:78
Methodasync_simple_test
Async test without augmentation.
mmdet/models/detectors/two_stage.py:153
Methodaug_test
(self, imgs, img_metas, **kwargs)
mmdet/core/export/model_wrappers.py:22
Methodaug_test
(self, imgs, img_metas, **kwargs)
mmdet/distillation/distillers/distill_base.py:132
Methodaug_test
Test function with test time augmentation. Args: feats (list[Tensor]): the outer list indicates test-time augment
mmdet/models/dense_heads/yolo_head.py:606
Methodaug_test
Test function with test time augmentation. Args: feats (list[Tensor]): the outer list indicates test-time augment
mmdet/models/dense_heads/anchor_head.py:725
Methodaug_test
Test function with test time augmentation. Args: feats (list[Tensor]): the outer list indicates test-time augment
mmdet/models/dense_heads/anchor_free_head.py:324
Methodaug_test
(self, features, proposal_list, img_metas, rescale=False)
mmdet/models/roi_heads/sparse_roi_head.py:301
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/standard_roi_head.py:246
Methodaug_test
(self, img_feats, proposal_list, img_metas, rescale=False)
mmdet/models/roi_heads/scnet_roi_head.py:450
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/base_roi_head.py:97
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/htc_roi_head.py:461
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/roi_heads/cascade_roi_head.py:413
Methodaug_test
Augment testing of CenterNet. Aug test must have flipped image pair, and unlike CornerNet, it will perform an averaging operation on the
mmdet/models/detectors/centernet.py:53
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/detectors/two_stage.py:184
Methodaug_test
Test with augmentations.
mmdet/models/detectors/yolact.py:113
Methodaug_test
Test with augmentations. If rescale is False, then returned bboxes and masks will fit the scale of imgs[0].
mmdet/models/detectors/trident_faster_rcnn.py:47
Methodaug_test
Augment testing of CornerNet. Args: imgs (list[Tensor]): Augmented images. img_metas (list[list[dict]]): Meta informa
mmdet/models/detectors/cornernet.py:61
Methodaug_test
Test function with test time augmentation. Args: imgs (list[torch.Tensor]): List of multiple images img_metas (list[d
mmdet/models/detectors/rpn.py:116
Methodaug_test
Test function with test time augmentation. Args: imgs (list[Tensor]): the outer list indicates test-time augmenta
mmdet/models/detectors/single_stage.py:109
Methodaug_test_bboxes
Test det bboxes with test time augmentation.
mmdet/models/roi_heads/trident_roi_head.py:82
Methodaug_test_mask
Test for mask head with test time augmentation.
mmdet/models/roi_heads/point_rend_roi_head.py:218
Methodaug_test_rpn
(self, feats, img_metas)
mmdet/models/dense_heads/embedding_rpn_head.py:113
Methodaug_test_rpn
Test with augmentation for only for ``RPNHead`` and its variants, e.g., ``GARPNHead``, etc. Args: feats (tuple[Tensor]):
mmdet/models/dense_heads/dense_test_mixins.py:127
Functionbbox_map_eval
Evaluate mAP of single image det result. Args: det_result (list[list]): [[cls1_det, cls2_det, ...], ...]. The outer list indi
tools/analysis_tools/analyze_results.py:13
Methodbboxes
torch.Tensor: concatenated positive and negative boxes
mmdet/core/bbox/samplers/sampling_result.py:52
Functionbinary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
mmdet/models/losses/cross_entropy_loss.py:58
Functionboxes_dump
(boxes, is_gt)
crowd_code/utils/misc_utils.py:96
Methodbuild_concat_cell
(with_input1_conv, with_input2_conv)
mmdet/models/necks/nasfcos_fpn.py:82
Functioncal_train_time
(log_dicts, args)
tools/analysis_tools/analyze_logs.py:10
Functioncityscapes_classes
()
mmdet/core/evaluation/class_names.py:85
← previousnext →1,301–1,400 of 2,117, ranked by callers