Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JiaquanYe/MASTER-mmocr
/ functions
Functions
2,851 in github.com/JiaquanYe/MASTER-mmocr
⨍
Functions
2,851
◇
Types & classes
489
↳
Endpoints
22
Method
generate_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
Method
generate_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
Method
get_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
Method
get_bboxes
(self, cls_scores, pts_preds_init, pts_preds_refine,
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:664
Method
get_bboxes
(self, cls_scores, bbox_preds, shape_preds,
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:748
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_bboxes
Get proposal predict.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:499
Method
get_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:260
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-2.11.0/mmdet/models/dense_heads/centripetal_head.py:358
Method
get_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
Method
get_bboxes
(self, cls_scores, bbox_preds, img_metas,
mmdetection-2.11.0/mmdet/models/dense_heads/sabl_retina_head.py:523
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-2.11.0/mmdet/models/dense_heads/corner_head.py:638
Method
get_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
Method
get_bboxes
(self, rois, cls_score, bbox_pred,
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/sabl_head.py:461
Method
get_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
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-2.11.0/mmdet/datasets/xml_style.py:148
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-2.11.0/mmdet/datasets/custom.py:130
Function
get_distortions_from_file
(filename)
mmdetection-2.11.0/tools/analysis_tools/robustness_eval.py:183
Method
get_item
(self, data_ret, index)
mmocr/datasets/utils/parser.py:71
Method
get_item
(self, data_ret, index)
mmocr/datasets/utils/parser.py:208
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_targets
(self, sampling_results, gt_masks, rcnn_train_cfg)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:128
Method
get_targets
(self, sampling_results, rcnn_train_cfg)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/grid_head.py:220
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
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/bbox_head.py:151
Method
get_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
Function
ignore_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
Function
imagenet_det_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:16
Function
imagenet_vid_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:57
Function
imshow_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
Method
ind
(self)
mmocr/models/textdet/postprocess/wrapper.py:521
Method
inference
(self, data, *args, **kwargs)
mmdetection-2.11.0/tools/deployment/mmdet_handler.py:42
Method
info
Returns a dictionary of info about the object.
mmdetection-2.11.0/mmdet/core/bbox/samplers/sampling_result.py:80
Method
init_assigner_sampler
Initialize assigner and sampler.
mmdetection-2.11.0/mmdet/models/roi_heads/standard_roi_head.py:13
Method
init_assigner_sampler
Initialize assigner and sampler for each stage.
mmdetection-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:92
Method
init_bbox_head
Initialize ``bbox_head``
mmdetection-2.11.0/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-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:44
Method
init_class_parameters
(self, m)
mmocr/models/textdet/dense_heads/db_head.py:59
Method
init_mask_head
Initialize ``mask_head``
mmdetection-2.11.0/mmdet/models/roi_heads/standard_roi_head.py:27
Method
init_mask_head
Initialize ``mask_head``
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:47
Method
init_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
Method
init_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/yolo_neck.py:133
Method
init_weights
(self)
mmdetection-2.11.0/mmdet/models/necks/rfp.py:97
Method
init_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/hrfpn.py:73
Method
init_weights
(self)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:308
Method
init_weights
Initialize the weights of ChannelMapper module.
mmdetection-2.11.0/mmdet/models/necks/channel_mapper.py:64
Method
init_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/nasfcos_fpn.py:149
Method
init_weights
Initialize the weights of module.
mmdetection-2.11.0/mmdet/models/necks/fpn_carafe.py:202
Method
init_weights
Initialize the weights of FPN module.
mmdetection-2.11.0/mmdet/models/necks/bfp.py:66
Method
init_weights
Initialize the weights of module.
mmdetection-2.11.0/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-2.11.0/mmdet/models/backbones/ssd_vgg.py:75
Method
init_weights
(self, pretrained=None)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:135
Method
init_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
Method
init_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
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:151
Method
init_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:215
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/retina_head.py:83
Method
init_weights
Initialize weights of the layer.
mmdetection-2.11.0/mmdet/models/dense_heads/ga_retina_head.py:72
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/ssd_head.py:93
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.
mmdetection-2.11.0/mmdet/models/dense_heads/embedding_rpn_head.py:37
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/vfnet_head.py:179
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/retina_sepbn_head.py:74
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:145
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:104
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:108
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:494
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:654
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:131
Method
init_weights
Initialize weights of the transformer head.
mmdetection-2.11.0/mmdet/models/dense_heads/transformer_head.py:175
Method
init_weights
Init weights of a CascadeRPN stage.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:151
Method
init_weights
Init weight of CascadeRPN.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:699
Method
init_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:32
Method
init_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:105
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/ga_rpn_head.py:29
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/fsaf_head.py:62
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/atss_head.py:87
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/centripetal_head.py:133
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/gfl_head.py:142
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/rpn_head.py:35
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/fcos_head.py:99
Method
init_weights
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/sabl_retina_head.py:172
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:216
Method
init_weights
Initialize weights of the head.
mmdetection-2.11.0/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-2.11.0/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-2.11.0/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-2.11.0/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-2.11.0/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-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:53
Method
init_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
Method
init_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
Method
init_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
Method
init_weights
(self)
mmdetection-2.11.0/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-2.11.0/mmdet/models/roi_heads/mask_heads/mask_point_head.py:80
← previous
next →
2,201–2,300 of 2,851, ranked by callers