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
Function
build_recognizer
Build recognizer.
mmocr/models/builder.py:10
Function
builder_inited_handler
(app)
mmdetection-2.11.0/docs/conf.py:85
Function
builder_inited_handler
(app)
docs/conf.py:99
Function
cal_train_time
(log_dicts, args)
mmdetection-2.11.0/tools/analysis_tools/analyze_logs.py:10
Function
cityscapes_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:85
Function
coco_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:67
Method
collect_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
Function
compute_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
Method
conv_relu
(i, batch_normalization=False)
mmocr/models/textrecog/backbones/very_deep_vgg.py:28
Method
crop
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
Method
crop_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
Function
cross_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
Method
decode
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
Method
decode
torch.Tensor: return the given ``pred_bboxes``
mmdetection-2.11.0/mmdet/core/bbox/coder/pseudo_bbox_coder.py:16
Method
decode
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
Method
encode
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
Method
encode
torch.Tensor: return the given ``bboxes``
mmdetection-2.11.0/mmdet/core/bbox/coder/pseudo_bbox_coder.py:12
Method
encode
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
Method
encode
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
Method
encode
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
Method
encode
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
Function
equal_len
(*argv)
mmocr/utils/check_argument.py:53
Function
eval_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
Function
eval_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
Method
evaluate
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
Method
evaluate
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
Method
evaluate
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
Method
evaluate
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
Method
evaluate
(self, results, logger=None)
mmdetection-2.11.0/tests/test_runtime/test_eval_hook.py:31
Method
expand
see :class:`Expand`.
mmdetection-2.11.0/mmdet/core/mask/structures.py:99
Method
extra_repr
(self)
mmdetection-2.11.0/mmdet/models/backbones/trident_resnet.py:60
Method
extract_feat
Extract features from images.
mmocr/models/ner/classifiers/ner_classifier.py:30
Method
flip
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
Method
format
(self, outputs, targets_dict)
mmocr/models/textrecog/losses/ce_loss.py:109
Method
format_results
Place holder to format result to dataset specific output.
mmdetection-2.11.0/mmdet/datasets/custom.py:263
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/necks/yolo_neck.py:51
Method
forward
(self, feats)
mmdetection-2.11.0/mmdet/models/necks/yolo_neck.py:111
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/pafpn.py:84
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/fpn.py:170
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/necks/rfp.py:47
Method
forward
(self, inputs)
mmdetection-2.11.0/mmdet/models/necks/rfp.py:110
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/hrfpn.py:79
Method
forward
(x)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:21
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:60
Method
forward
(self, inputs)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:95
Method
forward
(self, inputs)
mmdetection-2.11.0/mmdet/models/necks/fpg.py:325
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/channel_mapper.py:70
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/nasfcos_fpn.py:115
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/fpn_carafe.py:239
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/bfp.py:72
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/necks/nas_fpn.py:129
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:28
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:120
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/resnest.py:229
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/detectors_resnet.py:281
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/ssd_vgg.py:102
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/ssd_vgg.py:163
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:46
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:125
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/res2net.py:108
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:177
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hrnet.py:493
Method
forward
(self, inputs)
mmdetection-2.11.0/mmdet/models/backbones/trident_resnet.py:72
Method
forward
(self, x)
mmdetection-2.11.0/mmdet/models/backbones/trident_resnet.py:122
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:65
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:260
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:622
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hourglass.py:70
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/hourglass.py:179
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/backbones/regnet.py:313
Method
forward
(self, feats)
mmdetection-2.11.0/mmdet/models/dense_heads/reppoints_head.py:250
Method
forward
(self, x, shape)
mmdetection-2.11.0/mmdet/models/dense_heads/guided_anchor_head.py:50
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
Forward features from the upstream network.
mmdetection-2.11.0/mmdet/models/dense_heads/yolact_head.py:941
Method
forward
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
Method
forward
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
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:78
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/dense_heads/cascade_rpn_head.py:168
Method
forward
(self, x, shape)
mmdetection-2.11.0/mmdet/models/dense_heads/fovea_head.py:36
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
Forward function for `SinePositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdetection-2.11.0/mmdet/models/utils/positional_encoding.py:49
Method
forward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
mmdetection-2.11.0/mmdet/models/utils/positional_encoding.py:120
Method
forward
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
Method
forward
Forward function for `FFN`.
mmdetection-2.11.0/mmdet/models/utils/transformer.py:150
Method
forward
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
Method
forward
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
Method
forward
Forward function for `TransformerEncoder`. Args: x (Tensor): Input query. Same in `TransformerEncoderLayer.forward`.
mmdetection-2.11.0/mmdet/models/utils/transformer.py:453
Method
forward
Forward function for `TransformerDecoder`. Args: x (Tensor): Input query. Same in `TransformerDecoderLayer.forward`.
mmdetection-2.11.0/mmdet/models/utils/transformer.py:538
Method
forward
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
Method
forward
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
Method
forward
Forward function.
mmdetection-2.11.0/mmdet/models/utils/res_layer.py:168
← previous
next →
1,901–2,000 of 2,851, ranked by callers