MCPcopy Create free account

hub / github.com/FenHua/DetDak / functions

Functions1,414 in github.com/FenHua/DetDak

Methodforward_train
Forward function for training. Args: x (list[Tensor]): List of multi-level img features. img_metas (list[dict]): List
mmdetection/mmdet/models/roi_heads/pisa_roi_head.py:12
Methodforward_train
Args: x (list[Tensor]): list of multi-level img features. img_metas (list[dict]): list of image info dict where each
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:70
Methodforward_train
Forward function during training.
mmdetection/mmdet/models/roi_heads/base_roi_head.py:74
Methodforward_train
Forward function for training. Args: x (list[Tensor]): list of multi-level img features. img_metas (list[dict]): lis
mmdetection/mmdet/models/roi_heads/dynamic_roi_head.py:22
Methodforward_train
Args: x (list[Tensor]): list of multi-level img features. img_metas (list[dict]): list of image info dict where each
mmdetection/mmdet/models/roi_heads/htc_roi_head.py:213
Methodforward_train
Args: x (list[Tensor]): list of multi-level img features. img_metas (list[dict]): list of image info dict where each
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:203
Methodforward_train
Args: img (Tensor): of shape (N, C, H, W) encoding input images. Typically these should be mean centered and std
mmdetection/mmdet/models/detectors/two_stage.py:105
Methodforward_train
Args: img (Tensor): Input images of shape (N, C, H, W). Typically these should be mean centered and std scaled.
mmdetection/mmdet/models/detectors/single_stage.py:67
Methodfreeze_bn
(self)
efficientdet/backbone.py:62
Functiongen_attack
(model, img, norm_ord, max_iter, epsilon, mask)
attack_utils/attackloss_rcnn.py:55
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
mmdetection/mmdet/core/anchor/anchor_generator.py:519
Methodget_ann_info
Get annotation from XML file by index. Args: idx (int): Index of data. Returns: dict: Annotation info of spe
mmdetection/mmdet/datasets/xml_style.py:78
Methodget_bboxes
(self, cls_scores, pts_preds_init, pts_preds_refine,
mmdetection/mmdet/models/dense_heads/reppoints_head.py:660
Methodget_bboxes
(self, cls_scores, bbox_preds, shape_preds,
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:752
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdetection/mmdet/models/dense_heads/anchor_head.py:500
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:260
Methodget_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdetection/mmdet/models/dense_heads/fovea_head.py:261
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdetection/mmdet/models/dense_heads/fcos_head.py:253
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each leve
mmdetection/mmdet/models/dense_heads/corner_head.py:626
Methodget_bboxes
(self, rois, cls_score, bbox_pred,
mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py:188
Methodget_cat_ids
Get category ids in XML file by index. Args: idx (int): Index of data. Returns: list[int]: All categories in
mmdetection/mmdet/datasets/xml_style.py:143
Methodget_cat_ids
Get category ids by index. Args: idx (int): Index of data. Returns: list[int]: All categories in the image o
mmdetection/mmdet/datasets/custom.py:127
Functionget_coco_label_names
COCO label names and correspondence between the model's class index and COCO class index. Returns: coco_label_names (tuple of str) :
util_copy/utils_coco.py:341
Functionget_distortions_from_file
(filename)
mmdetection/tools/robustness_eval.py:183
Methodget_image_size
(cls, model_name)
efficientnet/model.py:227
Functionget_mesh
(mask, threshold=2000)
run1.py:31
Functionget_mesh
(mask, threshold=2000)
run0.py:31
Methodget_points
Get points according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. dtype (t
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:313
Methodget_subset_by_classes
Filter imgs by user-defined categories.
mmdetection/mmdet/datasets/xml_style.py:61
Methodget_subset_by_classes
Get img ids that contain any category in class_ids. Different from the coco.getImgIds(), this function returns the id if the img cont
mmdetection/mmdet/datasets/coco.py:98
Methodget_targets
Compute regression, classification and centerss targets for points in multiple images. Args: points (list[Tensor]): Point
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:283
Methodget_targets
Get training targets of MaskPointHead for all images. Args: rois (Tensor): Region of Interest, shape (num_rois, 5). r
mmdetection/mmdet/models/roi_heads/mask_heads/mask_point_head.py:106
Methodget_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdetection/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:128
Methodget_targets
(self, sampling_results, gt_bboxes, gt_labels,
mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py:115
Functionimagenet_det_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:16
Functionimagenet_vid_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:57
Methodinfo
Returns a dictionary of info about the object.
mmdetection/mmdet/core/bbox/samplers/sampling_result.py:80
Methodinit_assigner_sampler
Initialize assigner and sampler.
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:13
Methodinit_assigner_sampler
Initialize assigner and sampler for each stage.
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:92
Methodinit_backbone
(self, path)
efficientdet/backbone.py:81
Methodinit_bbox_head
Initialize ``bbox_head``
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:22
Methodinit_bbox_head
Initialize box head and box roi extractor. Args: bbox_roi_extractor (dict): Config of box roi extractor. bbox_head (d
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:44
Methodinit_mask_head
Initialize ``mask_head``
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:27
Methodinit_mask_head
Initialize mask head and mask roi extractor. Args: mask_roi_extractor (dict): Config of mask roi extractor. mask_head
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:64
Methodinit_weights
(self)
mmdetection/mmdet/models/necks/rfp.py:97
Methodinit_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/hrfpn.py:73
Methodinit_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/nasfcos_fpn.py:149
Methodinit_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/fpn_carafe.py:202
Methodinit_weights
Initialize the weights of FPN module.
mmdetection/mmdet/models/necks/bfp.py:66
Methodinit_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/nas_fpn.py:123
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection/mmdet/models/backbones/ssd_vgg.py:75
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection/mmdet/models/backbones/hrnet.py:467
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection/mmdet/models/backbones/resnet.py:591
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/reppoints_head.py:151
Methodinit_weights
(self)
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:219
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/retina_head.py:83
Methodinit_weights
Initialize weights of the layer.
mmdetection/mmdet/models/dense_heads/ga_retina_head.py:72
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/ssd_head.py:98
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/retina_sepbn_head.py:74
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/anchor_head.py:109
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:138
Methodinit_weights
(self)
mmdetection/mmdet/models/dense_heads/fovea_head.py:32
Methodinit_weights
(self)
mmdetection/mmdet/models/dense_heads/fovea_head.py:105
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/ga_rpn_head.py:26
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/fsaf_head.py:61
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/atss_head.py:93
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/gfl_head.py:150
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/rpn_head.py:32
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/fcos_head.py:98
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/corner_head.py:214
Methodinit_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/nasfcos_head.py:63
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights.
mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py:26
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to None.
mmdetection/mmdet/models/roi_heads/mask_scoring_roi_head.py:20
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to None.
mmdetection/mmdet/models/roi_heads/grid_roi_head.py:26
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to None.
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:37
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to None.
mmdetection/mmdet/models/roi_heads/base_roi_head.py:49
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to None.
mmdetection/mmdet/models/roi_heads/htc_roi_head.py:40
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to None.
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:102
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:29
Methodinit_weights
Initialize last classification layer of MaskPointHead, conv layers are already initialized by ConvModule.
mmdetection/mmdet/models/roi_heads/mask_heads/mask_point_head.py:80
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:106
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/grid_head.py:141
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:82
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/maskiou_head.py:65
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/htc_mask_head.py:21
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:72
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py:66
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:143
Methodinit_weights
(self)
mmdetection/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py:126
Methodinit_weights
Initialize the weights in the module. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to
mmdetection/mmdet/models/roi_heads/shared_heads/res_layer.py:48
Methodinit_weights
Initialize the weights in detector. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection/mmdet/models/detectors/base.py:94
Functioninvert_affine
(metas: Union[float, list, tuple], preds)
util_copy/utils.py:101
Methodis_center_of_bboxes_in_patch
(boxes, patch)
mmdetection/mmdet/datasets/pipelines/transforms.py:885
Functionlabel2yolobox
Transform coco labels to yolo box labels Args: labels (numpy.ndarray): label data whose shape is :math:`(N, 5)`. Each lab
util_copy/utils_coco.py:168
Methodload_annotations
Load annotation from XML style ann_file. Args: ann_file (str): Path of XML file. Returns: list[dict]: Annota
mmdetection/mmdet/datasets/xml_style.py:27
Methodload_annotations
Load annotation from lvis style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdetection/mmdet/datasets/lvis.py:267
Methodload_annotations
Load annotation from WIDERFace XML style annotation file. Args: ann_file (str): Path of XML file. Returns: l
mmdetection/mmdet/datasets/wider_face.py:22
Functionload_class_names
(namesfile)
util_copy/utils.py:506
Functionload_img_info
(files)
mmdetection/tools/convert_datasets/cityscapes.py:39
Methodloss
(self, cls_scores, pts_preds_init, pts_preds_refine, gt_bb
mmdetection/mmdet/models/dense_heads/reppoints_head.py:565
← previousnext →1,101–1,200 of 1,414, ranked by callers