MCPcopy Create free account

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

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

↓ 1 callersMethod_get_bboxes
Transform outputs for a single batch item into labeled boxes. Args: cls_scores (list[Tensor]): Box scores for a single scale leve
mmdetection-2.11.0/mmdet/models/dense_heads/atss_head.py:376
↓ 1 callersMethod_get_bboxes
Transform outputs for a single batch item into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for a single scale l
mmdetection-2.11.0/mmdet/models/dense_heads/fcos_head.py:322
↓ 1 callersMethod_get_bboxes_single
(self, cls_scores, bbox_preds,
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:702
↓ 1 callersMethod_get_bboxes_single
(self, cls_scores, bbox_preds,
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:792
↓ 1 callersMethod_get_bboxes_single
Similiar to func:``AnchorHead._get_bboxes_single``, but additionally processes coeff_preds_list and uses fast NMS instead of tradition
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:363
↓ 1 callersMethod_get_bboxes_single
Transform outputs from the last decoder layer into bbox predictions for each image. Args: cls_score (Tensor): Box score l
mmdetection-2.11.0/mmdet/models/dense_heads/transformer_head.py:612
↓ 1 callersMethod_get_bboxes_single
Transform outputs for a single batch item into bbox predictions. Args: cls_scores (list[Tensor]): Box scores for each scale level
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:543
↓ 1 callersMethod_get_bboxes_single
(self, cls_scores, bbox_preds,
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:291
↓ 1 callersMethod_get_bboxes_single
Transform outputs for a single batch item into bbox predictions. Args: tl_heat (Tensor): Top-left corner heatmap for current leve
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:687
↓ 1 callersMethod_get_boundary_single
(self, score_map, scale)
mmocr/models/textdet/dense_heads/fce_head.py:120
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
mmdetection-2.11.0/tests/test_models/test_forward.py:10
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
tests/test_models/test_recog_config.py:67
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
tests/test_models/test_kie_config.py:46
↓ 1 callersFunction_get_config_directory
Find the predefined detector config directory.
tests/test_models/test_detector.py:94
↓ 1 callersFunction_get_config_module
Load a configuration as a python module.
tests/test_models/test_recog_config.py:82
↓ 1 callersFunction_get_config_module
Load a configuration as a python module.
tests/test_models/test_ner_model.py:17
↓ 1 callersFunction_get_config_module
Load a configuration as a python module.
tests/test_models/test_kie_config.py:61
↓ 1 callersFunction_get_config_module
Load a configuration as a python module.
tests/test_models/test_detector.py:109
↓ 1 callersMethod_get_crop_size
Randomly generates the absolute crop size based on `crop_type` and `image_size`. Args: image_size (tuple): (h, w).
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:716
↓ 1 callersFunction_get_detector_cfg
Grab configs necessary to create a detector. These are deep copied to allow for safe modification of parameters without influencing other tes
tests/test_models/test_recog_config.py:91
↓ 1 callersFunction_get_detector_cfg
Grab configs necessary to create a detector. These are deep copied to allow for safe modification of parameters without influencing other tes
tests/test_models/test_ner_model.py:24
↓ 1 callersFunction_get_detector_cfg
Grab configs necessary to create a detector. These are deep copied to allow for safe modification of parameters without influencing other tes
tests/test_models/test_kie_config.py:70
↓ 1 callersMethod_get_guided_anchors_single
Get guided anchors and loc masks for a single level. Args: square (tensor): Squares of a single level. shape_pred (te
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:342
↓ 1 callersMethod_get_points_single
Get points of a single scale level.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:290
↓ 1 callersMethod_get_repeat_factors
Get repeat factor for each images in the dataset. Args: dataset (:obj:`CustomDataset`): The dataset repeat_thr (float
mmdetection-2.11.0/mmdet/datasets/dataset_wrappers.py:254
↓ 1 callersMethod_get_resize_scale
(self, w, h)
mmocr/datasets/pipelines/table_transforms.py:62
↓ 1 callersMethod_get_sinusoid_encoding_table
Sinusoid position encoding table.
mmocr/models/textrecog/layers/transformer_layer.py:201
↓ 1 callersFunction_imequalize
(img)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_img_augment.py:75
↓ 1 callersMethod_imequalize
Equalizes the histogram of one image.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:771
↓ 1 callersMethod_init_centripetal_layers
Initialize centripetal layers. Including feature adaption deform convs (feat_adaption), deform offset prediction convs (dcn_off), gui
mmdetection-2.11.0/mmdet/models/dense_heads/centripetal_head.py:65
↓ 1 callersMethod_init_corner_emb_layers
Initialize corner embedding layers. Only include corner embedding branch with two parts: prefix `tl_` for top-left and `br_` for bott
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:189
↓ 1 callersMethod_init_corner_kpt_layers
Initialize corner keypoint layers. Including corner heatmap branch and corner offset branch. Each branch has two parts: prefix `tl_`
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:151
↓ 1 callersMethod_init_layers
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:200
↓ 1 callersMethod_init_layers
Initialize a sparse set of proposal boxes and proposal features.
mmdetection-2.11.0/mmdet/models/dense_heads/embedding_rpn_head.py:31
↓ 1 callersMethod_init_layers
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:127
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:98
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:489
↓ 1 callersMethod_init_layers
A helper function to take a config setting and turn it into a network.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:617
↓ 1 callersMethod_init_layers
Initialize layers of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:79
↓ 1 callersMethod_init_layers
Initialize layers of the transformer head.
mmdetection-2.11.0/mmdet/models/dense_heads/transformer_head.py:160
↓ 1 callersMethod_init_layers
(self)
mmdetection-2.11.0/mmdet/models/dense_heads/sabl_retina_head.py:141
↓ 1 callersMethod_init_layers
Initialize layers for CornerHead. Including two parts: corner keypoint layers and corner embedding layers
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:207
↓ 1 callersMethod_init_predictor
Initialize predictor layers of the head.
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:125
↓ 1 callersMethod_init_thr
(self, inner_channels, bias=False)
mmocr/models/textdet/dense_heads/db_head.py:77
↓ 1 callersMethod_load
Load annotation file.
mmocr/datasets/utils/loader.py:34
↓ 1 callersMethod_load_anns
(self, results)
mmdetection-2.11.0/mmdet/datasets/pipelines/instaboost.py:36
↓ 1 callersFunction_load_bboxes
(results)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:75
↓ 1 callersMethod_load_bboxes
Private function to load bounding box annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Re
mmdetection-2.11.0/mmdet/datasets/pipelines/loading.py:229
↓ 1 callersFunction_load_labels
(results)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:85
↓ 1 callersMethod_load_labels
Private function to load label annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdetection-2.11.0/mmdet/datasets/pipelines/loading.py:249
↓ 1 callersFunction_load_masks
(results, poly2mask=True)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:114
↓ 1 callersMethod_load_masks
Private function to load mask annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns:
mmdetection-2.11.0/mmdet/datasets/pipelines/loading.py:306
↓ 1 callersMethod_load_masks
(self, results)
mmocr/datasets/pipelines/loading.py:46
↓ 1 callersMethod_load_semantic_seg
Private function to load semantic segmentation annotations. Args: results (dict): Result dict from :obj:`dataset`. Retur
mmdetection-2.11.0/mmdet/datasets/pipelines/loading.py:331
↓ 1 callersMethod_log_error_index
Logging data info of bad index.
mmocr/datasets/base_dataset.py:116
↓ 1 callersMethod_make_branches
(self, num_branches, block, num_blocks, num_channels)
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:106
↓ 1 callersMethod_make_extra_layers
(self, outplanes)
mmdetection-2.11.0/mmdet/models/backbones/ssd_vgg.py:119
↓ 1 callersMethod_make_fuse_layers
(self)
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:115
↓ 1 callersMethod_make_layer
(self, block, inplanes, planes, blocks, stride=1)
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:403
↓ 1 callersMethod_make_one_branch
(self, branch_index, block, num_blo
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:62
↓ 1 callersMethod_make_stem_layer
(self, in_channels, stem_channels)
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:524
↓ 1 callersMethod_make_stem_layer
(self, in_channels, base_channels)
mmdetection-2.11.0/mmdet/models/backbones/regnet.py:207
↓ 1 callersMethod_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/standard_roi_head.py:161
↓ 1 callersMethod_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/htc_roi_head.py:121
↓ 1 callersMethod_mask_forward_train
Run forward function and calculate loss for mask head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:180
↓ 1 callersMethod_mask_point_forward_train
Run forward function and calculate loss for point head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/point_rend_roi_head.py:50
↓ 1 callersMethod_pad
(self, img, size, pad_val)
mmocr/datasets/pipelines/table_transforms.py:163
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:497
↓ 1 callersMethod_pad_img
(self, results)
mmocr/datasets/pipelines/table_transforms.py:206
↓ 1 callersMethod_pad_masks
Pad masks according to ``results['pad_shape']``.
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:511
↓ 1 callersMethod_pad_seg
Pad semantic segmentation map according to ``results['pad_shape']``.
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:517
↓ 1 callersMethod_parse_ann_info
Parse bbox and mask annotation. Args: ann_info (list[dict]): Annotation info of an image. with_mask (bool): Whether t
mmdetection-2.11.0/mmdet/datasets/coco.py:124
↓ 1 callersMethod_parse_anns
(self, results, anns, img)
mmdetection-2.11.0/mmdet/datasets/pipelines/instaboost.py:58
↓ 1 callersFunction_poly2mask
(mask_ann, img_h, img_w)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:89
↓ 1 callersMethod_polygon_area
Compute the area of a component of a polygon. Using the shoelace formula: https://stackoverflow.com/questions/24467972/calculate-area
mmdetection-2.11.0/mmdet/core/mask/structures.py:855
↓ 1 callersFunction_process_polygons
(polygons)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:105
↓ 1 callersMethod_proposal2json
Convert proposal results to COCO json style.
mmdetection-2.11.0/mmdet/datasets/coco.py:203
↓ 1 callersMethod_rand_another
Get another random index from the same group as the given index.
mmdetection-2.11.0/mmdet/datasets/custom.py:174
↓ 1 callersMethod_random_jitter
Ramdom jitter positive proposals for training.
mmdetection-2.11.0/mmdet/models/roi_heads/grid_roi_head.py:38
↓ 1 callersMethod_random_scale
(self, results)
mmocr/datasets/pipelines/transforms.py:305
↓ 1 callersFunction_recalls
(all_ious, proposal_nums, thrs)
mmdetection-2.11.0/mmdet/core/evaluation/recall.py:10
↓ 1 callersMethod_resize_bboxes
Resize bounding boxes with ``results['scale_factor']``.
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:234
↓ 1 callersMethod_resize_bboxes
(self, results)
mmocr/datasets/pipelines/table_transforms.py:82
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:203
↓ 1 callersMethod_resize_img
(self, results)
mmocr/datasets/pipelines/table_transforms.py:100
↓ 1 callersMethod_resize_masks
Resize masks with ``results['scale']``
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:244
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:254
↓ 1 callersMethod_rotate_bboxes
Rotate the bboxes.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:424
↓ 1 callersMethod_rotate_img
Rotate the image. Args: results (dict): Result dict from loading pipeline. angle (float): Rotation angle in degrees,
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:406
↓ 1 callersMethod_rotate_masks
Rotate the masks.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:459
↓ 1 callersMethod_rotate_seg
Rotate the segmentation map.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:471
↓ 1 callersMethod_sample_neg
Sample negative samples.
mmdetection-2.11.0/mmdet/core/bbox/samplers/base_sampler.py:30
↓ 1 callersMethod_sample_neg
Sample negative samples. Score-HLR sampler is done in the following steps: 1. Take the maximum positive score prediction of each nega
mmdetection-2.11.0/mmdet/core/bbox/samplers/score_hlr_sampler.py:99
↓ 1 callersMethod_sample_pos
Sample positive samples.
mmdetection-2.11.0/mmdet/core/bbox/samplers/base_sampler.py:25
↓ 1 callersMethod_sample_pos
Randomly sample some positive samples.
mmdetection-2.11.0/mmdet/core/bbox/samplers/score_hlr_sampler.py:91
↓ 1 callersMethod_segm2json
Convert instance segmentation results to COCO json style.
mmdetection-2.11.0/mmdet/datasets/coco.py:235
↓ 1 callersMethod_set_group_flag
Set flag according to image aspect ratio. Images with aspect ratio greater than 1 will be set as group 1, otherwise group 0.
mmdetection-2.11.0/mmdet/datasets/custom.py:162
↓ 1 callersMethod_set_group_flag
Set flag.
mmocr/datasets/base_dataset.py:81
↓ 1 callersMethod_shear_bboxes
Shear the bboxes.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:203
↓ 1 callersMethod_shear_img
Shear the image. Args: results (dict): Result dict from loading pipeline. magnitude (int | float): The magnitude used
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:179
← previousnext →601–700 of 2,851, ranked by callers