MCPcopy Create free account

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

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

Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:106
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/grid_head.py:141
Methodinit_weights
Init weights for the head.
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/global_context_head.py:75
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:82
Methodinit_weights
Init weights for the head.
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/feature_relay_head.py:40
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/maskiou_head.py:64
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/htc_mask_head.py:21
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/coarse_mask_head.py:72
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/bbox_head.py:67
Methodinit_weights
Use xavier initialization for all weight parameter and set classification head bias as a specific value when use focal loss.
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/dii_head.py:119
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py:143
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py:126
Methodinit_weights
(self)
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/sabl_head.py:189
Methodinit_weights
Initialize the weights in the module. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to
mmdetection-2.11.0/mmdet/models/roi_heads/shared_heads/res_layer.py:47
Methodinit_weights
Initialize the weights in detector. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmdetection-2.11.0/mmdet/models/detectors/base.py:96
Methodinit_weights
(self, pretrained=None)
mmocr/models/textrecog/backbones/resnet_extra.py:115
Methodinit_weights
(self, pretrained=None)
mmocr/models/textrecog/backbones/nrtr_modality_transformer.py:35
Methodinit_weights
(self)
mmocr/models/textrecog/encoders/positional_encoding.py:35
Methodinit_weights
(self)
mmocr/models/textrecog/encoders/channel_reduction_encoder.py:17
Methodinit_weights
(self)
mmocr/models/textrecog/decoders/crnn_decoder.py:29
Methodinit_weights
(self)
mmocr/models/textrecog/decoders/robust_scanner_decoder.py:65
Methodinit_weights
(self)
mmocr/models/textrecog/decoders/sequence_attention_decoder.py:56
Methodinit_weights
(self)
mmocr/models/textrecog/decoders/position_attention_decoder.py:47
Methodinit_weights
(self)
mmocr/models/textrecog/decoders/base_decoder.py:13
Methodinit_weights
(self)
mmocr/models/textrecog/heads/seg_head.py:39
Methodinit_weights
(self, pretrained=None)
mmocr/models/textrecog/recognizer/master.py:36
Methodinit_weights
Initialize the weights for detector. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to N
mmocr/models/textrecog/recognizer/base.py:58
Methodinit_weights
(self, pretrained=False)
mmocr/models/kie/heads/sdmgr_head.py:44
Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
mmocr/models/common/backbones/unet.py:512
Methodinit_weights
Initialize the weights of FPN module.
mmocr/models/textdet/necks/fpem_ffm.py:97
Methodinit_weights
(self)
mmocr/models/textdet/dense_heads/db_head.py:55
Methodinitialize
(self, context)
mmdetection-2.11.0/tools/deployment/mmdet_handler.py:14
Functionis_2dlist
(x)
mmocr/utils/check_argument.py:18
Functionis_3dlist
(x)
mmocr/utils/check_argument.py:4
Methodis_center_of_bboxes_in_patch
(boxes, patch)
mmdetection-2.11.0/mmdet/datasets/pipelines/transforms.py:1097
Functionis_ndarray_list
(x)
mmocr/utils/check_argument.py:28
Functionis_none_or_type
(x, type)
mmocr/utils/check_argument.py:48
Methodis_poly_in_rect
(self, poly, x, y, w, h)
mmocr/datasets/pipelines/dbnet_transforms.py:179
Methodlinks
(self)
mmocr/models/textdet/postprocess/wrapper.py:525
Methodload_annotations
Load annotation from XML style ann_file. Args: ann_file (str): Path of XML file. Returns: list[dict]: Annota
mmdetection-2.11.0/mmdet/datasets/xml_style.py:29
Methodload_annotations
Load annotation from lvis style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmdetection-2.11.0/mmdet/datasets/lvis.py:268
Methodload_annotations
(self, ann_file)
mmdetection-2.11.0/mmdet/datasets/lvis.py:715
Methodload_annotations
Load annotation from WIDERFace XML style annotation file. Args: ann_file (str): Path of XML file. Returns: l
mmdetection-2.11.0/mmdet/datasets/wider_face.py:22
Methodload_annotations
Load annotation from COCO style annotation file. Args: ann_file (str): Path of annotation file. Returns: lis
mmocr/datasets/icdar_dataset.py:31
Functionload_img_info
Load the information of one image. Args: files(tuple): The tuple of (img_file, groundtruth_file) split(str): The split of dataset
tools/data/textdet/totaltext_converter.py:230
Functionload_img_info
Load the information of one image. Args: files(tuple): The tuple of (img_file, groundtruth_file) dataset(str): Dataset name, icda
tools/data/textdet/icdar_converter.py:77
Functionload_img_info
Load the information of one image. Args: files(tuple): The tuple of (img_file, groundtruth_file) split(str): The split of dataset
tools/data/textdet/ctw1500_converter.py:156
Functionload_img_info
(files)
mmdetection-2.11.0/tools/dataset_converters/cityscapes.py:39
Functionload_png_info
Load the information of one ground truth in .png format. Args: gt_file(str): The relative path of the ground_truth file for one image
tools/data/textdet/totaltext_converter.py:185
Methodloss
(self, cls_scores, pts_preds_init, pts_preds_refine, gt_bb
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:568
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/pisa_ssd_head.py:13
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/paa_head.py:86
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/ssd_head.py:181
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box iou-aware scores for each scale level, each is a 4
mmdetection-2.11.0/mmdet/models/dense_heads/vfnet_head.py:317
Methodloss
Compute loss of the head. Args: pred_maps (list[Tensor]): Prediction map for each scale level, shape (N, num_anch
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:369
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:426
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor,
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:224
Methodloss
Compute losses of the head. Args: anchor_list (list[list]): Multi level anchors of each image. cls_scores (list[Tenso
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:430
Methodloss
(self, cls_scores, bbox_preds, gt_bbox_list, gt_label_list
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:127
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/free_anchor_retina_head.py:53
Methodloss
(self, cls_scores, bbox_preds, shape_preds, loc_preds,
mmdetection-2.11.0/mmdet/models/dense_heads/ga_rpn_head.py:43
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/atss_head.py:221
Methodloss
Compute losses of the head. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each level with shape (N,
mmdetection-2.11.0/mmdet/models/dense_heads/centripetal_head.py:200
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Cls and quality scores for each scale level has shap
mmdetection-2.11.0/mmdet/models/dense_heads/gfl_head.py:298
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/rpn_head.py:49
Methodloss
Compute loss of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level, each is a 4D-tensor,
mmdetection-2.11.0/mmdet/models/dense_heads/fcos_head.py:157
Methodloss
Compute losses of the head. Args: cls_scores (list[Tensor]): Box scores for each scale level Has shape (N, num_an
mmdetection-2.11.0/mmdet/models/dense_heads/pisa_retinanet_head.py:22
Methodloss
Compute losses of the head. Args: tl_heats (list[Tensor]): Top-left corner heatmaps for each level with shape (N,
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:498
Methodloss
Calculate loss for MaskPointHead. Args: point_pred (Tensor): Point predication result, shape (num_rois, num_class
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/mask_point_head.py:164
Methodloss
Example: >>> from mmdet.models.roi_heads.mask_heads.fcn_mask_head import * # NOQA >>> N = 7 # N = number of extract
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py:138
Methodloss
(self, grid_pred, grid_targets)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/grid_head.py:288
Methodloss
Loss function.
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/global_context_head.py:95
Methodloss
(self, mask_pred, labels)
mmdetection-2.11.0/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py:103
Methodloss
(self, cls_score, bbox_pred, rois, labels, la
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/bbox_head.py:219
Methodloss
(self, cls_score, bbox_pred, rois, labels, la
mmdetection-2.11.0/mmdet/models/roi_heads/bbox_heads/sabl_head.py:416
Methodloss_single
Compute loss of a single scale level. Args: anchors (Tensor): Box reference for each scale level with shape (N, n
mmdetection-2.11.0/mmdet/models/dense_heads/ld_head.py:38
Methodloss_single
(self, cls_score, pts_pred_init, pts_pred_refine, labels, label_weights, bbox_gt_init, bbo
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:530
Methodloss_single
Compute loss of a single image. Args: cls_score (Tensor): Box scores for eachimage Has shape (num_total_anchors,
mmdetection-2.11.0/mmdet/models/dense_heads/ssd_head.py:123
Methodloss_single
Compute loss of a single image from a batch. Args: pred_map (Tensor): Raw predictions for a single level. target_map
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:419
Methodloss_single
Compute loss of a single scale level. Args: cls_score (Tensor): Box scores for each scale level Has shape (N, num
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:375
Methodloss_single
Loss function for outputs from a single decoder layer of a single feature level. Args: cls_scores (Tensor): Box score log
mmdetection-2.11.0/mmdet/models/dense_heads/transformer_head.py:324
Methodloss_single
Loss function on single scale.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:400
Methodloss_single
Compute loss of a single scale level. Args: cls_score (Tensor): Box scores for each scale level Has shape (N, num
mmdetection-2.11.0/mmdet/models/dense_heads/atss_head.py:145
Methodloss_single
Compute losses for single level. Args: tl_hmp (Tensor): Top-left corner heatmap for current level with shape (N,
mmdetection-2.11.0/mmdet/models/dense_heads/centripetal_head.py:276
Methodloss_single
Compute loss of a single scale level. Args: anchors (Tensor): Box reference for each scale level with shape (N, n
mmdetection-2.11.0/mmdet/models/dense_heads/gfl_head.py:209
Methodloss_single
(self, cls_score, bbox_pred, labels, label_weights, bbox_cls_targets, bbox_cls_weights, bb
mmdetection-2.11.0/mmdet/models/dense_heads/sabl_retina_head.py:436
Methodloss_single
Compute losses for single level. Args: tl_hmp (Tensor): Top-left corner heatmap for current level with shape (N,
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:560
Methodloss_single_OHEM
See func:``SSDHead.loss``.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:260
Functionmake_cuda_ext
(name, module, sources, sources_cuda=[])
mmdetection-2.11.0/setup.py:25
Methodmake_res_layer
Pack all blocks in a stage into a ``ResLayer``.
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:308
Methodmake_res_layer
Pack all blocks in a stage into a ``ResLayer``
mmdetection-2.11.0/mmdet/models/backbones/resnext.py:147
Methodmake_res_layer
(self, **kwargs)
mmdetection-2.11.0/mmdet/models/backbones/res2net.py:314
Methodmake_res_layer
(self, **kwargs)
mmdetection-2.11.0/mmdet/models/backbones/detectors_resnext.py:117
Functionmany2one_match_ic13
Many-to-One match gt and detections with icdar2013 standards. Args: det_id (int): Detection index. recall_mat (ndarray): `gt_num
mmocr/core/evaluation/utils.py:304
Functionmask_cross_entropy
Calculate the CrossEntropy loss for masks. Args: pred (torch.Tensor): The prediction with shape (N, C, *), C is the number of
mmdetection-2.11.0/mmdet/models/losses/cross_entropy_loss.py:94
Functionmask_target_single
Compute mask target for each positive proposal in the image. Args: pos_proposals (Tensor): Positive proposals. pos_assigned_gt_in
mmdetection-2.11.0/mmdet/core/mask/mask_target.py:66
Functionmerge_aug_scores
Merge augmented bbox scores.
mmdetection-2.11.0/mmdet/core/post_processing/merge_augs.py:112
Methodnum_attrib
int: number of attributes in pred_map, bboxes (4) + objectness (1) + num_classes
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:121
Methodnum_base_anchors
list[int]: total number of base anchors in a feature grid
mmdetection-2.11.0/mmdet/core/anchor/anchor_generator.py:113
Methodnum_inputs
int: Number of input feature maps.
mmdetection-2.11.0/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py:25
← previousnext →2,301–2,400 of 2,851, ranked by callers