MCPcopy Create free account

hub / github.com/VincentHancoder/SSGD / functions

Functions2,751 in github.com/VincentHancoder/SSGD

Methodforward_train
Forward function of SparseR-CNN and QueryInst in train stage. Args: img (Tensor): of shape (N, C, H, W) encoding input images.
mmdet/models/detectors/sparse_rcnn.py:16
Methodforward_train
(self, img, img_metas, gt_bboxes,
mmdet/models/detectors/panoptic_two_stage_segmentor.py:69
Methodforward_train
make copies of img and gts to fit multi-branch.
mmdet/models/detectors/trident_faster_rcnn.py:62
Methodforward_train
Args: img (Tensor): Input images of shape (N, C, H, W). Typically these should be mean centered and std scaled.
mmdet/models/detectors/rpn.py:60
Methodforward_train
Args: img (Tensor): Input images of shape (N, C, H, W). Typically these should be mean centered and std scaled.
mmdet/models/detectors/single_stage.py:57
Methodgen_cat_img_inds
Traverse the categories and extract `num_sample_cls` image indexes of the corresponding categories one by one.
mmdet/datasets/samplers/class_aware_sampler.py:97
Methodgen_single_level_base_anchors
Generate base anchors of a single level. Note: The width/height of anchors are minused by 1 when calculating \ th
mmdet/core/anchor/anchor_generator.py:658
Functiongenerate_inputs_and_wrap_model
Prepare sample input and wrap model for ONNX export. The ONNX export API only accept args, and all inputs should be torch.Tensor or correspon
mmdet/core/export/pytorch2onnx.py:10
Methodget_ann_info
Get annotation from XML file by index. Args: idx (int): Index of data. Returns: dict: Annotation info of spe
mmdet/datasets/xml_style.py:90
Methodget_ann_info
Get COCO annotation by index. Args: idx (int): Index of data. Returns: dict: Annotation info of specified in
mmdet/datasets/coco.py:91
Methodget_bboxes
(self)
mmdet/core/mask/structures.py:1039
Methodget_bboxes
Transform network outputs for a batch into bbox predictions. Args: all_cls_scores (Tensor): Classification score of all
mmdet/models/dense_heads/deformable_detr_head.py:269
Methodget_bboxes
(self, cls_scores, bbox_preds, shape_preds,
mmdet/models/dense_heads/guided_anchor_head.py:756
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: center_heatmap_preds (list[Tensor]): Center predict heatmaps fo
mmdet/models/dense_heads/centernet_head.py:252
Methodget_bboxes
Transform network output for a batch into bbox predictions. It has been accelerated since PR #5991. Args: pred_maps (list
mmdet/models/dense_heads/yolo_head.py:209
Methodget_bboxes
Similar to func:``AnchorHead.get_bboxes``, but additionally processes coeff_preds. Args: cls_scores (list[Tensor]): Box s
mmdet/models/dense_heads/yolact_head.py:297
Methodget_bboxes
Get proposal predict. Args: anchor_list (list[list]): Multi level anchors of each image. cls_scores (list[Tensor]): C
mmdet/models/dense_heads/cascade_rpn_head.py:505
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each leve
mmdet/models/dense_heads/centripetal_head.py:367
Methodget_bboxes
Transform network outputs of a batch into bbox results. Args: cls_scores (list[Tensor]): Classification scores for all
mmdet/models/dense_heads/yolox_head.py:217
Methodget_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdet/models/dense_heads/sabl_retina_head.py:535
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each leve
mmdet/models/dense_heads/corner_head.py:655
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: rois (Tensor): Boxes to be transformed. Has shape (num_boxes, 5
mmdet/models/roi_heads/bbox_heads/bbox_head.py:316
Methodget_bboxes
(self, rois, cls_score, bbox_pred,
mmdet/models/roi_heads/bbox_heads/sabl_head.py:485
Methodget_cat_ids
Get category ids in XML file by index. Args: idx (int): Index of data. Returns: list[int]: All categories in
mmdet/datasets/xml_style.py:156
Methodget_cat_ids
Get category ids by index. Args: idx (int): Index of data. Returns: list[int]: All categories in the image o
mmdet/datasets/openimages.py:604
Methodget_classes_from_csv
Get classes name from file. Args: label_file (str): File path of the label description file that maps the classes
mmdet/datasets/openimages.py:735
Functionget_distortions_from_file
(filename)
tools/analysis_tools/robustness_eval.py:184
Functionget_image_metas
(data_info, img_prefix)
tools/misc/get_image_metas.py:65
Methodget_indexes
Call function to collect indexes. Args: dataset (:obj:`MultiImageMixDataset`): The dataset. Returns: list: i
mmdet/datasets/pipelines/transforms.py:2045
Methodget_indexes
Call function to collect indexes.s. Args: dataset (:obj:`MultiImageMixDataset`): The dataset. Returns: list:
mmdet/datasets/pipelines/transforms.py:2806
Methodget_lr
(self, runner, base_lr)
mmdet/core/hook/yolox_lrupdater_hook.py:44
Methodget_neg_loss_single
Calculate the negative loss of all points in feature map. Args: cls_score (Tensor): All category scores for each point on
mmdet/models/dense_heads/autoassign_head.py:251
Methodget_points
Get points according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. dtype (t
mmdet/models/dense_heads/anchor_free_head.py:310
Methodget_pos_loss
Calculate loss of all potential positive samples obtained from first match process. Args: anchors (list[Tensor]): Anchors
mmdet/models/dense_heads/paa_head.py:202
Methodget_pos_loss_single
Calculate the positive loss of all points in gt_bboxes. Args: cls_score (Tensor): All category scores for each point on
mmdet/models/dense_heads/autoassign_head.py:207
Methodget_relation_matrix
Get hierarchy for classes. Args: hierarchy_file (str): File path to the hierarchy for classes. Returns: ndar
mmdet/datasets/openimages.py:830
Methodget_results
Get multi-image mask results. Args: mlvl_kernel_preds (list[Tensor]): Multi-level dynamic kernel prediction. The
mmdet/models/dense_heads/solov2_head.py:567
Methodget_results
Get multi-image mask results. Args: mlvl_mask_preds_x (list[Tensor]): Multi-level mask prediction from x branch.
mmdet/models/dense_heads/solo_head.py:859
Methodget_targets
Compute regression, classification and centerness targets for points in multiple images. Args: points (list[Tensor]): Poi
mmdet/models/dense_heads/anchor_free_head.py:268
Methodget_targets
Get training targets of MaskPointHead for all images. Args: rois (Tensor): Region of Interest, shape (num_rois, 5). r
mmdet/models/roi_heads/mask_heads/mask_point_head.py:109
Methodget_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:138
Methodget_targets
(self, sampling_results, rcnn_train_cfg)
mmdet/models/roi_heads/mask_heads/grid_head.py:224
Methodget_targets
Calculate the ground truth for all samples in a batch according to the sampling_results. Almost the same as the implementation in bbo
mmdet/models/roi_heads/bbox_heads/bbox_head.py:189
Methodget_targets
(self, sampling_results, gt_bboxes, gt_labels, rcnn_train_cfg)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:336
Methodget_warmup_lr
(self, cur_iters)
mmdet/core/hook/yolox_lrupdater_hook.py:27
Methodgrid_points
(self, featmap_size, stride=16, device='cuda')
mmdet/core/anchor/point_generator.py:20
Functionimagenet_det_classes
()
mmdet/core/evaluation/class_names.py:17
Functionimagenet_vid_classes
()
mmdet/core/evaluation/class_names.py:58
Methodimport_wandb
(self)
mmdet/core/hook/wandblogger_hook.py:114
Methodinference
(self, data, *args, **kwargs)
tools/deployment/mmdet_handler.py:43
Methodinfo
Returns a dictionary of info about the object.
mmdet/core/bbox/samplers/mask_sampling_result.py:50
Methodinfo
Returns a dictionary of info about the object.
mmdet/core/bbox/samplers/sampling_result.py:81
Methodinit_assigner_sampler
Initialize assigner and sampler.
mmdet/models/roi_heads/standard_roi_head.py:14
Methodinit_assigner_sampler
Initialize assigner and sampler for each stage.
mmdet/models/roi_heads/cascade_roi_head.py:100
Methodinit_bbox_head
Initialize ``bbox_head``
mmdet/models/roi_heads/standard_roi_head.py:23
Methodinit_bbox_head
Initialize box head and box roi extractor. Args: bbox_roi_extractor (dict): Config of box roi extractor. bbox_head (d
mmdet/models/roi_heads/cascade_roi_head.py:52
Methodinit_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/standard_roi_head.py:28
Methodinit_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/scnet_roi_head.py:50
Methodinit_mask_head
Initialize mask head and mask roi extractor. Args: mask_roi_extractor (dict): Config of mask roi extractor. mask_head
mmdet/models/roi_heads/cascade_roi_head.py:72
Methodinit_weights
(self)
mmdet/models/seg_heads/panoptic_fpn_head.py:137
Methodinit_weights
(self)
mmdet/models/necks/ct_resnet_neck.py:64
Methodinit_weights
(self)
mmdet/models/necks/dilated_encoder.py:95
Methodinit_weights
Initialize the weights of module.
mmdet/models/necks/nasfcos_fpn.py:157
Methodinit_weights
Initialize the weights of module.
mmdet/models/necks/fpn_carafe.py:209
Methodinit_weights
(self, pretrained=None)
mmdet/models/backbones/ssd_vgg.py:105
Methodinit_weights
(self)
mmdet/models/backbones/pvt.py:319
Methodinit_weights
(self)
mmdet/models/backbones/swin.py:78
Methodinit_weights
Init module weights.
mmdet/models/backbones/hourglass.py:195
Methodinit_weights
Initialize weights of the DeformDETR head.
mmdet/models/dense_heads/deformable_detr_head.py:83
Methodinit_weights
Initialize weights of the head. In particular, we have special initialization for classified conv's and regression conv's bias
mmdet/models/dense_heads/autoassign_head.py:167
Methodinit_weights
(self)
mmdet/models/dense_heads/base_dense_head.py:18
Methodinit_weights
Initialize the init_proposal_bboxes as normalized. [c_x, c_y, w, h], and we initialize it to the size of the entire image.
mmdet/models/dense_heads/embedding_rpn_head.py:44
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/centernet_head.py:72
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/retina_sepbn_head.py:78
Methodinit_weights
(self)
mmdet/models/dense_heads/yolo_head.py:170
Methodinit_weights
(self)
mmdet/models/dense_heads/mask2former_head.py:137
Methodinit_weights
(self)
mmdet/models/dense_heads/tood_head.py:58
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/tood_head.py:191
Methodinit_weights
(self)
mmdet/models/dense_heads/maskformer_head.py:127
Methodinit_weights
(self)
mmdet/models/dense_heads/yolof_head.py:108
Methodinit_weights
(self)
mmdet/models/dense_heads/centripetal_head.py:141
Methodinit_weights
(self)
mmdet/models/dense_heads/yolox_head.py:176
Methodinit_weights
Initialize weights of the head.
mmdet/models/dense_heads/ddod_head.py:110
Methodinit_weights
(self)
mmdet/models/dense_heads/corner_head.py:230
Methodinit_weights
Initialize weights of the transformer head.
mmdet/models/dense_heads/detr_head.py:167
Methodinit_weights
Initialize the transformer weights.
mmdet/models/utils/transformer.py:751
Methodinit_weights
(self)
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:115
Methodinit_weights
(self)
mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:84
Methodinit_weights
Use xavier initialization for all weight parameter and set classification head bias as a specific value when use focal loss.
mmdet/models/roi_heads/mask_heads/dynamic_mask_head.py:83
Methodinit_weights
Use xavier initialization for all weight parameter and set classification head bias as a specific value when use focal loss.
mmdet/models/roi_heads/bbox_heads/dii_head.py:125
Methodinit_weights
Initialize weights.
mmdet/models/plugins/msdeformattn_pixel_decoder.py:135
Methodinit_weights
Initialize weights.
mmdet/models/plugins/pixel_decoder.py:79
Methodinit_weights
Initialize weights.
mmdet/models/plugins/pixel_decoder.py:178
Methodinitialize
(self, context)
tools/deployment/mmdet_handler.py:15
Methodis_center_of_bboxes_in_patch
(boxes, patch)
mmdet/datasets/pipelines/transforms.py:1233
Methodlegacy_forward
multi head attention forward in mmcv version < 1.3.17.
mmdet/models/backbones/pvt.py:200
Methodload_annotations
Load annotation from XML style ann_file. Args: ann_file (str): Path of XML file. Returns: list[dict]: Annota
mmdet/datasets/xml_style.py:38
Methodload_annotations
Load annotation from lvis style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdet/datasets/lvis.py:272
Methodload_annotations
(self, ann_file)
mmdet/datasets/lvis.py:717
Methodload_annotations
Load annotation from WIDERFace XML style annotation file. Args: ann_file (str): Path of XML file. Returns: l
mmdet/datasets/wider_face.py:25
← previousnext →2,101–2,200 of 2,751, ranked by callers