MCPcopy Create free account

hub / github.com/AlibabaResearch/AdvancedLiterateMachinery / functions

Functions4,693 in github.com/AlibabaResearch/AdvancedLiterateMachinery

Method__len__
(self)
OCR/LevOCR/dataset.py:353
Method__len__
Returns the number of symbols in the dictionary
OCR/LevOCR/levt/dictionary.py:65
Method__len__
(self)
OCR/LevOCR/levt/dictionary.py:436
Method__len__
(self)
OCR/VLPT-STD/dataset.py:72
Method__len__
(self)
DocumentUnderstanding/LORE-TSR/src/test.py:49
Method__len__
(self)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table_small.py:93
Method__len__
(self)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table_mid.py:93
Method__len__
(self)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table.py:93
Method__len__
(self)
DocumentUnderstanding/GeoLayoutLM/lightning_modules/data_modules/vie_dataset.py:86
Method__post_init__
(self)
DocumentUnderstanding/GeoLayoutLM/bros/file_utils.py:537
Method__repr__
(self)
OCR/LevOCR/abinet/utils.py:224
Method__setstate__
(self, state)
OCR/LevOCR/abinet/transformer.py:717
Method__setstate__
(self, state)
OCR/LevOCR/abinet/transformer.py:792
Method__setstate__
(self, state)
DocumentUnderstanding/GeoLayoutLM/bros/transformer_local.py:124
Method__str__
(self)
OCR/MGP-STR/utils_dist.py:70
Method__str__
(self)
OCR/MGP-STR/utils_dist.py:99
Method__str__
(self)
OCR/LevOCR/utils_dist.py:64
Method__str__
(self)
OCR/LevOCR/utils_dist.py:93
Method_coco_box_to_bbox
(self, box)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/sample/ctdet.py:24
Function_conv_filter
convert patch embedding weight from manual patchify + linear proj to conv
OCR/MGP-STR/modules/mgp_str.py:165
Function_conv_filter
convert patch embedding weight from manual patchify + linear proj to conv
OCR/MGP-STR/modules/char_str.py:141
Method_coord2str
(self, box)
Applications/DocXChain/pipelines/table_parsing.py:132
Method_coord2str
(self, box)
Applications/DocXChain/pipelines/document_structurization.py:158
Function_flatten_and_gather_feat
(output, ind)
DocumentUnderstanding/LORE-TSR/src/lib/models/utils.py:41
Function_forward_pre_hook
(mod, input)
OCR/LevOCR/levt/quant_noise.py:58
Function_forward_pre_hook
(mod, input)
OCR/LevOCR/levt/transformer_layer.py:69
Method_get_Center
(self, point)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/sample/ctdet.py:93
Method_get_border_upper_left
(self, border, size)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/sample/ctdet.py:35
Method_get_losses
(self, opt)
DocumentUnderstanding/LORE-TSR/src/lib/trains/ctdet.py:107
Method_get_module_for_key
( model: torch.nn.Module, key: str )
DocumentUnderstanding/VGT/object_detection/ditod/VGTcheckpointer.py:238
Method_get_radius
(self,r,w,h)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/sample/ctdet.py:41
Function_h_dist_feat
(output, width)
DocumentUnderstanding/LORE-TSR/src/lib/models/utils.py:13
Function_init_weights
(m)
DocumentUnderstanding/VGT/object_detection/ditod/Wordnn_embedding.py:6
Method_init_weights
(self, m)
OCR/LISTER/model/feature_extractor.py:477
Method_init_weights
(self, m)
OCR/LISTER/model/model.py:22
Method_init_weights
(self, m)
OCR/VLPT-STD/models/VLPT.py:54
Method_init_weights
(self, m)
OCR/VLPT-STD/models/encoders.py:254
Method_init_weights
(self, m)
OCR/VLPT-STD/models/encoders.py:334
Method_init_weights
(self, m)
OCR/VLPT-STD/models/encoders.py:387
Method_init_weights
(self, m)
DocumentUnderstanding/GeoLayoutLM/bros/convnext.py:100
Method_init_weights
Initialize the weights
DocumentUnderstanding/GeoLayoutLM/bros/modeling_bros.py:882
Method_init_weights
(self, m)
DocumentUnderstanding/VGT/object_detection/ditod/VGTbeit.py:710
Function_load_checkpoint_for_ema
Workaround for ModelEma._load_checkpoint to accept an already-loaded object
OCR/MGP-STR/utils_dist.py:161
Function_load_checkpoint_for_ema
Workaround for ModelEma._load_checkpoint to accept an already-loaded object
OCR/LevOCR/utils_dist.py:155
Method_load_model
Load weights from a checkpoint. Args: checkpoint (Any): checkpoint contains the weights. Returns: `
DocumentUnderstanding/VGT/object_detection/ditod/VGTcheckpointer.py:177
Method_make_level
(self, block, inplanes, planes, blocks, stride=1)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/dlav0.py:260
Method_make_level
(self, block, inplanes, planes, blocks, stride=1)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/pose_dla_dcn.py:257
Method_make_level
(self, block, inplanes, planes, blocks, stride=1)
DocumentUnderstanding/DocXLayout/models/networks/dlav0_subfield.py:260
Function_neg_loss
Modified focal loss. Exactly the same as CornerNet. Runs faster and costs a little bit more memory Arguments: pred (batch x c x h x w
DocumentUnderstanding/LORE-TSR/src/lib/models/losses.py:10
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
DocumentUnderstanding/GeoLayoutLM/bros/modeling_bros.py:1036
Method_rank
(self,bbox,cter,file_name)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/sample/ctdet.py:118
Method_reorder_cache
(self, past, beam_idx)
DocumentUnderstanding/GeoLayoutLM/bros/modeling_bros.py:1499
Method_resize_ratio
(img, ratio)
OCR/LISTER/dataset/dataset.py:95
Function_resumable_file_manager
()
DocumentUnderstanding/GeoLayoutLM/bros/file_utils.py:447
Function_sigmoid
(x)
DocumentUnderstanding/DocXLayout/models/utils.py:8
Function_skip
Getting sliced (dim=0) tensor by mask. Supporting tensor and list/dict of tensors.
OCR/LevOCR/levt/levenshtein_utils.py:247
Function_skip_encoder_out
(encoder, encoder_out, mask)
OCR/LevOCR/levt/levenshtein_utils.py:272
Method_to_float
(self, x)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table_small.py:64
Method_to_float
(self, x)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table_mid.py:64
Method_to_float
(self, x)
DocumentUnderstanding/LORE-TSR/src/lib/datasets/dataset/table.py:64
Function_topk_channel
(scores, K=40)
DocumentUnderstanding/LORE-TSR/src/lib/models/decode.py:22
Function_v_dist_feat
(output, height)
DocumentUnderstanding/LORE-TSR/src/lib/models/utils.py:27
Functionabs
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/mat.hpp:1413
Functionabs
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/mat.hpp:1413
Functionabs<double>
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:67
Functionabs<double>
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:67
Functionabs<float>
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:64
Functionabs<float>
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:64
Functionabs<int>
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:61
Functionabs<int>
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:61
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:124
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:249
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:313
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:615
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:664
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:710
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/dist.h:764
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:124
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:249
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:313
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:615
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:664
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:710
Methodaccum_dist
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/dist.h:764
MethodaddParam
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/operations.hpp:4024
MethodaddParam
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:4024
MethodaddPoint
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/result_set.h:118
MethodaddPoint
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/result_set.h:263
MethodaddPoint
Add a possible candidate to the best neighbors * @param dist distance for that neighbor * @param index index of that neighbor */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/result_set.h:405
MethodaddPoint
Add a possible candidate to the best neighbors * @param dist distance for that neighbor * @param index index of that neighbor */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/result_set.h:464
MethodaddPoint
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/result_set.h:118
MethodaddPoint
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/result_set.h:263
MethodaddPoint
Add a possible candidate to the best neighbors * @param dist distance for that neighbor * @param index index of that neighbor */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/result_set.h:405
MethodaddPoint
Add a possible candidate to the best neighbors * @param dist distance for that neighbor * @param index index of that neighbor */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/result_set.h:464
FunctionaddTraining
FabMap2 builds the inverted index and requires an additional training/test add function
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/contrib/openfabmap.hpp:295
FunctionaddTraining
FabMap2 builds the inverted index and requires an additional training/test add function
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/contrib/openfabmap.hpp:295
Methodadd_2d_detection
( self, img, dets, show_box=False, show_txt=True, center_thresh=0.5, img_id='det')
DocumentUnderstanding/LORE-TSR/src/lib/utils/debugger.py:303
Methodadd_2d_detection
( self, img, dets, show_box=False, show_txt=True, center_thresh=0.5, img_id='det')
DocumentUnderstanding/DocXLayout/utils/debugger.py:410
Methodadd_3d_detection
( self, image_or_path, dets, calib, show_txt=False, center_thresh=0.5, img_id='det')
DocumentUnderstanding/DocXLayout/utils/debugger.py:361
Methodadd_bird_view
(self, dets, center_thresh=0.3, img_id='bird')
DocumentUnderstanding/LORE-TSR/src/lib/utils/debugger.py:316
← previousnext →2,201–2,300 of 4,693, ranked by callers