MCPcopy Create free account

hub / github.com/JiaquanYe/MASTER-mmocr / functions

Functions2,851 in github.com/JiaquanYe/MASTER-mmocr

Methodgenerate_targets
Generate the gt targets for TextSnake. Args: results (dict): The input result dictionary. Returns: results (
mmocr/datasets/pipelines/textdet_targets/textsnake_targets.py:447
Methodgenerate_targets
Generate the gt targets for DRRG. Args: results (dict): The input result dictionary. Returns: results (dict)
mmocr/datasets/pipelines/textdet_targets/drrg_targets.py:486
Methodget_ann_info
Get annotation from XML file by index. Args: idx (int): Index of data. Returns: dict: Annotation info of spe
mmdetection-2.11.0/mmdet/datasets/xml_style.py:82
Methodget_bboxes
(self, cls_scores, pts_preds_init, pts_preds_refine,
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:664
Methodget_bboxes
(self, cls_scores, bbox_preds, shape_preds,
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:748
Methodget_bboxes
Transform network outputs for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box iou-aware scores for each scale
mmdetection-2.11.0/mmdet/models/dense_heads/vfnet_head.py:466
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: pred_maps (list[Tensor]): Raw predictions for a batch of images
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:173
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:496
Methodget_bboxes
Similiar to func:``AnchorHead.get_bboxes``, but additionally processes coeff_preds. Args: cls_scores (list[Tensor]): Box
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:296
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:253
Methodget_bboxes
Transform network outputs for a batch into bbox predictions. Args: all_cls_scores_list (list[Tensor]): Classification outputs
mmdetection-2.11.0/mmdet/models/dense_heads/transformer_head.py:568
Methodget_bboxes
Get proposal predict.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:499
Methodget_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:260
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each leve
mmdetection-2.11.0/mmdet/models/dense_heads/centripetal_head.py:358
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdetection-2.11.0/mmdet/models/dense_heads/fcos_head.py:257
Methodget_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdetection-2.11.0/mmdet/models/dense_heads/sabl_retina_head.py:523
Methodget_bboxes
Transform network output for a batch into bbox predictions. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each leve
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:638
Methodget_bboxes
Transform network output for a batch into bbox predictions. If the input rois has batch dimension, the function would be in `batch_mo
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/bbox_head.py:270
Methodget_bboxes
(self, rois, cls_score, bbox_pred,
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/sabl_head.py:461
Methodget_boundary
Compute text boundaries via post processing. Args: score_maps (Tensor): The text score map. img_metas (dict): The ima
mmocr/models/textdet/dense_heads/head_mixin.py:36
Methodget_cat_ids
Get category ids in XML file by index. Args: idx (int): Index of data. Returns: list[int]: All categories in
mmdetection-2.11.0/mmdet/datasets/xml_style.py:148
Methodget_cat_ids
Get category ids by index. Args: idx (int): Index of data. Returns: list[int]: All categories in the image o
mmdetection-2.11.0/mmdet/datasets/custom.py:130
Functionget_distortions_from_file
(filename)
mmdetection-2.11.0/tools/analysis_tools/robustness_eval.py:183
Methodget_item
(self, data_ret, index)
mmocr/datasets/utils/parser.py:71
Methodget_item
(self, data_ret, index)
mmocr/datasets/utils/parser.py:208
Methodget_points
Get points according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. dtype (t
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:306
Methodget_pos_loss
Calculate loss of all potential positive samples obtained from first match process. Args: anchors (list[Tensor]): Anchors
mmdetection-2.11.0/mmdet/models/dense_heads/paa_head.py:201
Methodget_targets
Compute regression, classification and centerness targets for points in multiple images. Args: points (list[Tensor]): Poi
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:276
Methodget_targets
Get training targets of MaskPointHead for all images. Args: rois (Tensor): Region of Interest, shape (num_rois, 5). r
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/mask_point_head.py:106
Methodget_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:128
Methodget_targets
(self, sampling_results, rcnn_train_cfg)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/grid_head.py:220
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
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/bbox_head.py:151
Methodget_targets
(self, sampling_results, gt_bboxes, gt_labels, rcnn_train_cfg)
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/sabl_head.py:312
Functionignore_pred
Ignore the predicted box if it hits any ignored ground truth. Args: pred_boxes (list[ndarray or list]): The predicted boxes of one image.
mmocr/core/evaluation/utils.py:7
Functionimagenet_det_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:16
Functionimagenet_vid_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:57
Functionimshow_text_char_boundary
Draw text boxes and char boxes on img. Args: img (str or ndarray): The img to be displayed. text_quads (list[list[int|float]]): T
mmocr/core/visualize.py:219
Methodind
(self)
mmocr/models/textdet/postprocess/wrapper.py:521
Methodinference
(self, data, *args, **kwargs)
mmdetection-2.11.0/tools/deployment/mmdet_handler.py:42
Methodinfo
Returns a dictionary of info about the object.
mmdetection-2.11.0/mmdet/core/bbox/samplers/sampling_result.py:80
Methodinit_assigner_sampler
Initialize assigner and sampler.
mmdetection-2.11.0/mmdet/models/roi_heads/standard_roi_head.py:13
Methodinit_assigner_sampler
Initialize assigner and sampler for each stage.
mmdetection-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:92
Methodinit_bbox_head
Initialize ``bbox_head``
mmdetection-2.11.0/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-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:44
Methodinit_class_parameters
(self, m)
mmocr/models/textdet/dense_heads/db_head.py:59
Methodinit_mask_head
Initialize ``mask_head``
mmdetection-2.11.0/mmdet/models/roi_heads/standard_roi_head.py:27
Methodinit_mask_head
Initialize ``mask_head``
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:47
Methodinit_mask_head
Initialize mask head and mask roi extractor. Args: mask_roi_extractor (dict): Config of mask roi extractor. mask_head
mmdetection-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:64
Methodinit_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/yolo_neck.py:133
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/necks/rfp.py:97
Methodinit_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/hrfpn.py:73
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:308
Methodinit_weights
Initialize the weights of ChannelMapper module.
mmdetection-2.11.0/mmdet/models/necks/channel_mapper.py:64
Methodinit_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/nasfcos_fpn.py:149
Methodinit_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/fpn_carafe.py:202
Methodinit_weights
Initialize the weights of FPN module.
mmdetection-2.11.0/mmdet/models/necks/bfp.py:66
Methodinit_weights
Initialize the weights of module.
mmdetection-2.11.0/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-2.11.0/mmdet/models/backbones/ssd_vgg.py:75
Methodinit_weights
(self, pretrained=None)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:135
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection-2.11.0/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-2.11.0/mmdet/models/backbones/resnet.py:590
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:151
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:215
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/retina_head.py:83
Methodinit_weights
Initialize weights of the layer.
mmdetection-2.11.0/mmdet/models/dense_heads/ga_retina_head.py:72
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/ssd_head.py:93
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.
mmdetection-2.11.0/mmdet/models/dense_heads/embedding_rpn_head.py:37
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/vfnet_head.py:179
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/retina_sepbn_head.py:74
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:145
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:104
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:108
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:494
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:654
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:131
Methodinit_weights
Initialize weights of the transformer head.
mmdetection-2.11.0/mmdet/models/dense_heads/transformer_head.py:175
Methodinit_weights
Init weights of a CascadeRPN stage.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:151
Methodinit_weights
Init weight of CascadeRPN.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:699
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:32
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:105
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/ga_rpn_head.py:29
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/fsaf_head.py:62
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/atss_head.py:87
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/centripetal_head.py:133
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/gfl_head.py:142
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/rpn_head.py:35
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/fcos_head.py:99
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/sabl_retina_head.py:172
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:216
Methodinit_weights
Initialize weights of the head.
mmdetection-2.11.0/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-2.11.0/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-2.11.0/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-2.11.0/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-2.11.0/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-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:53
Methodinit_weights
Initialize the weights in head. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to None.
mmdetection-2.11.0/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-2.11.0/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-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:104
Methodinit_weights
(self)
mmdetection-2.11.0/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-2.11.0/mmdet/models/roi_heads/mask_heads/mask_point_head.py:80
← previousnext →2,201–2,300 of 2,851, ranked by callers