MCPcopy Create free account

hub / github.com/AlibabaResearch/AdvancedLiterateMachinery / functions

Functions4,693 in github.com/AlibabaResearch/AdvancedLiterateMachinery

↓ 1 callersFunctionbuild_transform_gen
Create a list of :class:`TransformGen` from config. Returns: list[TransformGen]
DocumentUnderstanding/VGT/object_detection/ditod/dataset_mapper.py:31
↓ 1 callersFunctionbuild_transform_gen_w
Create a list of :class:`TransformGen` from config. Returns: list[TransformGen]
DocumentUnderstanding/VGT/object_detection/ditod/dataset_mapper.py:58
↓ 1 callersMethodbuild_writers
Build a list of writers to be used using :func:`default_writers()`. If you'd like a different list of writers, you can overwrite it i
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:522
↓ 1 callersMethodcalc_bbox_pos_emb
(self, bbox, pe_type)
DocumentUnderstanding/GeoLayoutLM/bros/modeling_bros.py:278
↓ 1 callersMethodcalc_entropy
Args: p: probability distribution over the last dimension, of size (..., L, C) mask: (..., L)
OCR/LISTER/model/model.py:109
↓ 1 callersMethodcalc_eos_loc_loss
(self, char_maps, target_lens, eps=1e-10)
OCR/LISTER/model/model.py:102
↓ 1 callersFunctioncalc_iou
(label, detect)
DocumentUnderstanding/DocXLayout/utils/evaluation_bk.py:98
↓ 1 callersFunctioncalc_iou
(label, detect)
DocumentUnderstanding/VGT/object_detection/ditod/utils.py:134
↓ 1 callersFunctioncalc_main_angle
(pts_list)
DocumentUnderstanding/DocXLayout/wrapper.py:5
↓ 1 callersMethodcalc_rec_loss
Args: logits: [minibatch, C, T], not passed to the softmax func. targets, torch.cuda.LongTensor [minibatch, T]
OCR/LISTER/model/model.py:88
↓ 1 callersMethodcalc_rec_loss
Args: logits: [minibatch, C, T], not passed to the softmax func. targets, torch.cuda.LongTensor [minibatch, T]
OCR/LISTER/model/model.py:184
↓ 1 callersMethodcalc_rec_loss
Args: logits: [minibatch, C, T], not passed to the softmax func. targets, torch.cuda.LongTensor [minibatch, T]
OCR/LISTER/model/model.py:250
↓ 1 callersMethodcalc_rec_loss
Args: logits: [b, T, C], not passed to the softmax func. targets: torch.IntTensor [T'] pred_sizes: [b]
OCR/LISTER/model/model.py:317
↓ 1 callersFunctioncalc_x_type
(a, b)
DocumentUnderstanding/DocXLayout/wrapper.py:29
↓ 1 callersFunctioncalc_y_type
(a, b)
DocumentUnderstanding/DocXLayout/wrapper.py:62
↓ 1 callersFunctioncfg_to_hparams
(cfg, hparam_dict, parent_str="")
DocumentUnderstanding/GeoLayoutLM/utils/__init__.py:120
↓ 1 callersMethodchannels
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/mat.hpp:402
↓ 1 callersFunctioncheckImageIsValid
(imageBin)
OCR/MGP-STR/create_lmdb_dataset.py:11
↓ 1 callersFunctioncheck_gradient_dconv
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcpu.py:69
↓ 1 callersFunctioncheck_gradient_dconv
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcuda.py:69
↓ 1 callersFunctioncheck_gradient_dconv
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcpu.py:69
↓ 1 callersFunctioncheck_gradient_dconv
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcuda.py:69
↓ 1 callersFunctioncheck_gradient_dpooling
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcpu.py:134
↓ 1 callersFunctioncheck_gradient_dpooling
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcuda.py:134
↓ 1 callersFunctioncheck_gradient_dpooling
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcpu.py:134
↓ 1 callersFunctioncheck_gradient_dpooling
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcuda.py:134
↓ 1 callersFunctioncheck_pooling_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcpu.py:100
↓ 1 callersFunctioncheck_pooling_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcuda.py:100
↓ 1 callersFunctioncheck_pooling_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcpu.py:100
↓ 1 callersFunctioncheck_pooling_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcuda.py:100
↓ 1 callersFunctioncheck_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcpu.py:32
↓ 1 callersFunctioncheck_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcuda.py:32
↓ 1 callersFunctioncheck_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcpu.py:32
↓ 1 callersFunctioncheck_zero_offset
()
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcuda.py:32
↓ 1 callersMethodclear
Remove all elements in the set */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/result_set.h:523
↓ 1 callersMethodclear
Remove all elements in the set */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/result_set.h:523
↓ 1 callersMethodclear
(self)
OCR/LISTER/utils.py:314
↓ 1 callersFunctioncoco_into_labels
(annot_path, label_path)
DocumentUnderstanding/LORE-TSR/src/lib/utils/eval_utils.py:10
↓ 1 callersFunctioncolor_aug
(data_rng, image, eig_val, eig_vec)
DocumentUnderstanding/LORE-TSR/src/lib/utils/image.py:282
↓ 1 callersFunctioncols
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/opengl_interop.hpp:122
↓ 1 callersFunctioncols
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/opengl_interop.hpp:122
↓ 1 callersMethodcompute_IOU
(self, bbox1,bbox2)
DocumentUnderstanding/LORE-TSR/src/lib/utils/eval_utils.py:98
↓ 1 callersFunctioncompute_acc
(logits, labels)
OCR/VLPT-STD/utils.py:4
↓ 1 callersFunctioncompute_global_local_contrast
(image_feats_tii, candidate_false_text_feats_tii, valid_text_masks, logit_scale)
OCR/VLPT-STD/models/losses.py:65
↓ 1 callersFunctioncompute_image_text_contrast
(image_features, text_features, logit_scale)
OCR/VLPT-STD/models/losses.py:26
↓ 1 callersFunctioncompute_mlm
(mlm_logits, mlm_labels, vocab_size)
OCR/VLPT-STD/models/losses.py:9
↓ 1 callersMethodconcatenate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/affine.hpp:414
↓ 1 callersMethodconj
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/operations.hpp:1234
↓ 1 callersMethodconj
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:1234
↓ 1 callersMethodcontains
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/operations.hpp:1957
↓ 1 callersMethodcontains
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:1957
↓ 1 callersFunctionconv1x1
(in_planes, out_planes, stride=1)
OCR/LevOCR/abinet/resnet.py:8
↓ 1 callersFunctionconv3x3
3x3 convolution with padding
OCR/LevOCR/abinet/resnet.py:12
↓ 1 callersFunctionconv_identify
(weight, bias)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcpu.py:20
↓ 1 callersFunctionconv_identify
(weight, bias)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/testcuda.py:20
↓ 1 callersFunctionconv_identify
(weight, bias)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcpu.py:20
↓ 1 callersFunctionconv_identify
(weight, bias)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/testcuda.py:20
↓ 1 callersMethodconvert_eval_format
(self, all_bboxes, thresh)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table_small.py:67
↓ 1 callersMethodconvert_eval_format
(self, all_bboxes, thresh)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table_mid.py:67
↓ 1 callersMethodconvert_eval_format
(self, all_bboxes, thresh)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table.py:67
↓ 1 callersMethodcopy_from_value
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/any.h:85
↓ 1 callersMethodcopy_from_value
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/any.h:85
↓ 1 callersFunctioncorner_decode
(mk, st_reg, mk_reg=None, K=400)
DocumentUnderstanding/LORE-TSR/src/lib/models/decode.py:54
↓ 1 callersFunctioncosine_scheduler
Cosine LR scheduler with warmup from huggingface
DocumentUnderstanding/GeoLayoutLM/lightning_modules/schedulers.py:28
↓ 1 callersFunctioncountCorrectMatches
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/index_testing.h:48
↓ 1 callersFunctioncountCorrectMatches
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/index_testing.h:48
↓ 1 callersFunctioncount_params
(model)
OCR/LISTER/utils.py:458
↓ 1 callersFunctioncount_params
(model)
OCR/LISTER/model_cost.py:15
↓ 1 callersFunctioncreate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/legacy/legacy.hpp:1386
↓ 1 callersFunctioncreate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/stitching/detail/util.hpp:133
↓ 1 callersFunctioncreate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/legacy/legacy.hpp:1386
↓ 1 callersFunctioncreate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/stitching/detail/util.hpp:133
↓ 1 callersFunctioncreate_char_str
(batch_max_length, num_tokens, model=None, checkpoint_path='')
OCR/MGP-STR/modules/char_str.py:30
↓ 1 callersFunctioncreate_ddp_model
Create a DistributedDataParallel model if there are >1 processes. Args: model: a torch.nn.Module fp16_compression: add fp16
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:88
↓ 1 callersFunctioncreate_grid_dict
Create a dictionary with the tokenized input, bounding box coordinates, and text. Parameters ---------- tokenizer : HuggingFace Token
DocumentUnderstanding/VGT/object_detection/create_grid_input.py:86
↓ 1 callersFunctioncreate_index_by_type
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/all_indices.h:146
↓ 1 callersFunctioncreate_index_by_type
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/all_indices.h:146
↓ 1 callersFunctioncreate_mgp_str
(batch_max_length, num_tokens, model=None, checkpoint_path='')
OCR/MGP-STR/modules/mgp_str.py:33
↓ 1 callersMethodcross_att
(self, vis_input, grid_input)
DocumentUnderstanding/VGT/object_detection/ditod/VGTbeit.py:168
↓ 1 callersFunctioncross_union
(dets,pts,areas,inter_areas,min_areas,scores,thresh_min,thresh_conf)
DocumentUnderstanding/LORE-TSR/src/lib/external/shapelyNMS.py:89
↓ 1 callersFunctionctdet_4ps_decode
(heat, wh, ax, cr, corner_dict=None, reg=None, cat_spec_wh=False, K=100, wiz_rev = False)
DocumentUnderstanding/LORE-TSR/src/lib/models/decode.py:79
↓ 1 callersFunctionctdet_4ps_post_process
(dets, c, s, h, w, num_classes,rot=0)
DocumentUnderstanding/LORE-TSR/src/lib/utils/post_process.py:48
↓ 1 callersFunctionctdet_4ps_post_process
(dets, c, s, h, w, num_classes)
DocumentUnderstanding/DocXLayout/utils/post_process.py:87
↓ 1 callersFunctionctdet_4ps_post_process_upper_left
(dets, c, s, h, w, num_classes,rot=0)
DocumentUnderstanding/LORE-TSR/src/lib/utils/post_process.py:68
↓ 1 callersFunctionctdet_corner_post_process
(corner_st_reg, c, s, h, w, num_classes)
DocumentUnderstanding/LORE-TSR/src/lib/utils/post_process.py:107
↓ 1 callersFunctionctdet_post_process
(dets, c, s, h, w, num_classes)
DocumentUnderstanding/LORE-TSR/src/lib/utils/post_process.py:88
↓ 1 callersFunctioncvPoint
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/types_c.h:1029
↓ 1 callersFunctioncvPoint
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/types_c.h:1029
↓ 1 callersFunctioncvPointFrom32f
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/types_c.h:1065
↓ 1 callersFunctioncvPointFrom32f
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/types_c.h:1065
↓ 1 callersFunctioncvRandInt
Return random 32-bit unsigned integer: */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/types_c.h:410
↓ 1 callersFunctioncvRandInt
Return random 32-bit unsigned integer: */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/types_c.h:410
↓ 1 callersFunctioncvReadInt
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/core_c.h:1593
↓ 1 callersFunctioncvReadInt
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/core_c.h:1593
↓ 1 callersFunctioncvReadReal
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/core_c.h:1608
↓ 1 callersFunctioncvReadReal
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/core_c.h:1608
↓ 1 callersFunctioncvReadString
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/core_c.h:1623
↓ 1 callersFunctioncvReadString
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/core_c.h:1623
↓ 1 callersFunctioncvSlice
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/types_c.h:1208
↓ 1 callersFunctioncvSlice
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/types_c.h:1208
← previousnext →801–900 of 4,693, ranked by callers