Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VincentHancoder/SSGD
/ functions
Functions
2,751 in github.com/VincentHancoder/SSGD
⨍
Functions
2,751
◇
Types & classes
447
↳
Endpoints
10
Method
forward_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
Method
forward_train
(self, img, img_metas, gt_bboxes,
mmdet/models/detectors/panoptic_two_stage_segmentor.py:69
Method
forward_train
make copies of img and gts to fit multi-branch.
mmdet/models/detectors/trident_faster_rcnn.py:62
Method
forward_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
Method
forward_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
Method
gen_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
Method
gen_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
Function
generate_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
Method
get_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
Method
get_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
Method
get_bboxes
(self)
mmdet/core/mask/structures.py:1039
Method
get_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
Method
get_bboxes
(self, cls_scores, bbox_preds, shape_preds,
mmdet/models/dense_heads/guided_anchor_head.py:756
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdet/models/dense_heads/sabl_retina_head.py:535
Method
get_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
Method
get_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
Method
get_bboxes
(self, rois, cls_score, bbox_pred,
mmdet/models/roi_heads/bbox_heads/sabl_head.py:485
Method
get_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
Method
get_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
Method
get_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
Function
get_distortions_from_file
(filename)
tools/analysis_tools/robustness_eval.py:184
Function
get_image_metas
(data_info, img_prefix)
tools/misc/get_image_metas.py:65
Method
get_indexes
Call function to collect indexes. Args: dataset (:obj:`MultiImageMixDataset`): The dataset. Returns: list: i
mmdet/datasets/pipelines/transforms.py:2045
Method
get_indexes
Call function to collect indexes.s. Args: dataset (:obj:`MultiImageMixDataset`): The dataset. Returns: list:
mmdet/datasets/pipelines/transforms.py:2806
Method
get_lr
(self, runner, base_lr)
mmdet/core/hook/yolox_lrupdater_hook.py:44
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_relation_matrix
Get hierarchy for classes. Args: hierarchy_file (str): File path to the hierarchy for classes. Returns: ndar
mmdet/datasets/openimages.py:830
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:138
Method
get_targets
(self, sampling_results, rcnn_train_cfg)
mmdet/models/roi_heads/mask_heads/grid_head.py:224
Method
get_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
Method
get_targets
(self, sampling_results, gt_bboxes, gt_labels, rcnn_train_cfg)
mmdet/models/roi_heads/bbox_heads/sabl_head.py:336
Method
get_warmup_lr
(self, cur_iters)
mmdet/core/hook/yolox_lrupdater_hook.py:27
Method
grid_points
(self, featmap_size, stride=16, device='cuda')
mmdet/core/anchor/point_generator.py:20
Function
imagenet_det_classes
()
mmdet/core/evaluation/class_names.py:17
Function
imagenet_vid_classes
()
mmdet/core/evaluation/class_names.py:58
Method
import_wandb
(self)
mmdet/core/hook/wandblogger_hook.py:114
Method
inference
(self, data, *args, **kwargs)
tools/deployment/mmdet_handler.py:43
Method
info
Returns a dictionary of info about the object.
mmdet/core/bbox/samplers/mask_sampling_result.py:50
Method
info
Returns a dictionary of info about the object.
mmdet/core/bbox/samplers/sampling_result.py:81
Method
init_assigner_sampler
Initialize assigner and sampler.
mmdet/models/roi_heads/standard_roi_head.py:14
Method
init_assigner_sampler
Initialize assigner and sampler for each stage.
mmdet/models/roi_heads/cascade_roi_head.py:100
Method
init_bbox_head
Initialize ``bbox_head``
mmdet/models/roi_heads/standard_roi_head.py:23
Method
init_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
Method
init_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/standard_roi_head.py:28
Method
init_mask_head
Initialize ``mask_head``
mmdet/models/roi_heads/scnet_roi_head.py:50
Method
init_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
Method
init_weights
(self)
mmdet/models/seg_heads/panoptic_fpn_head.py:137
Method
init_weights
(self)
mmdet/models/necks/ct_resnet_neck.py:64
Method
init_weights
(self)
mmdet/models/necks/dilated_encoder.py:95
Method
init_weights
Initialize the weights of module.
mmdet/models/necks/nasfcos_fpn.py:157
Method
init_weights
Initialize the weights of module.
mmdet/models/necks/fpn_carafe.py:209
Method
init_weights
(self, pretrained=None)
mmdet/models/backbones/ssd_vgg.py:105
Method
init_weights
(self)
mmdet/models/backbones/pvt.py:319
Method
init_weights
(self)
mmdet/models/backbones/swin.py:78
Method
init_weights
Init module weights.
mmdet/models/backbones/hourglass.py:195
Method
init_weights
Initialize weights of the DeformDETR head.
mmdet/models/dense_heads/deformable_detr_head.py:83
Method
init_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
Method
init_weights
(self)
mmdet/models/dense_heads/base_dense_head.py:18
Method
init_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
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/centernet_head.py:72
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/retina_sepbn_head.py:78
Method
init_weights
(self)
mmdet/models/dense_heads/yolo_head.py:170
Method
init_weights
(self)
mmdet/models/dense_heads/mask2former_head.py:137
Method
init_weights
(self)
mmdet/models/dense_heads/tood_head.py:58
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/tood_head.py:191
Method
init_weights
(self)
mmdet/models/dense_heads/maskformer_head.py:127
Method
init_weights
(self)
mmdet/models/dense_heads/yolof_head.py:108
Method
init_weights
(self)
mmdet/models/dense_heads/centripetal_head.py:141
Method
init_weights
(self)
mmdet/models/dense_heads/yolox_head.py:176
Method
init_weights
Initialize weights of the head.
mmdet/models/dense_heads/ddod_head.py:110
Method
init_weights
(self)
mmdet/models/dense_heads/corner_head.py:230
Method
init_weights
Initialize weights of the transformer head.
mmdet/models/dense_heads/detr_head.py:167
Method
init_weights
Initialize the transformer weights.
mmdet/models/utils/transformer.py:751
Method
init_weights
(self)
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:115
Method
init_weights
(self)
mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:84
Method
init_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
Method
init_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
Method
init_weights
Initialize weights.
mmdet/models/plugins/msdeformattn_pixel_decoder.py:135
Method
init_weights
Initialize weights.
mmdet/models/plugins/pixel_decoder.py:79
Method
init_weights
Initialize weights.
mmdet/models/plugins/pixel_decoder.py:178
Method
initialize
(self, context)
tools/deployment/mmdet_handler.py:15
Method
is_center_of_bboxes_in_patch
(boxes, patch)
mmdet/datasets/pipelines/transforms.py:1233
Method
legacy_forward
multi head attention forward in mmcv version < 1.3.17.
mmdet/models/backbones/pvt.py:200
Method
load_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
Method
load_annotations
Load annotation from lvis style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdet/datasets/lvis.py:272
Method
load_annotations
(self, ann_file)
mmdet/datasets/lvis.py:717
Method
load_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
← previous
next →
2,101–2,200 of 2,751, ranked by callers