MCPcopy Create free account

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

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

Functionbuild_recognizer
Build recognizer.
mmocr/models/builder.py:10
Functionbuilder_inited_handler
(app)
mmdetection-2.11.0/docs/conf.py:85
Functionbuilder_inited_handler
(app)
docs/conf.py:99
Functioncal_train_time
(log_dicts, args)
mmdetection-2.11.0/tools/analysis_tools/analyze_logs.py:10
Functioncityscapes_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:85
Functioncoco_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:67
Methodcollect_loss_level_single
Get the average loss in each FPN level w.r.t. each gt label. Args: cls_loss (Tensor): Classification loss of each feature map pix
mmdetection-2.11.0/mmdet/models/dense_heads/fsaf_head.py:340
Functioncompute_hmean
Compute hmean given hit number, ground truth number and prediction number. Args: accum_hit_recall (int|float): Accumulated hits for c
mmocr/core/evaluation/utils.py:56
Methodconv_relu
(i, batch_normalization=False)
mmocr/models/textrecog/backbones/very_deep_vgg.py:28
Methodcrop
Crop each mask by the given bbox. Args: bbox (ndarray): Bbox in format [x1, y1, x2, y2], shape (4, ). Return:
mmdetection-2.11.0/mmdet/core/mask/structures.py:63
Methodcrop_and_resize
Crop and resize masks by the given bboxes. This function is mainly used in mask targets computation. It firstly align mask to bboxes
mmdetection-2.11.0/mmdet/core/mask/structures.py:74
Functioncross_entropy
Calculate the CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, C), C is the number of classes.
mmdetection-2.11.0/mmdet/models/losses/cross_entropy_loss.py:9
Methoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): E
mmdetection-2.11.0/mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:58
Methoddecode
torch.Tensor: return the given ``pred_bboxes``
mmdetection-2.11.0/mmdet/core/bbox/coder/pseudo_bbox_coder.py:16
Methoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: boxes (torch.Tensor): Basic boxes. pred_bboxes (torch.Tensor): Pr
mmdetection-2.11.0/mmdet/core/bbox/coder/bucketing_bbox_coder.py:71
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdetection-2.11.0/mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py:40
Methodencode
torch.Tensor: return the given ``bboxes``
mmdetection-2.11.0/mmdet/core/bbox/coder/pseudo_bbox_coder.py:12
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdetection-2.11.0/mmdet/core/bbox/coder/yolo_bbox_coder.py:26
Methodencode
Get bucketing estimation and fine regression targets during training. Args: bboxes (torch.Tensor): source boxes, e.g., ob
mmdetection-2.11.0/mmdet/core/bbox/coder/bucketing_bbox_coder.py:49
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes``. Args: bboxe
mmdetection-2.11.0/mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:35
Methodencode
Get box regression transformation deltas that can be used to transform the ``bboxes`` into the ``gt_bboxes`` in the (top, left, bottom
mmdetection-2.11.0/mmdet/core/bbox/coder/tblr_bbox_coder.py:30
Functionequal_len
(*argv)
mmocr/utils/check_argument.py:53
Functioneval_hmean_ic13
Evalute hmean of text detection using the icdar2013 standard. Args: det_boxes (list[list[list[float]]]): List of arrays of shape (n, 2k).
mmocr/core/evaluation/hmean_ic13.py:46
Functioneval_hmean_iou
Evalute hmean of text detection using IOU standard. Args: pred_boxes (list[list[list[float]]]): Text boxes for an img list. Each
mmocr/core/evaluation/hmean_iou.py:7
Methodevaluate
Evaluation in LVIS protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[s
mmdetection-2.11.0/mmdet/datasets/lvis.py:309
Methodevaluate
Evaluate the results. Args: results (list[list | tuple]): Testing results of the dataset. logger (logging.Logger | st
mmdetection-2.11.0/mmdet/datasets/dataset_wrappers.py:71
Methodevaluate
Evaluate in VOC protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (str | list[str]
mmdetection-2.11.0/mmdet/datasets/voc.py:27
Methodevaluate
Evaluation in Cityscapes/COCO protocol. Args: results (list[list | tuple]): Testing results of the dataset. metric (s
mmdetection-2.11.0/mmdet/datasets/cityscapes.py:207
Methodevaluate
(self, results, logger=None)
mmdetection-2.11.0/tests/test_runtime/test_eval_hook.py:31
Methodexpand
see :class:`Expand`.
mmdetection-2.11.0/mmdet/core/mask/structures.py:99
Methodextra_repr
(self)
mmdetection-2.11.0/mmdet/models/backbones/trident_resnet.py:60
Methodextract_feat
Extract features from images.
mmocr/models/ner/classifiers/ner_classifier.py:30
Methodflip
Flip masks alone the given direction. Args: flip_direction (str): Either 'horizontal' or 'vertical'. Returns:
mmdetection-2.11.0/mmdet/core/mask/structures.py:40
Methodformat
(self, outputs, targets_dict)
mmocr/models/textrecog/losses/ce_loss.py:109
Methodformat_results
Place holder to format result to dataset specific output.
mmdetection-2.11.0/mmdet/datasets/custom.py:263
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/necks/yolo_neck.py:51
Methodforward
(self, feats)
mmdetection-2.11.0/mmdet/models/necks/yolo_neck.py:111
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/pafpn.py:84
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/fpn.py:170
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/necks/rfp.py:47
Methodforward
(self, inputs)
mmdetection-2.11.0/mmdet/models/necks/rfp.py:110
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/hrfpn.py:79
Methodforward
(x)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:21
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:60
Methodforward
(self, inputs)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:95
Methodforward
(self, inputs)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:325
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/channel_mapper.py:70
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/nasfcos_fpn.py:115
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/fpn_carafe.py:239
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/bfp.py:72
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/nas_fpn.py:129
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:28
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:120
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:229
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/detectors_resnet.py:281
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/ssd_vgg.py:102
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/ssd_vgg.py:163
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:46
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:125
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/res2net.py:108
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:177
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:493
Methodforward
(self, inputs)
mmdetection-2.11.0/mmdet/models/backbones/trident_resnet.py:72
Methodforward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/trident_resnet.py:122
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:65
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:260
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:622
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hourglass.py:70
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hourglass.py:179
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/regnet.py:313
Methodforward
(self, feats)
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:250
Methodforward
(self, x, shape)
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:50
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/vfnet_head.py:195
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/retina_sepbn_head.py:84
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/yolo_head.py:150
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_head.py:126
Methodforward
Forward feature from the upstream network. Args: x (Tensor): Feature from the upstream network, which is a 4D-ten
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:498
Methodforward
Forward feature from the upstream network to get prototypes and linearly combine the prototypes, using masks coefficients, into instan
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:660
Methodforward
Forward features from the upstream network.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:941
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/anchor_free_head.py:181
Methodforward
Forward function. Args: feats (tuple[Tensor]): Features from the upstream network, each is a 4D-tensor.
mmdetection-2.11.0/mmdet/models/dense_heads/transformer_head.py:192
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:78
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:168
Methodforward
(self, x, shape)
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:36
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/atss_head.py:98
Methodforward
Forward feature from the regression head to get integral result of bounding box location. Args: x (Tensor): Features of t
mmdetection-2.11.0/mmdet/models/dense_heads/gfl_head.py:34
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/fcos_head.py:104
Methodforward
Forward features from the upstream network. Args: x (tensor): Input feature of BiCornerPool. Returns: conv2
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:56
Methodforward
Forward features from the upstream network. Args: feats (tuple[Tensor]): Features from the upstream network, each is
mmdetection-2.11.0/mmdet/models/dense_heads/corner_head.py:233
Methodforward
Forward function for `SinePositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdetection-2.11.0/mmdet/models/utils/positional_encoding.py:49
Methodforward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdetection-2.11.0/mmdet/models/utils/positional_encoding.py:120
Methodforward
Forward function for `MultiheadAttention`. Args: x (Tensor): The input query with shape [num_query, bs, embed_dim
mmdetection-2.11.0/mmdet/models/utils/transformer.py:32
Methodforward
Forward function for `FFN`.
mmdetection-2.11.0/mmdet/models/utils/transformer.py:150
Methodforward
Forward function for `TransformerEncoderLayer`. Args: x (Tensor): The input query with shape [num_key, bs, embed_
mmdetection-2.11.0/mmdet/models/utils/transformer.py:217
Methodforward
Forward function for `TransformerDecoderLayer`. Args: x (Tensor): Input query with shape [num_query, bs, embed_dims].
mmdetection-2.11.0/mmdet/models/utils/transformer.py:321
Methodforward
Forward function for `TransformerEncoder`. Args: x (Tensor): Input query. Same in `TransformerEncoderLayer.forward`.
mmdetection-2.11.0/mmdet/models/utils/transformer.py:453
Methodforward
Forward function for `TransformerDecoder`. Args: x (Tensor): Input query. Same in `TransformerDecoderLayer.forward`.
mmdetection-2.11.0/mmdet/models/utils/transformer.py:538
Methodforward
Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims.
mmdetection-2.11.0/mmdet/models/utils/transformer.py:688
Methodforward
Forward function for `DynamicConv`. Args: param_feature (Tensor): The feature can be used to generate the paramet
mmdetection-2.11.0/mmdet/models/utils/transformer.py:805
Methodforward
Forward function.
mmdetection-2.11.0/mmdet/models/utils/res_layer.py:168
← previousnext →1,901–2,000 of 2,851, ranked by callers