MCPcopy Create free account

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

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

Method__init__
(self, d_model, dropout=0., max_len=5000)
mmocr/models/textrecog/encoders/positional_encoding.py:14
Method__init__
(self, n_layers=6, n_head=8, d_k=64, d_v=6
mmocr/models/textrecog/encoders/transformer_encoder.py:14
Method__init__
(self, in_channels, out_channels)
mmocr/models/textrecog/encoders/channel_reduction_encoder.py:11
Method__init__
(self, dim_model, dim=-1)
mmocr/models/textrecog/layers/robust_scanner_fusion_layer.py:7
Method__init__
(self, dim_model=None)
mmocr/models/textrecog/layers/dot_product_attention_layer.py:8
Method__init__
(self, nIn, nHidden, nOut)
mmocr/models/textrecog/layers/lstm_layer.py:6
Method__init__
(self, dim_model, rnn_layers=2)
mmocr/models/textrecog/layers/position_aware_layer.py:6
Method__init__
(self, inplanes, ratio, headers, pooling_t
mmocr/models/textrecog/layers/context_block.py:6
Method__init__
(self, d_model=512, d_inner=256, n_head=8,
mmocr/models/textrecog/layers/transformer_layer.py:11
Method__init__
(self, d_model=512, d_inner=256, n_head=8,
mmocr/models/textrecog/layers/transformer_layer.py:48
Method__init__
(self, d_in, d_hid, dropout=0.1, act_layer=nn.GELU)
mmocr/models/textrecog/layers/transformer_layer.py:174
Method__init__
(self, d_hid=512, n_position=200)
mmocr/models/textrecog/layers/transformer_layer.py:193
Method__init__
(self, inplanes, planes, stride=1, downsample=False)
mmocr/models/textrecog/layers/conv_layer.py:57
Method__init__
(self, beam_width=5, num_classes=37, enc_bi_rnn=False,
mmocr/models/textrecog/decoders/sar_decoder_with_bs.py:41
Method__init__
(self, in_channels=None, num_classes=None, rnn_flag=False,
mmocr/models/textrecog/decoders/crnn_decoder.py:12
Method__init__
(self, num_classes=37, enc_bi_rnn=False, dec_bi_rnn=False,
mmocr/models/textrecog/decoders/sar_decoder.py:247
Method__init__
(self, num_classes=None, dim_input=512, dim_model=128,
mmocr/models/textrecog/decoders/robust_scanner_decoder.py:13
Method__init__
(self, size, dropout)
mmocr/models/textrecog/decoders/master_decoder.py:36
Method__init__
(self, d_model, d_ff, dropout)
mmocr/models/textrecog/decoders/master_decoder.py:49
Method__init__
(self, headers, d_model, dropout)
mmocr/models/textrecog/decoders/master_decoder.py:76
Method__init__
(self, size, self_attn, src_attn, feed_forward, dropout)
mmocr/models/textrecog/decoders/master_decoder.py:102
Method__init__
(self, N, decoder, d_model, num_classes,
mmocr/models/textrecog/decoders/master_decoder.py:119
Method__init__
(self, num_classes=None, rnn_layers=2, dim_input=512,
mmocr/models/textrecog/decoders/sequence_attention_decoder.py:15
Method__init__
(self, num_classes=None, rnn_layers=2, dim_input=512,
mmocr/models/textrecog/decoders/position_attention_decoder.py:15
Method__init__
(self, n_layers=6, d_embedding=512, n_head=8,
mmocr/models/textrecog/decoders/transformer_decoder.py:18
Method__init__
(self, **kwargs)
mmocr/models/textrecog/decoders/base_decoder.py:10
Method__init__
(self, in_channels=128, num_classes=37, upsample_param=None)
mmocr/models/textrecog/heads/seg_head.py:19
Method__init__
(self, seg_downsample_ratio=0.5, seg_with_loss_weight=True,
mmocr/models/textrecog/losses/seg_loss.py:22
Method__init__
(self, ignore_index=0, reduction='mean', **kwargs)
mmocr/models/textrecog/losses/ce_loss.py:52
Method__init__
(self, ignore_index=-1, reduction='none', flatten=True,
mmocr/models/textrecog/losses/ce_loss.py:72
Method__init__
(self, ignore_index=-1, reduction='none', flatten=True,
mmocr/models/textrecog/losses/ce_loss.py:99
Method__init__
(self, flatten=True, blank=0, reduction='mean',
mmocr/models/textrecog/losses/ctc_loss.py:24
Method__init__
(self, preprocessor=None, backbone=None, encoder=None,
mmocr/models/textrecog/recognizer/master.py:14
Method__init__
(self)
mmocr/models/textrecog/recognizer/base.py:19
Method__init__
(self, preprocessor=None, backbone=None, encoder=None,
mmocr/models/textrecog/recognizer/encode_decode_recognizer.py:11
Method__init__
(self, preprocessor=None, backbone=None, neck=None,
mmocr/models/textrecog/recognizer/seg_recognizer.py:11
Method__init__
(self, num_fiducial=20, img_size=(32, 100), rectified_img_s
mmocr/models/textrecog/preprocessor/tps_preprocessor.py:43
Method__init__
(self, num_fiducial, num_img_channel)
mmocr/models/textrecog/preprocessor/tps_preprocessor.py:93
Method__init__
(self, backbone, neck=None, bbox_head=None,
mmocr/models/kie/extractors/sdmgr.py:26
Method__init__
(self, num_chars=92, visual_dim=64, fusion_dim=1024,
mmocr/models/kie/heads/sdmgr_head.py:12
Method__init__
(self, node_dim=256, edge_dim=256)
mmocr/models/kie/heads/sdmgr_head.py:87
Method__init__
(self, node_weight=1.0, edge_weight=1.0, ignore=-100)
mmocr/models/kie/losses/sdmgr_loss.py:17
Method__init__
(self, conv_block, in_channels, skip_channels,
mmocr/models/common/backbones/unet.py:52
Method__init__
(self, in_channels, out_channels, num_convs=2,
mmocr/models/common/backbones/unet.py:142
Method__init__
(self, in_channels, out_channels, with_cp=False,
mmocr/models/common/backbones/unet.py:204
Method__init__
(self, in_channels, out_channels, with_cp=False,
mmocr/models/common/backbones/unet.py:279
Method__init__
(self, eps=1e-6)
mmocr/models/common/losses/dice_loss.py:10
Method__init__
(self, gamma=2, weight=None, ignore_index=-100)
mmocr/models/common/losses/focal_loss.py:18
Method__init__
(self, in_dim, out_dim)
mmocr/models/textdet/modules/gcn.py:16
Method__init__
(self, k_at_hops, num_adjacent_linkages, node_geo_feat_len, pooling_scale, pooling_output_siz
mmocr/models/textdet/modules/proposal_local_graph.py:41
Method__init__
(self, k_at_hops, num_adjacent_linkages, node_geo_feat_len, pooling_scale, pooling_output_siz
mmocr/models/textdet/modules/local_graph.py:29
Method__init__
(self, in_channels, out_channels)
mmocr/models/textdet/necks/fpn_unet.py:42
Method__init__
( self, in_channels=[256, 512, 1024, 2048], out_channels=256,
mmocr/models/textdet/necks/fpnf.py:15
Method__init__
(self, in_channels, lateral_channels=256, out_channels=64,
mmocr/models/textdet/necks/fpn_cat.py:19
Method__init__
(self, in_channels, out_channels, stride=1)
mmocr/models/textdet/necks/fpem_ffm.py:38
Method__init__
(self, in_channels, conv_out=128, fpem_repeat=2,
mmocr/models/textdet/necks/fpem_ffm.py:65
Method__init__
( self, in_channels, out_channels, text_repr_type='poly', # '
mmocr/models/textdet/dense_heads/pse_head.py:9
Method__init__
(self, in_channels, k_at_hops=(8, 4), num_adjacent_linkages
mmocr/models/textdet/dense_heads/drrg_head.py:45
Method__init__
(self, in_channels, scales, fourier_degree=5,
mmocr/models/textdet/dense_heads/fce_head.py:34
Method__init__
(self, in_channels, decoding_type='textsnake', text_repr_ty
mmocr/models/textdet/dense_heads/textsnake_head.py:16
Method__init__
( self, in_channels, out_channels, text_repr_type='poly', # '
mmocr/models/textdet/dense_heads/pan_head.py:15
Method__init__
Initialization. Args: in_channels (int): The number of input channels of the db head. decoding_type (str): The type o
mmocr/models/textdet/dense_heads/db_head.py:15
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmocr/models/textdet/detectors/textsnake.py:13
Method__init__
(self, backbone, rpn_head, roi_head, train
mmocr/models/textdet/detectors/ocr_mask_rcnn.py:11
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmocr/models/textdet/detectors/single_stage_text_detector.py:12
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmocr/models/textdet/detectors/psenet.py:16
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmocr/models/textdet/detectors/panet.py:16
Method__init__
(self, show_score)
mmocr/models/textdet/detectors/text_detector_mixin.py:11
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmocr/models/textdet/detectors/dbnet.py:16
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmocr/models/textdet/detectors/fcenet.py:15
Method__init__
(self, backbone, neck, bbox_head, train_cf
mmocr/models/textdet/detectors/drrg.py:16
Method__init__
(self, ind)
mmocr/models/textdet/postprocess/wrapper.py:516
Method__init__
Initialization. Args: ohem_ratio (float): The negative/positive ratio in OHEM.
mmocr/models/textdet/losses/drrg_loss.py:19
Method__init__
Initialization. Args: alpha (float): alpha: The text loss coef; (1-alpha): the kernel loss coef. ohem
mmocr/models/textdet/losses/pse_loss.py:15
Method__init__
(self, fourier_degree, num_sample, ohem_ratio=3.)
mmocr/models/textdet/losses/fce_loss.py:25
Method__init__
Initialization. Args: ohem_ratio (float): The negative/positive ratio in ohem.
mmocr/models/textdet/losses/textsnake_loss.py:19
Method__init__
Initialization. Args: alpha (float): The binary loss coef. beta (float): The threshold loss coef. reducti
mmocr/models/textdet/losses/db_loss.py:16
Method__init__
Initialization. Args: alpha (float): The kernel loss coef. beta (float): The aggregation and discriminative loss coef
mmocr/models/textdet/losses/pan_loss.py:23
Method__iter__
(self)
mmdetection-2.11.0/mmdet/core/mask/structures.py:246
Method__iter__
(self)
mmdetection-2.11.0/mmdet/core/mask/structures.py:597
Method__iter__
(self)
mmdetection-2.11.0/mmdet/datasets/samplers/group_sampler.py:23
Method__iter__
(self)
mmdetection-2.11.0/mmdet/datasets/samplers/group_sampler.py:101
Method__iter__
(self)
mmdetection-2.11.0/mmdet/datasets/samplers/distributed_sampler.py:20
Method__iter__
(self)
mmocr/datasets/utils/loader.py:42
Method__len__
Number of masks.
mmdetection-2.11.0/mmdet/core/mask/structures.py:256
Method__len__
Number of masks.
mmdetection-2.11.0/mmdet/core/mask/structures.py:607
Method__len__
Total number of samples of data.
mmdetection-2.11.0/mmdet/datasets/custom.py:106
Method__len__
Length after repetition.
mmdetection-2.11.0/mmdet/datasets/dataset_wrappers.py:192
Method__len__
Length after repetition.
mmdetection-2.11.0/mmdet/datasets/dataset_wrappers.py:307
Method__len__
(self)
mmdetection-2.11.0/mmdet/datasets/samplers/group_sampler.py:47
Method__len__
(self)
mmdetection-2.11.0/mmdet/datasets/samplers/group_sampler.py:144
Method__len__
(self)
mmdetection-2.11.0/tests/test_runtime/test_eval_hook.py:27
Method__len__
(self)
mmocr/datasets/base_dataset.py:78
Method__len__
(self)
mmocr/datasets/utils/loader.py:31
Method__len__
(self)
mmocr/datasets/utils/loader.py:114
Method__len__
(self)
mmocr/datasets/utils/loader.py:169
Method__next__
(self)
mmocr/datasets/utils/loader.py:46
Method__nice__
(self)
mmdetection-2.11.0/mmdet/core/bbox/samplers/sampling_result.py:71
Method__nice__
str: a "nice" summary string describing this assign result
mmdetection-2.11.0/mmdet/core/bbox/assigners/assign_result.py:77
Method__repr__
str: a string describing the module
mmdetection-2.11.0/mmdet/core/bbox/iou_calculators/iou2d_calculator.py:37
← previousnext →1,601–1,700 of 2,851, ranked by callers