MCPcopy Create free account

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

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

↓ 1 callersMethod__init__
(self, groups=1, base_width=4, **kwargs)
mmdetection-2.11.0/mmdet/models/backbones/resnext.py:142
↓ 1 callersMethod__init__
(self, depth=53, out_indices=(3, 4, 5), frozen_stages=-1,
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:94
↓ 1 callersMethod__init__
(self, extra, in_channels=3, conv_cfg=None,
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:259
↓ 1 callersMethod__init__
Bottleneck block for ResNeXt. If style is "pytorch", the stride-two layer is the 3x3 conv layer, if it is "caffe", the stride-two lay
mmdetection-2.11.0/mmdet/models/backbones/detectors_resnext.py:13
↓ 1 callersMethod__init__
(self, downsample_times=5, num_stacks=2, stage_channels=(25
mmdetection-2.11.0/mmdet/models/backbones/hourglass.py:112
↓ 1 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3,
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:29
↓ 1 callersMethod__init__
(self, num_classes, in_channels, base_edge_list=(16, 32, 64
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:48
↓ 1 callersMethod__init__
(self, num_classes, in_channels, stacked_convs=4,
mmdetection-2.11.0/mmdet/models/dense_heads/gfl_head.py:84
↓ 1 callersMethod__init__
(self, num_classes, in_channels, num_feat_levels=2,
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:108
↓ 1 callersMethod__init__
(self, num_feats, temperature=10000, normalize=False,
mmdetection-2.11.0/mmdet/models/utils/positional_encoding.py:32
↓ 1 callersMethod__init__
(self, block, inplanes, planes, num_blocks
mmdetection-2.11.0/mmdet/models/utils/res_layer.py:24
↓ 1 callersMethod__init__
(self, in_channels, out_channels, conv_cfg=None,
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:22
↓ 1 callersMethod__init__
(self, use_sigmoid=True, beta=2.0, reduction='mean',
mmdetection-2.11.0/mmdet/models/losses/gfocal_loss.py:95
↓ 1 callersMethod__init__
(self, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/smooth_l1_loss.py:110
↓ 1 callersMethod__init__
(self, bins=10, momentum=0, use_sigmoid=True, loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/ghm_loss.py:35
↓ 1 callersMethod__init__
(self, color_type='color')
mmocr/datasets/pipelines/loading.py:120
↓ 1 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None, gcb_config=None)
mmocr/models/textrecog/backbones/resnet_extra.py:20
↓ 1 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=False)
mmocr/models/textrecog/layers/conv_layer.py:17
↓ 1 callersMethod__init__
(self, indexes=[1], scores=[0.9])
mmocr/models/textrecog/decoders/sar_decoder_with_bs.py:19
↓ 1 callersMethod__init__
(self, num_classes=37, enc_bi_rnn=False, dec_bi_rnn=False,
mmocr/models/textrecog/decoders/sar_decoder.py:37
↓ 1 callersMethod__init__
(self, feat_len)
mmocr/models/textdet/modules/gcn.py:44
↓ 1 callersMethod__init__
(self, in_channels, out_channels)
mmocr/models/textdet/necks/fpn_unet.py:12
↓ 1 callersMethod__repr__
str: the string of the module
mmdetection-2.11.0/mmdet/utils/util_mixins.py:86
↓ 1 callersMethod__setattr__
Set attribute, i.e. self.name = value This reloading prevent the teacher model from being registered as a nn.Module. The teacher modu
mmdetection-2.11.0/mmdet/models/detectors/kd_one_stage.py:89
↓ 1 callersMethod_add_conv_branch
Add the fc branch which consists of a sequential of conv layers.
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:121
↓ 1 callersMethod_add_default_meta_keys
Add default meta keys. We set default meta keys including `pad_shape`, `scale_factor` and `img_norm_cfg` to avoid the case where no `
mmdetection-2.11.0/mmdet/datasets/pipelines/formating.py:221
↓ 1 callersMethod_add_fc_branch
Add the fc branch which consists of a sequential of fc layers.
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:133
↓ 1 callersFunction_adjust_brightness
(img, factor)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_img_augment.py:110
↓ 1 callersMethod_adjust_brightness_img
Adjust the brightness of image.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:817
↓ 1 callersMethod_adjust_color_img
Apply Color transformation to image.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:729
↓ 1 callersMethod_adjust_contrast_img
Adjust the image contrast.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:866
↓ 1 callersFunction_allreduce_coalesced
(tensors, world_size, bucket_size_mb=-1)
mmdetection-2.11.0/mmdet/core/utils/dist_utils.py:10
↓ 1 callersMethod_bbox_forward_train
Run forward function and calculate loss for box head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/pisa_roi_head.py:99
↓ 1 callersMethod_bbox_forward_train
Run forward function and calculate loss for box head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/standard_roi_head.py:146
↓ 1 callersMethod_bbox_forward_train
Run forward function and calculate loss for box head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:168
↓ 1 callersMethod_bbox_forward_train
(self, x, sampling_results, gt_bboxes, gt_labels, img_metas)
mmdetection-2.11.0/mmdet/models/roi_heads/dynamic_roi_head.py:108
↓ 1 callersMethod_bbox_forward_train
Run forward function and calculate loss for box head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/htc_roi_head.py:94
↓ 1 callersMethod_bbox_forward_train
Run forward function and calculate loss for box head in training.
mmdetection-2.11.0/mmdet/models/roi_heads/cascade_roi_head.py:153
↓ 1 callersMethod_build_C
Return coordinates of fiducial points in rectified_img; C.
mmocr/models/textrecog/preprocessor/tps_preprocessor.py:195
↓ 1 callersMethod_build_P
(self, rectified_img_width, rectified_img_height)
mmocr/models/textrecog/preprocessor/tps_preprocessor.py:230
↓ 1 callersMethod_build_P_hat
(self, num_fiducial, C, P)
mmocr/models/textrecog/preprocessor/tps_preprocessor.py:244
↓ 1 callersMethod_build_inv_delta_C
Return inv_delta_C which is needed to calculate T.
mmocr/models/textrecog/preprocessor/tps_preprocessor.py:205
↓ 1 callersFunction_check_bbox_head
(bbox_cfg, bbox_head)
mmdetection-2.11.0/tests/test_runtime/test_config.py:219
↓ 1 callersFunction_check_bbox_mask
(results, results_translated, offset,
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:200
↓ 1 callersMethod_check_branches
(self, num_branches, num_blocks, in_channels, num_channels)
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:45
↓ 1 callersMethod_check_input_divisible
(self, x)
mmocr/models/common/backbones/unet.py:499
↓ 1 callersFunction_check_keys
(results, results_translated)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:12
↓ 1 callersFunction_check_mask_head
(mask_cfg, mask_head)
mmdetection-2.11.0/tests/test_runtime/test_config.py:196
↓ 1 callersFunction_check_numclasscheckhook
(detector, config_mod)
mmdetection-2.11.0/tests/test_runtime/test_config.py:29
↓ 1 callersFunction_check_roi_head
(config, head)
mmdetection-2.11.0/tests/test_runtime/test_config.py:115
↓ 1 callersFunction_concat_dataset
(cfg, default_args=None)
mmdetection-2.11.0/mmdet/datasets/builder.py:26
↓ 1 callersFunction_construct_ann_info
(h=427, w=640, c=3)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:39
↓ 1 callersFunction_construct_img
(results)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:29
↓ 1 callersFunction_construct_semantic_seg
(results)
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_translate.py:127
↓ 1 callersFunction_construct_toy_data
()
mmdetection-2.11.0/tests/test_data/test_pipelines/test_transform/test_transform.py:242
↓ 1 callersFunction_create_dummy_ann
()
tests/test_dataset/test_loading.py:6
↓ 1 callersFunction_create_dummy_ann_file
(ann_file)
tests/test_dataset/test_base_dataset.py:10
↓ 1 callersFunction_create_dummy_ann_file
(ann_file)
tests/test_dataset/test_ocr_dataset.py:8
↓ 1 callersFunction_create_dummy_ann_file
(ann_file)
tests/test_dataset/test_kie_dataset.py:12
↓ 1 callersFunction_create_dummy_ann_file
(ann_file)
tests/test_dataset/test_ner_dataset.py:11
↓ 1 callersFunction_create_dummy_ann_file
(ann_file)
tests/test_dataset/test_detect_dataset.py:10
↓ 1 callersFunction_create_dummy_ann_file
(ann_file)
tests/test_dataset/test_ocr_seg_dataset.py:11
↓ 1 callersFunction_create_dummy_coco_json
(json_name)
mmdetection-2.11.0/tests/test_data/test_datasets/test_common.py:20
↓ 1 callersFunction_create_dummy_custom_pkl
(pkl_name)
mmdetection-2.11.0/tests/test_data/test_datasets/test_common.py:80
↓ 1 callersFunction_create_dummy_dict_file
(dict_file)
tests/test_models/test_label_convertor/test_attn_label_convertor.py:11
↓ 1 callersFunction_create_dummy_dict_file
(dict_file)
tests/test_models/test_label_convertor/test_ctc_label_convertor.py:11
↓ 1 callersFunction_create_dummy_dict_file
(dict_file)
tests/test_dataset/test_ocr_seg_target.py:10
↓ 1 callersFunction_create_dummy_dict_file
(dict_file)
tests/test_dataset/test_kie_dataset.py:49
↓ 1 callersFunction_create_dummy_icdar_json
(json_name)
tests/test_dataset/test_icdar_dataset.py:10
↓ 1 callersFunction_create_dummy_loader
()
tests/test_dataset/test_base_dataset.py:19
↓ 1 callersFunction_create_dummy_loader
()
tests/test_dataset/test_ocr_dataset.py:17
↓ 1 callersFunction_create_dummy_loader
()
tests/test_dataset/test_kie_dataset.py:58
↓ 1 callersFunction_create_dummy_loader
()
tests/test_dataset/test_ner_dataset.py:34
↓ 1 callersFunction_create_dummy_loader
()
tests/test_dataset/test_detect_dataset.py:37
↓ 1 callersFunction_create_dummy_loader
()
tests/test_dataset/test_ocr_seg_dataset.py:65
↓ 1 callersFunction_create_dummy_vocab_file
(vocab_file)
tests/test_models/test_ner_model.py:11
↓ 1 callersFunction_create_dummy_vocab_file
(vocab_file)
tests/test_dataset/test_ner_dataset.py:28
↓ 1 callersFunction_create_ids_error_coco_json
(json_name)
mmdetection-2.11.0/tests/test_data/test_datasets/test_coco_dataset.py:10
↓ 1 callersMethod_crop_data
Function to randomly crop images, bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result dict fr
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:651
↓ 1 callersMethod_del_block_plugins
delete plugins for block if exist. Args: plugin_names (list[str]): List of plugins name to delete.
mmdetection-2.11.0/mmdet/models/backbones/resnext.py:97
↓ 1 callersFunction_demo_gt_kernel_inputs
Create a superset of inputs needed to run test or train batches. Args: input_shape (tuple): Input batch dimensions. num_items (N
tests/test_models/test_recog_config.py:42
↓ 1 callersFunction_demo_mm_inputs
Create a superset of inputs needed to run test or train batches. Args: input_shape (tuple): Input batch dimensions. num_items (N
tests/test_models/test_recog_config.py:9
↓ 1 callersFunction_demo_mm_inputs
Create a superset of inputs needed to run test or train batches. Args: input_shape (tuple): Input batch dimensions. num_items (N
tests/test_models/test_kie_config.py:9
↓ 1 callersFunction_demodata_refine_boxes
Create random test data for the ``mmdet.models.bbox_heads.bbox_head.BBoxHead.refine_boxes`` method.
mmdetection-2.11.0/tests/test_models/test_roi_heads/test_bbox_head.py:216
↓ 1 callersMethod_det2json
Convert detection results to COCO json style.
mmdetection-2.11.0/mmdet/datasets/coco.py:218
↓ 1 callersFunction_do_paste_mask
Paste instance masks according to boxes. This implementation is modified from https://github.com/facebookresearch/detectron2/ Args:
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:306
↓ 1 callersMethod_evaluate_cityscapes
Evaluation in Cityscapes protocol. Args: results (list): Testing results of the dataset. txtfile_prefix (str | None):
mmdetection-2.11.0/mmdet/datasets/cityscapes.py:274
↓ 1 callersFunction_expand_onehot_labels
(labels, label_weights, label_channels)
mmdetection-2.11.0/mmdet/models/losses/ghm_loss.py:8
↓ 1 callersFunction_expand_onehot_labels
(labels, label_weights, label_channels)
mmdetection-2.11.0/mmdet/models/losses/cross_entropy_loss.py:42
↓ 1 callersMethod_filter_imgs
Filter images too small.
mmdetection-2.11.0/mmdet/datasets/custom.py:151
↓ 1 callersMethod_filter_invalid
Filter bboxes and corresponding masks too small after shear augmentation.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:265
↓ 1 callersMethod_filter_invalid
Filter bboxes and corresponding masks too small after rotate augmentation.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:484
↓ 1 callersMethod_filter_invalid
Filter bboxes and masks too small or translated out of image.
mmdetection-2.11.0/mmdet/datasets/pipelines/auto_augment.py:664
↓ 1 callersMethod_forward_cls_reg
Forward function for classification and regression parts.
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/scnet_bbox_head.py:30
↓ 1 callersMethod_forward_shared
Forward function for shared part.
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/scnet_bbox_head.py:13
↓ 1 callersMethod_freeze_stages
(self)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:149
↓ 1 callersFunction_generate_batch_data
(sampler, batch_size)
mmdetection-2.11.0/demo/create_result_gif.py:31
↓ 1 callersMethod_generate_labelid_dict
Generate a dictionary that maps input to ID and ID to output.
mmocr/models/ner/convertors/ner_convertor.py:55
↓ 1 callersMethod_get_bboxes
Transform outputs for a single batch item into labeled boxes. This method is almost same as `ATSSHead._get_bboxes()`. We use sqrt(iou
mmdetection-2.11.0/mmdet/models/dense_heads/paa_head.py:519
↓ 1 callersMethod_get_bboxes
Transform outputs for a single batch item into bbox predictions. Args: pred_maps_list (list[Tensor]): Prediction maps for differe
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:210
← previousnext →501–600 of 2,851, ranked by callers