MCPcopy Create free account

hub / github.com/AlibabaResearch/AdvancedLiterateMachinery / functions

Functions4,693 in github.com/AlibabaResearch/AdvancedLiterateMachinery

↓ 1 callersMethod_get_optimizer
(self)
DocumentUnderstanding/GeoLayoutLM/lightning_modules/bros_module.py:82
↓ 1 callersMethod_get_train_loader
(self)
DocumentUnderstanding/GeoLayoutLM/lightning_modules/data_modules/vie_data_module.py:46
↓ 1 callersMethod_get_val_test_loaders
(self, mode)
DocumentUnderstanding/GeoLayoutLM/lightning_modules/data_modules/vie_data_module.py:75
↓ 1 callersFunction_get_wh_feat
(ind, output, ttype)
DocumentUnderstanding/LORE-TSR/src/lib/models/utils.py:66
↓ 1 callersMethod_getitem_geo
(self, idx)
DocumentUnderstanding/GeoLayoutLM/lightning_modules/data_modules/vie_dataset.py:89
↓ 1 callersMethod_infer_shape
(ctx, input, weight)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/dcn/functions/deform_conv.py:174
↓ 1 callersMethod_init
(self)
OCR/LISTER/model/nb_decoder.py:129
↓ 1 callersMethod_init_weight
(self)
DocumentUnderstanding/GeoLayoutLM/model/geolayoutlm_vie.py:58
↓ 1 callersFunction_judge
(box)
DocumentUnderstanding/LORE-TSR/src/lib/models/classifier.py:148
↓ 1 callersMethod_judge
(self,box)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/sample/ctdet.py:85
↓ 1 callersFunction_left_aggregate
heat: batchsize x channels x h x w
DocumentUnderstanding/DocXLayout/models/decode.py:20
↓ 1 callersMethod_load_examples
(self)
DocumentUnderstanding/GeoLayoutLM/lightning_modules/data_modules/vie_dataset.py:71
↓ 1 callersMethod_load_meta
(self, lines)
OCR/LevOCR/levt/dictionary.py:322
↓ 1 callersMethod_log
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/logger.h:73
↓ 1 callersMethod_log
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/logger.h:73
↓ 1 callersMethod_log_shell
(self, log_info, prefix="")
DocumentUnderstanding/GeoLayoutLM/lightning_modules/bros_module.py:97
↓ 1 callersMethod_make_deconv_layer
(self, num_layers, num_filters, num_kernels)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/resnet_dcn.py:209
↓ 1 callersFunction_normalized_ps
(ps, vocab_size)
DocumentUnderstanding/LORE-TSR/src/lib/models/utils.py:80
↓ 1 callersMethod_normalized_ps
(self, ps, vocab_size)
DocumentUnderstanding/LORE-TSR/src/lib/detectors/base_detector.py:137
↓ 1 callersMethod_output_size
(input, weight, padding, dilation, stride)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/dcn/functions/deform_conv.py:92
↓ 1 callersMethod_point_in_box
(self, box, point)
Applications/DocXChain/pipelines/table_parsing.py:117
↓ 1 callersMethod_point_in_box
(self, box, point)
Applications/DocXChain/pipelines/document_structurization.py:143
↓ 1 callersMethod_process_image
(self, image)
OCR/LISTER/dataset/dataset.py:164
↓ 1 callersFunction_random_delete
(target_tokens)
OCR/LevOCR/models.py:63
↓ 1 callersFunction_random_mask
(target_tokens)
OCR/LevOCR/models.py:101
↓ 1 callersMethod_read_charset
Reads a charset definition from a tab separated text file. Args: filename: a path to the charset file. Returns:
OCR/LevOCR/abinet/utils.py:40
↓ 1 callersMethod_recognize_and_assemble
Description: perform content recognition and assembling Parameters: image: the image to be processed, assume tha
Applications/DocXChain/pipelines/table_parsing.py:60
↓ 1 callersFunction_reg_loss
L1 regression loss Arguments: regr (batch x max_objects x dim) gt_regr (batch x max_objects x dim) mask (batch x max_objects)
DocumentUnderstanding/LORE-TSR/src/lib/models/losses.py:37
↓ 1 callersFunction_replace
(encoder_out, new_val)
OCR/LevOCR/levt/fairseq_nat_model.py:41
↓ 1 callersMethod_reset_parameters
(self)
OCR/LevOCR/abinet/transformer.py:367
↓ 1 callersMethod_reset_parameters
r"""Initiate parameters in the transformer model.
OCR/LevOCR/abinet/transformer.py:572
↓ 1 callersFunction_resnet
(arch, block, layers, pretrained, progress, **kwargs)
OCR/VLPT-STD/models/resnet.py:227
↓ 1 callersFunction_right_aggregate
heat: batchsize x channels x h x w
DocumentUnderstanding/DocXLayout/models/decode.py:34
↓ 1 callersMethod_save
(self, f, kv_iterator)
OCR/LevOCR/levt/dictionary.py:311
↓ 1 callersMethod_setDestination
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/logger.h:60
↓ 1 callersMethod_setDestination
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/logger.h:60
↓ 1 callersFunction_sigmoid
(x)
DocumentUnderstanding/LORE-TSR/src/lib/models/utils.py:9
↓ 1 callersFunction_top_aggregate
heat: batchsize x channels x h x w
DocumentUnderstanding/DocXLayout/models/decode.py:48
↓ 1 callersFunction_topk_channel
(scores, K=40)
DocumentUnderstanding/DocXLayout/models/decode.py:103
↓ 1 callersFunction_update_config
(cfg)
DocumentUnderstanding/GeoLayoutLM/utils/__init__.py:39
↓ 1 callersMethodaccuracy_by_now
(self)
OCR/LISTER/utils.py:357
↓ 1 callersMethodadd
Add a feature to the table * @param value the value to store for that feature * @param feature the feature itself */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/lsh_table.h:166
↓ 1 callersMethodadd
Add a feature to the table * @param value the value to store for that feature * @param feature the feature itself */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/lsh_table.h:166
↓ 1 callersMethodadd
(self, prdt_texts, labels)
OCR/LISTER/utils.py:332
↓ 1 callersMethodadd_from_file
Loads a pre-existing dictionary from a text file and adds its symbols to this instance.
OCR/LevOCR/levt/dictionary.py:266
↓ 1 callersFunctionadd_patch_box
(img, patch_size=(16, 16), thickness=2)
OCR/LISTER/utils.py:439
↓ 1 callersFunctionadd_path
(path)
DocumentUnderstanding/LORE-TSR/src/_init_paths.py:4
↓ 1 callersMethodaddref
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/mat.hpp:361
↓ 1 callersMethodaddref
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/operations.hpp:2598
↓ 1 callersMethodaddref
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/mat.hpp:361
↓ 1 callersMethodaddref
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:2598
↓ 1 callersFunctionadjacency
(box1, box2)
DocumentUnderstanding/LORE-TSR/src/lib/utils/adjacency.py:5
↓ 1 callersFunctionaffine2dMotionStd
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/videostab/global_motion.hpp:81
↓ 1 callersFunctionaffine2dMotionStd
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/videostab/global_motion.hpp:81
↓ 1 callersFunctionaffine_transform
(pt, t)
DocumentUnderstanding/DocXLayout/utils/image.py:66
↓ 1 callersMethodalign_chars
(self, start_map, nb_map, max_ch=None)
OCR/LISTER/model/nb_decoder.py:132
↓ 1 callersFunctionallocate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/core.hpp:318
↓ 1 callersFunctionallocate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/core.hpp:318
↓ 1 callersMethodallocateMemory
* Returns a pointer to a piece of new memory of the given size in bytes * allocated from the pool. */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/allocator.h:123
↓ 1 callersMethodallocateMemory
* Returns a pointer to a piece of new memory of the given size in bytes * allocated from the pool. */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/allocator.h:123
↓ 1 callersMethodapply_sparse_mask
(self, attn_weights, tgt_len: int, src_len: int, bsz: int)
OCR/LevOCR/levt/multihead_attention.py:467
↓ 1 callersFunctionattach
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/legacy/legacy.hpp:1397
↓ 1 callersFunctionattach
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/legacy/legacy.hpp:1397
↓ 1 callersFunctionattention
(q, k, v, d_k, mask=None, dropout=None)
DocumentUnderstanding/LORE-TSR/src/lib/models/transformer.py:113
↓ 1 callersMethodattention_map
(self, q, k, v, mask=None)
DocumentUnderstanding/LORE-TSR/src/lib/models/transformer.py:158
↓ 1 callersFunctionattention_score
(q, k, v, d_k)
DocumentUnderstanding/LORE-TSR/src/lib/models/transformer.py:138
↓ 1 callersMethodauto_scale_workers
When the config is defined for certain number of workers (according to ``cfg.SOLVER.REFERENCE_WORLD_SIZE``) that's different from the
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:735
↓ 1 callersMethodaverage_data_time
(self)
OCR/LevOCR/abinet/utils.py:151
↓ 1 callersMethodaverage_running_time
(self)
OCR/LevOCR/abinet/utils.py:154
↓ 1 callersFunctionbenchmark_all_eval
evaluation with 10 benchmark evaluation datasets
OCR/MGP-STR/test_final.py:29
↓ 1 callersFunctionbenchmark_all_eval
(model, criterion, converter, src_dict, opt)
OCR/LevOCR/eval.py:21
↓ 1 callersFunctionbilinear_interp_cpu
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:34
↓ 1 callersFunctionbilinear_interp_cpu
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:34
↓ 1 callersMethodbpe_encode
(self, text)
OCR/MGP-STR/utils.py:60
↓ 1 callersMethodbubble_sort
(self, unit_list)
DocumentUnderstanding/LORE-TSR/src/lib/utils/eval_utils.py:191
↓ 1 callersMethodbuildIndex
* Builds the index. */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/flann_base.hpp:130
↓ 1 callersMethodbuildIndex
* Builds the index. */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/flann_base.hpp:130
↓ 1 callersFunctionbuildMaps
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/stitching/detail/warpers.hpp:336
↓ 1 callersFunctionbuildMaps
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/stitching/detail/warpers.hpp:336
↓ 1 callersFunctionbuild_PTM_VIT_Backbone
Create a VIT instance from config. Args: cfg: a detectron2 CfgNode Returns: A VIT backbone instance.
DocumentUnderstanding/VGT/object_detection/ditod/VGTbackbone.py:167
↓ 1 callersMethodbuild_decoder
(cls, args, tgt_dict, embed_tokens)
OCR/LevOCR/levt/levenshtein_transformer.py:149
↓ 1 callersMethodbuild_decoder_layer
(self, args, no_encoder_attn=False)
OCR/LevOCR/levt/levenshtein_transformer.py:572
↓ 1 callersMethodbuild_embedding
(cls, dictionary, embed_dim)
OCR/LevOCR/levt/levenshtein_transformer.py:130
↓ 1 callersMethodbuild_encoder
(cls, args, src_dict, embed_tokens)
OCR/LevOCR/levt/levenshtein_transformer.py:142
↓ 1 callersMethodbuild_encoder_attention
(self, embed_dim, args)
OCR/LevOCR/levt/transformer_layer.py:368
↓ 1 callersMethodbuild_encoder_layer
(self, args, no_encoder_attn=False)
OCR/LevOCR/levt/levenshtein_transformer.py:438
↓ 1 callersMethodbuild_evaluator
(cls, cfg, dataset_name, output_folder=None)
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:668
↓ 1 callersMethodbuild_fc1
(self, input_dim, output_dim, q_noise, qn_block_size)
OCR/LevOCR/levt/transformer_layer.py:174
↓ 1 callersMethodbuild_fc1
(self, input_dim, output_dim, q_noise, qn_block_size)
OCR/LevOCR/levt/transformer_layer.py:348
↓ 1 callersMethodbuild_fc2
(self, input_dim, output_dim, q_noise, qn_block_size)
OCR/LevOCR/levt/transformer_layer.py:179
↓ 1 callersMethodbuild_fc2
(self, input_dim, output_dim, q_noise, qn_block_size)
OCR/LevOCR/levt/transformer_layer.py:351
↓ 1 callersMethodbuild_hooks
Build a list of default hooks, including timing, evaluation, checkpointing, lr scheduling, precise BN, writing events. Retur
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:474
↓ 1 callersMethodbuild_lr_scheduler
It now calls :func:`detectron2.solver.build_lr_scheduler`. Overwrite it if you'd like a different scheduler.
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:638
↓ 1 callersMethodbuild_model
Build a new model instance.
OCR/LevOCR/levt/levenshtein_transformer.py:116
↓ 1 callersMethodbuild_optimizer
(cls, cfg, model)
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:589
↓ 1 callersMethodbuild_output_projection
(self, args, dictionary, embed_tokens)
OCR/LevOCR/levt/levenshtein_transformer.py:430
↓ 1 callersMethodbuild_output_projection
(self, args, dictionary, embed_tokens)
OCR/LevOCR/levt/levenshtein_transformer.py:564
↓ 1 callersMethodbuild_self_attention
(self, embed_dim, args)
OCR/LevOCR/levt/transformer_layer.py:184
↓ 1 callersMethodbuild_self_attention
( self, embed_dim, args, add_bias_kv=False, add_zero_attn=False )
OCR/LevOCR/levt/transformer_layer.py:354
↓ 1 callersMethodbuild_test_loader
Returns: iterable It now calls :func:`detectron2.data.build_detection_test_loader`. Overwrite it if you'd like a
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:654
← previousnext →701–800 of 4,693, ranked by callers