MCPcopy Create free account

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

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

Method__init__
(self, backbone, neck, bbox_head, train_cf
mmdetection-2.11.0/mmdet/models/detectors/cornernet.py:16
Method__init__
(self, backbone, rpn_head, roi_head, train
mmdetection-2.11.0/mmdet/models/detectors/mask_scoring_rcnn.py:12
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmdetection-2.11.0/mmdet/models/detectors/retinanet.py:9
Method__init__
(self, backbone, bbox_head, train_cfg=None,
mmdetection-2.11.0/mmdet/models/detectors/detr.py:11
Method__init__
(self, backbone, neck, rpn_head, train_cfg
mmdetection-2.11.0/mmdet/models/detectors/rpn.py:13
Method__init__
(self, backbone, neck=None, bbox_head=None,
mmdetection-2.11.0/mmdet/models/detectors/single_stage.py:17
Method__init__
(self, pull_weight=0.25, push_weight=0.25)
mmdetection-2.11.0/mmdet/models/losses/ae_loss.py:87
Method__init__
`Varifocal Loss <https://arxiv.org/abs/2008.13367>`_ Args: use_sigmoid (bool, optional): Whether the prediction is
mmdetection-2.11.0/mmdet/models/losses/varifocal_loss.py:61
Method__init__
(self, alpha=0.5, gamma=1.5, beta=1.0, red
mmdetection-2.11.0/mmdet/models/losses/balanced_l1_loss.py:70
Method__init__
(self, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/gfocal_loss.py:156
Method__init__
(self, beta=1.0, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/smooth_l1_loss.py:60
Method__init__
(self, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/mse_loss.py:24
Method__init__
(self, reduction='mean', loss_weight=1.0, T=10)
mmdetection-2.11.0/mmdet/models/losses/kd_loss.py:48
Method__init__
(self, alpha=2.0, gamma=4.0, reduction='mean',
mmdetection-2.11.0/mmdet/models/losses/gaussian_focal_loss.py:49
Method__init__
Module to calculate the accuracy. Args: topk (tuple, optional): The criterion used to calculate the accuracy. Def
mmdetection-2.11.0/mmdet/models/losses/accuracy.py:55
Method__init__
(self, mu=0.02, bins=10, momentum=0, loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/ghm_loss.py:113
Method__init__
(self, beta=0.2, eps=1e-3, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/iou_loss.py:294
Method__init__
(self, eps=1e-6, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/iou_loss.py:328
Method__init__
(self, eps=1e-6, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/iou_loss.py:366
Method__init__
(self, eps=1e-6, reduction='mean', loss_weight=1.0)
mmdetection-2.11.0/mmdet/models/losses/iou_loss.py:404
Method__init__
CrossEntropyLoss. Args: use_sigmoid (bool, optional): Whether the prediction uses sigmoid of softmax. Defaults to
mmdetection-2.11.0/mmdet/models/losses/cross_entropy_loss.py:144
Method__init__
`Focal Loss <https://arxiv.org/abs/1708.02002>`_ Args: use_sigmoid (bool, optional): Whether to the prediction is
mmdetection-2.11.0/mmdet/models/losses/focal_loss.py:108
Method__init__
(self, model_config, checkpoint=None, streamqueue_size=3,
mmdetection-2.11.0/tests/test_runtime/test_async.py:32
Method__init__
(self)
mmdetection-2.11.0/tests/test_runtime/test_eval_hook.py:19
Method__init__
(self)
mmdetection-2.11.0/tests/test_runtime/test_eval_hook.py:46
Method__init__
(self, wrapped_function)
mmdetection-2.11.0/tests/test_onnx/utils.py:22
Method__init__
(self)
mmdetection-2.11.0/tests/test_data/test_datasets/test_common.py:310
Method__init__
(self, params, lr=1e-3, # lr alpha=0.5, k=6, N_sma_threshhold=5,
mmocr/core/optimizer/ranger2020.py:44
Method__init__
(self, ann_file, loader, pipeline, img_pre
mmocr/datasets/base_dataset.py:54
Method__init__
(self, ann_file, pipeline, classes=None, d
mmocr/datasets/icdar_dataset.py:14
Method__init__
(self, ann_file, loader, dict_file, img_pr
mmocr/datasets/kie_dataset.py:30
Method__init__
(self, ann_file, parser, repeat=1, max_seq_len=40)
mmocr/datasets/utils/loader.py:19
Method__init__
(self, lmdb_path, coding='utf8')
mmocr/datasets/utils/loader.py:95
Method__init__
(self, lmdb_path, coding='utf8')
mmocr/datasets/utils/loader.py:146
Method__init__
(self, keys=['filename', 'text'], keys_idx=[0, 1], separato
mmocr/datasets/utils/parser.py:17
Method__init__
(self, keys=['filename', 'text'], keys_idx=[0, 1], separato
mmocr/datasets/utils/parser.py:58
Method__init__
(self, keys=[], **kwargs)
mmocr/datasets/utils/parser.py:99
Method__init__
(self, keys=['filename', 'text'], keys_idx=[0, 1], separato
mmocr/datasets/utils/parser.py:195
Method__init__
(self, transforms, rotate_degrees=None, force_rotate=False)
mmocr/datasets/pipelines/test_time_aug.py:53
Method__init__
( self, target_size, instance_key, mask_type='inx0', # 'inx0'
mmocr/datasets/pipelines/transforms.py:27
Method__init__
(self, rotate_ratio=1.0, max_angle=10)
mmocr/datasets/pipelines/transforms.py:181
Method__init__
(self, img_scale=None, multiscale_mode='range', ratio_range
mmocr/datasets/pipelines/transforms.py:255
Method__init__
(self, degrees=4, translate=(0.02, 0.04), scale=(0.9, 1.1),
mmocr/datasets/pipelines/transforms.py:341
Method__init__
(self, instance_key='gt_masks', crop_ratio=5.0 / 8.0, min_s
mmocr/datasets/pipelines/transforms.py:376
Method__init__
Randomly rotate images and polygon masks. Args: rotate_ratio (float): The ratio of samples to operate rotation. max_a
mmocr/datasets/pipelines/transforms.py:517
Method__init__
Resize or pad images to be square shape. Args: target_size (int): The target size of square shaped image. pad_with_fi
mmocr/datasets/pipelines/transforms.py:643
Method__init__
Random scale the image while keeping aspect. Args: size (int) : Base size before scaling. scale (tuple(float)) : The
mmocr/datasets/pipelines/transforms.py:741
Method__init__
Random crop and flip a patch of the image. Args: crop_ratio (float): The ratio of cropping. iter_num (int): Number of
mmocr/datasets/pipelines/transforms.py:778
Method__init__
(self, label_convertor=None, attn_shrink_ratio=0.5, seg_shr
mmocr/datasets/pipelines/ocr_seg_targets.py:27
Method__init__
(self, with_bbox=True, with_label=True, with_mask=False,
mmocr/datasets/pipelines/loading.py:16
Method__init__
(self, keys=[], call_super=True, visualize=dict(flag=False,
mmocr/datasets/pipelines/custom_format_bundle.py:27
Method__init__
(self)
mmocr/datasets/pipelines/dbnet_transforms.py:13
Method__init__
(self, args=None)
mmocr/datasets/pipelines/dbnet_transforms.py:62
Method__init__
(self, target_size=(640, 640), max_tries=10, min_crop_side_
mmocr/datasets/pipelines/dbnet_transforms.py:126
Method__init__
(self, height, min_width=None, max_width=None,
mmocr/datasets/pipelines/ocr_transforms.py:38
Method__init__
(self)
mmocr/datasets/pipelines/ocr_transforms.py:134
Method__init__
(self, mean, std)
mmocr/datasets/pipelines/ocr_transforms.py:147
Method__init__
(self, box_keys=['x1', 'y1', 'x2', 'y2', 'x3', 'y3', 'x4', 'y4'], jitter_pro
mmocr/datasets/pipelines/ocr_transforms.py:171
Method__init__
(self, eig_vec=None, eig_val=None)
mmocr/datasets/pipelines/ocr_transforms.py:226
Method__init__
(self, max_ratio=None, box_type=None)
mmocr/datasets/pipelines/ocr_transforms.py:271
Method__init__
(self, min_angle=-10, max_angle=10, box_type='char_quads')
mmocr/datasets/pipelines/ocr_transforms.py:333
Method__init__
(self, **kwargs)
mmocr/datasets/pipelines/ocr_transforms.py:421
Method__init__
(self, **kwargs)
mmocr/datasets/pipelines/ocr_transforms.py:440
Method__init__
(self, label_convertor, max_len)
mmocr/datasets/pipelines/ner_transforms.py:19
Method__init__
(self, img_scale=None, min_size=None, ratio_range=None,
mmocr/datasets/pipelines/table_transforms.py:48
Method__init__
(self, size=None, size_divisor=None, pad_val=None,
mmocr/datasets/pipelines/table_transforms.py:143
Method__init__
(self)
mmocr/datasets/pipelines/table_transforms.py:261
Method__init__
(self, shrink_ratio=(1.0, 0.5), max_shrink=20)
mmocr/datasets/pipelines/textdet_targets/panet_targets.py:19
Method__init__
(self, shrink_ratio=(1.0, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4), max_shrink=20)
mmocr/datasets/pipelines/textdet_targets/psenet_targets.py:18
Method__init__
(self)
mmocr/datasets/pipelines/textdet_targets/base_textdet_targets.py:15
Method__init__
(self, orientation_thr=2.0, resample_step=4.0, center_regio
mmocr/datasets/pipelines/textdet_targets/textsnake_targets.py:25
Method__init__
(self, fourier_degree=5, resample_step=4.0, center_region_s
mmocr/datasets/pipelines/textdet_targets/fcenet_targets.py:29
Method__init__
(self, shrink_ratio=0.4, thr_min=0.3, thr_max=0.7,
mmocr/datasets/pipelines/textdet_targets/dbnet_targets.py:27
Method__init__
(self, orientation_thr=2.0, resample_step=8.0, num_min_comp
mmocr/datasets/pipelines/textdet_targets/drrg_targets.py:43
Method__init__
(self, annotation_type='bio', vocab_file=None, categories=N
mmocr/models/ner/convertors/ner_convertor.py:22
Method__init__
(self, vocab_size=21128, hidden_size=768, max_position_embe
mmocr/models/ner/utils/bert.py:154
Method__init__
(self, output_attentions=False, output_hidden_states=False,
mmocr/models/ner/utils/bert.py:197
Method__init__
(self, hidden_size=768)
mmocr/models/ner/utils/bert.py:253
Method__init__
(self, hidden_size=768, num_attention_heads=12, output_atte
mmocr/models/ner/utils/bert.py:273
Method__init__
(self, hidden_size=768, num_attention_heads=12, output_atte
mmocr/models/ner/utils/bert.py:317
Method__init__
(self, hidden_size=768, layer_norm_eps=1e-12, hidden_dropou
mmocr/models/ner/utils/bert.py:394
Method__init__
(self, hidden_size=768, num_attention_heads=12, output_atte
mmocr/models/ner/utils/bert.py:416
Method__init__
(self, hidden_size=768, intermediate_size=3072, hidden_act_
mmocr/models/ner/utils/bert.py:448
Method__init__
(self, intermediate_size=3072, hidden_size=768, layer_norm_
mmocr/models/ner/utils/bert.py:469
Method__init__
(self, encoder, decoder, loss, label_conve
mmocr/models/ner/classifiers/ner_classifier.py:10
Method__init__
(self, num_hidden_layers=12, initializer_range=0.02, vocab_
mmocr/models/ner/encoders/bert_encoder.py:31
Method__init__
(self, num_labels=None, hidden_dropout_prob=0.1, hidden_siz
mmocr/models/ner/decoders/fc_decoder.py:19
Method__init__
(self, num_labels=None, ignore_index=0)
mmocr/models/ner/losses/masked_cross_entropy_loss.py:19
Method__init__
(self, num_labels=None, ignore_index=0)
mmocr/models/ner/losses/masked_focal_loss.py:19
Method__init__
(self, dict_type='DICT90', dict_file=None, dict_list=None,
mmocr/models/textrecog/convertors/master.py:27
Method__init__
(self, dict_type='DICT90', dict_file=None, dict_list=None,
mmocr/models/textrecog/convertors/attn.py:26
Method__init__
(self, dict_type='DICT90', dict_file=None, dict_list=None)
mmocr/models/textrecog/convertors/base.py:25
Method__init__
(self, dict_type='DICT90', dict_file=None, dict_list=None,
mmocr/models/textrecog/convertors/ctc.py:25
Method__init__
(self, dict_type='DICT36', dict_file=None, dict_list=None,
mmocr/models/textrecog/convertors/seg.py:24
Method__init__
(self, in_channels, out_channels, last_stage_only=True)
mmocr/models/textrecog/necks/fpn_ocr.py:19
Method__init__
(self, layers, input_dim=3, gcb_config=None)
mmocr/models/textrecog/backbones/resnet_extra.py:72
Method__init__
(self, base_channels=3, layers=[1, 2, 5, 3], channels=[64,
mmocr/models/textrecog/backbones/resnet31_ocr.py:23
Method__init__
(self, input_channels=3, input_height=32)
mmocr/models/textrecog/backbones/nrtr_modality_transformer.py:10
Method__init__
(self, leaky_relu=True, input_channels=3)
mmocr/models/textrecog/backbones/very_deep_vgg.py:16
Method__init__
(self, enc_bi_rnn=False, enc_do_rnn=0.0, enc_gru=False,
mmocr/models/textrecog/encoders/sar_encoder.py:28
← previousnext →1,501–1,600 of 2,851, ranked by callers