Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FenHua/DetDak
/ functions
Functions
1,414 in github.com/FenHua/DetDak
⨍
Functions
1,414
◇
Types & classes
240
Method
forward_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
Method
forward_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
Method
forward_train
Forward function during training.
mmdetection/mmdet/models/roi_heads/base_roi_head.py:74
Method
forward_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
Method
forward_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
Method
forward_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
Method
forward_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
Method
forward_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
Method
freeze_bn
(self)
efficientdet/backbone.py:62
Function
gen_attack
(model, img, norm_ord, max_iter, epsilon, mask)
attack_utils/attackloss_rcnn.py:55
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
mmdetection/mmdet/core/anchor/anchor_generator.py:519
Method
get_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
Method
get_bboxes
(self, cls_scores, pts_preds_init, pts_preds_refine,
mmdetection/mmdet/models/dense_heads/reppoints_head.py:660
Method
get_bboxes
(self, cls_scores, bbox_preds, shape_preds,
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:752
Method
get_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
Method
get_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
Method
get_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdetection/mmdet/models/dense_heads/fovea_head.py:261
Method
get_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
Method
get_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
Method
get_bboxes
(self, rois, cls_score, bbox_pred,
mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py:188
Method
get_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
Method
get_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
Function
get_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
Function
get_distortions_from_file
(filename)
mmdetection/tools/robustness_eval.py:183
Method
get_image_size
(cls, model_name)
efficientnet/model.py:227
Function
get_mesh
(mask, threshold=2000)
run1.py:31
Function
get_mesh
(mask, threshold=2000)
run0.py:31
Method
get_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
Method
get_subset_by_classes
Filter imgs by user-defined categories.
mmdetection/mmdet/datasets/xml_style.py:61
Method
get_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
Method
get_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
Method
get_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
Method
get_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdetection/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:128
Method
get_targets
(self, sampling_results, gt_bboxes, gt_labels,
mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py:115
Function
imagenet_det_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:16
Function
imagenet_vid_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:57
Method
info
Returns a dictionary of info about the object.
mmdetection/mmdet/core/bbox/samplers/sampling_result.py:80
Method
init_assigner_sampler
Initialize assigner and sampler.
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:13
Method
init_assigner_sampler
Initialize assigner and sampler for each stage.
mmdetection/mmdet/models/roi_heads/cascade_roi_head.py:92
Method
init_backbone
(self, path)
efficientdet/backbone.py:81
Method
init_bbox_head
Initialize ``bbox_head``
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:22
Method
init_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
Method
init_mask_head
Initialize ``mask_head``
mmdetection/mmdet/models/roi_heads/standard_roi_head.py:27
Method
init_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
Method
init_weights
(self)
mmdetection/mmdet/models/necks/rfp.py:97
Method
init_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/hrfpn.py:73
Method
init_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/nasfcos_fpn.py:149
Method
init_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/fpn_carafe.py:202
Method
init_weights
Initialize the weights of FPN module.
mmdetection/mmdet/models/necks/bfp.py:66
Method
init_weights
Initialize the weights of module.
mmdetection/mmdet/models/necks/nas_fpn.py:123
Method
init_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
Method
init_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
Method
init_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
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/reppoints_head.py:151
Method
init_weights
(self)
mmdetection/mmdet/models/dense_heads/guided_anchor_head.py:219
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/retina_head.py:83
Method
init_weights
Initialize weights of the layer.
mmdetection/mmdet/models/dense_heads/ga_retina_head.py:72
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/ssd_head.py:98
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/retina_sepbn_head.py:74
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/anchor_head.py:109
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/anchor_free_head.py:138
Method
init_weights
(self)
mmdetection/mmdet/models/dense_heads/fovea_head.py:32
Method
init_weights
(self)
mmdetection/mmdet/models/dense_heads/fovea_head.py:105
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/ga_rpn_head.py:26
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/fsaf_head.py:61
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/atss_head.py:93
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/gfl_head.py:150
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/rpn_head.py:32
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/fcos_head.py:98
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/corner_head.py:214
Method
init_weights
Initialize weights of the head.
mmdetection/mmdet/models/dense_heads/nasfcos_head.py:63
Method
init_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
Method
init_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
Method
init_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
Method
init_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
Method
init_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
Method
init_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
Method
init_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
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:29
Method
init_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
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:106
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/grid_head.py:141
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:82
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/maskiou_head.py:65
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/htc_mask_head.py:21
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:72
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py:66
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:143
Method
init_weights
(self)
mmdetection/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py:126
Method
init_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
Method
init_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
Function
invert_affine
(metas: Union[float, list, tuple], preds)
util_copy/utils.py:101
Method
is_center_of_bboxes_in_patch
(boxes, patch)
mmdetection/mmdet/datasets/pipelines/transforms.py:885
Function
label2yolobox
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
Method
load_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
Method
load_annotations
Load annotation from lvis style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdetection/mmdet/datasets/lvis.py:267
Method
load_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
Function
load_class_names
(namesfile)
util_copy/utils.py:506
Function
load_img_info
(files)
mmdetection/tools/convert_datasets/cityscapes.py:39
Method
loss
(self, cls_scores, pts_preds_init, pts_preds_refine, gt_bb
mmdetection/mmdet/models/dense_heads/reppoints_head.py:565
← previous
next →
1,101–1,200 of 1,414, ranked by callers