MCPcopy Create free account

hub / github.com/alipay/Ant-Multi-Modal-Framework / functions

Functions4,004 in github.com/alipay/Ant-Multi-Modal-Framework

↓ 1 callersMethod_get_pred_label
(self, logits)
antmmf/modules/metrics/mce_accuracy.py:26
↓ 1 callersMethod_get_pred_label
(self, prob)
antmmf/modules/metrics/rmce_accuracy.py:19
↓ 1 callersMethod_get_saver
(self, feature_extractor)
antmmf/datasets/features/vision/feature_saver.py:164
↓ 1 callersMethod_get_session_maker
(self)
antmmf/trainers/remote_trainer.py:99
↓ 1 callersMethod_get_single_transcript
(self, data_dict, ind, with_long_context=True)
prj/snps3_vtp/roi_univl/univl/pretrain_video_text/dataset.py:303
↓ 1 callersMethod_get_single_transcript
(self, data_dict, ind, with_long_context=True)
prj/dmae_vtp/roi_univl/univl/pretrain_video_text/dataset.py:303
↓ 1 callersMethod_get_single_transcript
(self, data_dict, ind, with_long_context=True)
prj/base_vtp/roi_univl/univl/pretrain_video_text/dataset.py:303
↓ 1 callersMethod_get_single_transcript
(self, data_dict, ind, with_long_context=True)
prj/cnvid_vtp/roi_univl/univl/pretrain_video_text/dataset.py:303
↓ 1 callersMethod_get_sub_data
(self)
prj/snps3_vtp/roi_univl/univl/pretrain_video_text/dataset.py:122
↓ 1 callersMethod_get_sub_data
(self)
prj/dmae_vtp/roi_univl/univl/pretrain_video_text/dataset.py:122
↓ 1 callersMethod_get_sub_data
(self)
prj/base_vtp/roi_univl/univl/pretrain_video_text/dataset.py:122
↓ 1 callersMethod_get_sub_data
(self)
prj/cnvid_vtp/roi_univl/univl/pretrain_video_text/dataset.py:122
↓ 1 callersMethod_get_text
(self, data_dict, n_pair_max)
prj/snps3_vtp/roi_univl/univl/pretrain_video_text/dataset.py:268
↓ 1 callersMethod_get_text
(self, data_dict, n_pair_max)
prj/dmae_vtp/roi_univl/univl/pretrain_video_text/dataset.py:268
↓ 1 callersMethod_get_text
(self, data_dict, n_pair_max)
prj/base_vtp/roi_univl/univl/pretrain_video_text/dataset.py:268
↓ 1 callersMethod_get_text
(self, data_dict, n_pair_max)
prj/cnvid_vtp/roi_univl/univl/pretrain_video_text/dataset.py:268
↓ 1 callersMethod_get_text_spacy
(self, caption)
prj/dmae_vtp/roi_univl/univl/video_text/ret_dataset.py:163
↓ 1 callersMethod_get_video
(self, video_path, start, end, num_clip)
antmmf/datasets/processors/video_processors.py:64
↓ 1 callersMethod_get_video_dim
(self, video_path)
antmmf/datasets/processors/video_processors.py:85
↓ 1 callersMethod_image_transform
(self, path)
antmmf/scripts/features/extract_features_vmb.py:101
↓ 1 callersMethod_init_attack
(self, sample_list, optimizer)
antmmf/models/mm_adversarial.py:75
↓ 1 callersMethod_init_classifier
(self, combined_embedding_dim)
antmmf/models/ant_mmf.py:150
↓ 1 callersMethod_init_combine_layer
(self, attr1, attr2)
antmmf/models/ant_mmf.py:134
↓ 1 callersMethod_init_extras
(self, config, *args, **kwargs)
antmmf/datasets/processors/processors.py:122
↓ 1 callersMethod_init_extras
(self)
antmmf/models/ant_mmf.py:161
↓ 1 callersMethod_init_feature_embeddings
(self, attr)
antmmf/models/ant_mmf.py:89
↓ 1 callersMethod_init_feature_encoders
(self, attr)
antmmf/models/ant_mmf.py:71
↓ 1 callersMethod_init_inference_device
(self)
antmmf/predictors/base_predictor.py:94
↓ 1 callersMethod_init_iter_range
(self)
prj/snps3_vtp/roi_univl/univl/pretrain_video_text/dataset.py:151
↓ 1 callersMethod_init_iter_range
(self)
prj/dmae_vtp/roi_univl/univl/pretrain_video_text/dataset.py:151
↓ 1 callersMethod_init_iter_range
(self)
prj/base_vtp/roi_univl/univl/pretrain_video_text/dataset.py:151
↓ 1 callersMethod_init_iter_range
(self)
prj/cnvid_vtp/roi_univl/univl/pretrain_video_text/dataset.py:151
↓ 1 callersMethod_init_metrics
(self, metric_list)
antmmf/modules/metrics/metrics.py:76
↓ 1 callersMethod_init_processor_config
( self, config: Union[Dict, Configuration, AntMMFConfig], **kwargs )
antmmf/datasets/processors/processors.py:114
↓ 1 callersMethod_init_segment_embeddings
(self)
prj/snps3_vtp/roi_univl/univl/model/clip_text_encoder.py:229
↓ 1 callersMethod_init_segment_embeddings
(self)
prj/dmae_vtp/roi_univl/univl/model/clip_text_encoder.py:229
↓ 1 callersMethod_init_segment_embeddings
(self)
prj/base_vtp/roi_univl/univl/model/clip_text_encoder.py:229
↓ 1 callersMethod_init_segment_embeddings
(self)
antmmf/modules/encoders/text_encoder.py:119
↓ 1 callersMethod_init_text_embeddings
(self, attr="text")
antmmf/models/ant_mmf.py:44
↓ 1 callersMethod_init_weights
(self, module)
prj/Pink/pink/model/pink.py:159
↓ 1 callersMethod_init_weights
(self)
antmmf/models/spkResNet.py:211
↓ 1 callersFunction_interleave_dataset_index
( *, lengths: List[int], probabilities: Optional[List[float]] = None, seed: Op
prj/Pink/pink/datasets/ProbMergeDataset.py:54
↓ 1 callersMethod_interpret
Interprets the model's prediction for inputs. Gets the gradients of the loss with respect to the input and returns those grad
antmmf/modules/interpret/simple_gradient.py:21
↓ 1 callersFunction_is_chinese_char
Checks whether CP is the codepoint of a CJK character.
antmmf/utils/text_utils.py:213
↓ 1 callersMethod_is_chinese_char
Checks whether CP is the codepoint of a CJK character.
antmmf/modules/vision/backbone/clip/cn_tokenizer.py:315
↓ 1 callersFunction_is_control
Checks whether `chars` is a control character.
antmmf/modules/vision/backbone/clip/cn_tokenizer.py:423
↓ 1 callersFunction_is_punctuation
Checks whether `chars` is a punctuation character.
antmmf/modules/vision/backbone/clip/cn_tokenizer.py:435
↓ 1 callersFunction_is_whitespace
Checks whether `chars` is a whitespace character.
antmmf/modules/vision/backbone/clip/cn_tokenizer.py:411
↓ 1 callersFunction_launch_demo
(args, model, tokenizer)
prj/Pink/demo.py:83
↓ 1 callersMethod_load
This is used to prepare the dataset and load it from a path. Override this method in your child dataset builder class. Args:
antmmf/datasets/base_dataset_builder.py:77
↓ 1 callersMethod_load_annotation_db
(self, imdb_path, anno_type)
antmmf/datasets/database/annotated.py:49
↓ 1 callersMethod_load_coco_json
(self, imdb_path)
antmmf/datasets/database/annotated.py:94
↓ 1 callersMethod_load_csv
(self, csv_path)
antmmf/datasets/database/annotated.py:115
↓ 1 callersMethod_load_fasttext_model
(self, model_file)
antmmf/utils/vocab.py:447
↓ 1 callersMethod_load_fasttext_model
(self, model_file)
antmmf/datasets/processors/text_processors.py:395
↓ 1 callersMethod_load_from_state_dict
( self, state_dict, prefix, local_metadata, strict, missing_ke
antmmf/modules/layers/frozen_batchnorm.py:32
↓ 1 callersMethod_load_imdb
(self, csv_file)
antmmf/datasets/database/video_database.py:104
↓ 1 callersMethod_load_inflated_image
(self, image_path)
prj/snps3_vtp/roi_univl/univl/video_text/cls_dataset.py:31
↓ 1 callersMethod_load_inflated_image
(self, image_path)
prj/snps3_vtp/roi_univl/univl/pretrain_video_text/dataset.py:180
↓ 1 callersMethod_load_inflated_image
(self, image_path)
prj/dmae_vtp/roi_univl/univl/video_text/cls_dataset.py:31
↓ 1 callersMethod_load_inflated_image
(self, image_path)
prj/dmae_vtp/roi_univl/univl/pretrain_video_text/dataset.py:180
↓ 1 callersMethod_load_inflated_image
(self, image_path)
prj/base_vtp/roi_univl/univl/video_text/cls_dataset.py:31
↓ 1 callersMethod_load_inflated_image
(self, image_path)
prj/base_vtp/roi_univl/univl/pretrain_video_text/dataset.py:180
↓ 1 callersMethod_load_inflated_image
(self, image_path)
prj/cnvid_vtp/roi_univl/univl/pretrain_video_text/dataset.py:180
↓ 1 callersMethod_load_json
(self, imdb_path, anno_type)
antmmf/datasets/database/annotated.py:109
↓ 1 callersMethod_load_jsonl
(self, imdb_path)
antmmf/datasets/database/annotated.py:85
↓ 1 callersMethod_load_jsonl_dir
(self, jsonl_list)
antmmf/datasets/database/annotated.py:72
↓ 1 callersFunction_load_model_tokenizer
(args)
prj/Pink/demo.py:55
↓ 1 callersMethod_load_model_weights_with_mapping
(self, weight_dict, force)
antmmf/common/checkpoint.py:221
↓ 1 callersMethod_load_normal_json
(self, imdb_path)
antmmf/datasets/database/annotated.py:102
↓ 1 callersMethod_load_npy
(self, imdb_path)
antmmf/datasets/database/annotated.py:136
↓ 1 callersMethod_load_ocr_json
(self, cbox_path, image_height, image_width)
prj/snps3_vtp/roi_univl/roi/dataset.py:111
↓ 1 callersMethod_load_ocr_json
(self, cbox_path, image_height, image_width)
prj/dmae_vtp/roi_univl/roi/dataset.py:111
↓ 1 callersMethod_load_ocr_json
(self, cbox_path, image_height, image_width)
prj/base_vtp/roi_univl/roi/dataset.py:111
↓ 1 callersMethod_load_ocr_json
(self, cbox_path, image_height, image_width)
prj/cnvid_vtp/roi_univl/roi/dataset.py:111
↓ 1 callersMethod_load_pretrained_model
(self, model_key, attributes)
antmmf/trainers/base_trainer.py:263
↓ 1 callersMethod_load_state_dict
(self, state_dict)
antmmf/common/checkpoint.py:200
↓ 1 callersMethod_load_teacher_model
(self, model_key, attributes)
antmmf/trainers/distill_trainer.py:54
↓ 1 callersMethod_load_tsv
(self, csv_path)
antmmf/datasets/database/annotated.py:120
↓ 1 callersMethod_load_video_asrs
(self, video_name)
prj/snps3_vtp/roi_univl/univl/pretrain_video_text/dataset.py:253
↓ 1 callersMethod_load_video_asrs
(self, video_name)
prj/dmae_vtp/roi_univl/univl/pretrain_video_text/dataset.py:253
↓ 1 callersMethod_load_video_asrs
(self, video_name)
prj/base_vtp/roi_univl/univl/pretrain_video_text/dataset.py:253
↓ 1 callersMethod_load_video_asrs
(self, video_name)
prj/cnvid_vtp/roi_univl/univl/pretrain_video_text/dataset.py:253
↓ 1 callersMethod_load_video_url
(self, url, idx)
antmmf/datasets/database/video_database.py:230
↓ 1 callersMethod_loose_similarity
(self, sequence_output, visual_output, attention_mask, video_mask, sim_header="meanP")
prj/dmae_vtp/roi_univl/univl/model/dmae_utils.py:229
↓ 1 callersFunction_loss_names
(d)
prj/M2_Encoder/vlmo/config.py:6
↓ 1 callersMethod_make_finite
(self, scores)
prj/M2_Encoder/vlmo/torchscale/component/xmoe/routing.py:199
↓ 1 callersMethod_make_finite
(self, scores)
prj/M2_Encoder/vlmo/torchscale/component/xmoe/routing.py:483
↓ 1 callersMethod_merge_from_list
(self, opts)
antmmf/common/configuration.py:401
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
antmmf/modules/vision/backbone/video_swin.py:19
↓ 1 callersFunction_ntuple
(n)
antmmf/modules/vision/backbone/cctt.py:58
↓ 1 callersMethod_pad_batch
(self, tokens, position_ids, attention_mask, max_seq_length)
prj/M2_Encoder/vlmo/tokenizer/tokenization_glm.py:110
↓ 1 callersMethod_pad_tokens
(self, tokens)
antmmf/datasets/processors/text_processors.py:213
↓ 1 callersFunction_pad_top_bottom
(filter_dim, stride_val)
antmmf/models/s3dg.py:148
↓ 1 callersMethod_pairwise_intersection
Assume the size of self is N, and given another boxes of size M, compute the intersection area between __all__ N x M pairs of boxes.
antmmf/structures/boxes.py:275
↓ 1 callersMethod_parse_image
r""" modify this method to parse image Returns: Dict: use_item (bool): whether successfully get image
prj/Pink/pink/datasets/BaseDataset.py:139
↓ 1 callersMethod_parse_path_from_config
(self)
prj/snps3_vtp/roi_univl/roi/dataset.py:41
↓ 1 callersMethod_parse_path_from_config
(self)
prj/dmae_vtp/roi_univl/roi/dataset.py:41
↓ 1 callersMethod_parse_path_from_config
(self)
prj/base_vtp/roi_univl/roi/dataset.py:41
↓ 1 callersMethod_parse_path_from_config
(self)
prj/cnvid_vtp/roi_univl/roi/dataset.py:41
← previousnext →801–900 of 4,004, ranked by callers