MCPcopy Create free account

hub / github.com/AlibabaResearch/AdvancedLiterateMachinery / functions

Functions4,693 in github.com/AlibabaResearch/AdvancedLiterateMachinery

Method__init__
(self, mean=0, var=20)
OCR/LISTER/dataset/img_transforms.py:249
Method__init__
(self, degrees=12, angle=90)
OCR/LISTER/dataset/img_transforms.py:264
Method__init__
(self, degrees=15, translate=(0.3, 0.3), scale=(0.5, 2.), shear=(45, 15), distortion=0
OCR/LISTER/dataset/img_transforms.py:284
Method__init__
(self, var, degrees, factor, p=0.5)
OCR/LISTER/dataset/img_transforms.py:306
Method__init__
(self, brightness=0.5, contrast=0.5, saturation=0.5, hue=0.1, p=0.5)
OCR/LISTER/dataset/img_transforms.py:328
Method__init__
(self, num_classes, feat_dim)
OCR/LISTER/model/pat_decoder.py:7
Method__init__
(self, feat_dim, num_layers=1, focal_level=3, max_kh=1, layerscale_value=1e-6, drop_rate=0.0)
OCR/LISTER/model/nb_decoder.py:52
Method__init__
(self, num_classes, feat_dim, max_ch=1000, iters=0, nhead=8, window_size=11, num_sa_layers=2,
OCR/LISTER/model/nb_decoder.py:102
Method__init__
(self, num_classes, feat_dim, blank_id)
OCR/LISTER/model/ctc_decoder.py:6
Method__init__
(self, dim, focal_window, focal_level, max_kh, focal_factor=2, bias=True, proj_drop=0., use_postln_in_modulati
OCR/LISTER/model/feature_extractor.py:63
Method__init__
(self, dim, mlp_ratio=4., drop=0., drop_path=0., act_layer=nn.GELU, norm_layer=nn.LayerNo
OCR/LISTER/model/feature_extractor.py:157
Method__init__
(self, dim, out_dim, depth, mlp_ratio=4., drop=0., drop_path=0., norm_layer=nn.LayerNorm,
OCR/LISTER/model/feature_extractor.py:242
Method__init__
(self, in_chans, embed_dim)
OCR/LISTER/model/feature_extractor.py:308
Method__init__
(self, max_kh=3, stride=2, in_chans=3, embed_dim=96, is_stem=False, norm_layer=None)
OCR/LISTER/model/feature_extractor.py:350
Method__init__
(self, in_chans=3, embed_dim=96, depths=[2, 2, 6, 2],
OCR/LISTER/model/feature_extractor.py:404
Method__init__
(self, input_size, hidden_size, num_embeddings=0)
OCR/LISTER/model/RNNDecoder.py:88
Method__init__
(self, feat_dim, nhead, window_size, add_pos_bias:bool, drop=0.0, proj_drop=0.0, init_values=1e-6, mlm=False)
OCR/LISTER/model/la_utils.py:82
Method__init__
(self, feat_dim, nhead, window_size, num_layers, drop_rate=0.0, proj_drop_rate=0.0, detach_grad=False, mlm=Fal
OCR/LISTER/model/la_utils.py:108
Method__init__
(self)
OCR/LISTER/model/model.py:18
Method__init__
(self, num_classes, enc='focalnet', **kwargs)
OCR/LISTER/model/model.py:156
Method__init__
(self, num_classes, enc='focalnet', **kwargs)
OCR/LISTER/model/model.py:222
Method__init__
(self, num_classes, blank_id, enc='focalnet', **kwargs)
OCR/LISTER/model/model.py:290
Method__init__
(self, opt)
OCR/MGP-STR/utils.py:12
Method__init__
(self)
OCR/MGP-STR/utils.py:92
Method__init__
(self, opt)
OCR/MGP-STR/models.py:27
Method__init__
Modulate the data ratio in the batch. For example, when select_data is "MJ-ST" and batch_ratio is "0.5-0.5", the 50% of the b
OCR/MGP-STR/dataset.py:32
Method__init__
(self, root, opt)
OCR/MGP-STR/dataset.py:144
Method__init__
(self, root, opt)
OCR/MGP-STR/dataset.py:223
Method__init__
(self, opt)
OCR/MGP-STR/dataset.py:265
Method__init__
(self, max_size, PAD_type='right')
OCR/MGP-STR/dataset.py:409
Method__init__
(self, imgH=32, imgW=100, keep_ratio_with_pad=False, opt=None)
OCR/MGP-STR/dataset.py:423
Method__init__
(self, root, opt)
OCR/MGP-STR/dataset.py:481
Method__init__
(self, window_size=20, fmt=None)
OCR/MGP-STR/utils_dist.py:22
Method__init__
(self, delimiter="\t")
OCR/MGP-STR/utils_dist.py:80
Method__init__
(self, batch_max_length, *args, **kwargs)
OCR/MGP-STR/modules/mgp_str.py:48
Method__init__
(self, input_embed_dim, out_token=30)
OCR/MGP-STR/modules/token_learner.py:13
Method__init__
(self, batch_max_length, *args, **kwargs)
OCR/MGP-STR/modules/char_str.py:45
Method__init__
(self)
OCR/MGP-STR/augmentation/blur.py:18
Method__init__
(self)
OCR/MGP-STR/augmentation/blur.py:42
Method__init__
(self)
OCR/MGP-STR/augmentation/blur.py:84
Method__init__
(self)
OCR/MGP-STR/augmentation/blur.py:117
Method__init__
(self)
OCR/MGP-STR/augmentation/blur.py:150
Method__init__
(self)
OCR/MGP-STR/augmentation/weather.py:15
Method__init__
(self)
OCR/MGP-STR/augmentation/weather.py:49
Method__init__
(self)
OCR/MGP-STR/augmentation/weather.py:96
Method__init__
(self)
OCR/MGP-STR/augmentation/weather.py:151
Method__init__
(self)
OCR/MGP-STR/augmentation/weather.py:189
Method__init__
(self)
OCR/MGP-STR/augmentation/geometry.py:11
Method__init__
(self, square_side=224)
OCR/MGP-STR/augmentation/geometry.py:85
Method__init__
(self)
OCR/MGP-STR/augmentation/geometry.py:119
Method__init__
(self)
OCR/MGP-STR/augmentation/geometry.py:159
Method__init__
(self)
OCR/MGP-STR/augmentation/geometry.py:181
Method__init__
(self)
OCR/MGP-STR/augmentation/geometry.py:203
Method__init__
(self)
OCR/MGP-STR/augmentation/geometry.py:218
Method__init__
(self)
OCR/MGP-STR/augmentation/noise.py:10
Method__init__
(self)
OCR/MGP-STR/augmentation/noise.py:32
Method__init__
(self)
OCR/MGP-STR/augmentation/noise.py:54
Method__init__
(self)
OCR/MGP-STR/augmentation/noise.py:75
Method__init__
(self)
OCR/MGP-STR/augmentation/warp.py:11
Method__init__
(self)
OCR/MGP-STR/augmentation/warp.py:83
Method__init__
(self, square_side=224)
OCR/MGP-STR/augmentation/warp.py:165
Method__init__
(self)
OCR/MGP-STR/augmentation/camera.py:15
Method__init__
(self)
OCR/MGP-STR/augmentation/camera.py:37
Method__init__
(self)
OCR/MGP-STR/augmentation/camera.py:83
Method__init__
(self)
OCR/MGP-STR/augmentation/camera.py:103
Method__init__
(self)
OCR/MGP-STR/augmentation/pattern.py:11
Method__init__
(self)
OCR/MGP-STR/augmentation/pattern.py:38
Method__init__
(self)
OCR/MGP-STR/augmentation/pattern.py:64
Method__init__
(self)
OCR/MGP-STR/augmentation/pattern.py:76
Method__init__
(self)
OCR/MGP-STR/augmentation/pattern.py:107
Method__init__
(self)
OCR/MGP-STR/augmentation/process.py:7
Method__init__
(self)
OCR/MGP-STR/augmentation/process.py:27
Method__init__
(self)
OCR/MGP-STR/augmentation/process.py:46
Method__init__
(self)
OCR/MGP-STR/augmentation/process.py:59
Method__init__
(self)
OCR/MGP-STR/augmentation/process.py:72
Method__init__
(self)
OCR/MGP-STR/augmentation/process.py:85
Method__init__
(self)
OCR/MGP-STR/augmentation/process.py:105
Method__init__
(self, degrees=15)
OCR/LevOCR/transforms.py:33
Method__init__
(self, degrees, translate=None, scale=None, shear=None)
OCR/LevOCR/transforms.py:56
Method__init__
(self, distortion=0.5)
OCR/LevOCR/transforms.py:186
Method__init__
Define image scales using gaussian pyramid and rescale image to target scale. Args: factor: the decayed factor from base
OCR/LevOCR/transforms.py:220
Method__init__
(self, mean=0, var=20)
OCR/LevOCR/transforms.py:247
Method__init__
(self, degrees=12, angle=90)
OCR/LevOCR/transforms.py:262
Method__init__
(self, degrees=15, translate=(0.3, 0.3), scale=(0.5, 2.), shear=(45, 15), distortion=0
OCR/LevOCR/transforms.py:282
Method__init__
(self, var, degrees, factor, p=0.5)
OCR/LevOCR/transforms.py:300
Method__init__
(self, brightness=0.5, contrast=0.5, saturation=0.5, hue=0.1, p=0.5)
OCR/LevOCR/transforms.py:322
Method__init__
(self, src_dict)
OCR/LevOCR/utils.py:10
Method__init__
(self)
OCR/LevOCR/utils.py:64
Method__init__
(self, opt, src_dict)
OCR/LevOCR/models.py:147
Method__init__
Modulate the data ratio in the batch. For example, when select_data is "MJ-ST" and batch_ratio is "0.5-0.5", the 50% of the b
OCR/LevOCR/dataset.py:22
Method__init__
(self, root, opt, test_flag)
OCR/LevOCR/dataset.py:132
Method__init__
(self, imgH=32, imgW=100)
OCR/LevOCR/dataset.py:254
Method__init__
(self, size, interpolation=Image.BICUBIC)
OCR/LevOCR/dataset.py:275
Method__init__
(self, max_size, PAD_type='right')
OCR/LevOCR/dataset.py:287
Method__init__
(self, imgH=32, imgW=100)
OCR/LevOCR/dataset.py:312
Method__init__
(self, path, opt)
OCR/LevOCR/dataset.py:345
Method__init__
Args: pn0: the prob of not modifying characters is (pn0) pn1: the prob of modifying one characters is (pn1 - pn0)
OCR/LevOCR/dataset.py:364
Method__init__
Args: pn0: the prob of not modifying characters is (pn0) pn1: the prob of modifying one characters is (pn1 - pn0)
OCR/LevOCR/dataset.py:433
Method__init__
(self, window_size=20, fmt=None)
OCR/LevOCR/utils_dist.py:16
Method__init__
(self, delimiter="\t")
OCR/LevOCR/utils_dist.py:74
← previousnext →1,901–2,000 of 4,693, ranked by callers