MCPcopy Create free account

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

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

↓ 1 callersMethodforward_embedding
( self, tokens, token_embedding=None, incremental_state=None, )
prj/M2_Encoder/vlmo/torchscale/architecture/decoder.py:322
↓ 1 callersMethodforward_embedding
( self, src_tokens, token_embedding=None, positions=None, )
prj/M2_Encoder/vlmo/torchscale/architecture/encoder.py:350
↓ 1 callersMethodforward_encoder
( self, src, src_pos=None, src_mask=None, src_key_padding_mask=None, **kwargs )
antmmf/modules/transformers/position_enhance.py:73
↓ 1 callersMethodforward_features
(self, x)
prj/Pink/pink/model/eva_vit.py:333
↓ 1 callersMethodforward_graph
(self, text, mask, segment, image, cls_id, sep_id, image_mask)
antmmf/models/mmbt.py:48
↓ 1 callersMethodforward_head
(self, encoder_output, decoder_output, **kwargs)
antmmf/modules/transformers/heads/base.py:14
↓ 1 callersMethodforward_heads
(self, enc_output, dec_output)
prj/snps3_vtp/roi_univl/univl/model/univl_base.py:460
↓ 1 callersMethodforward_heads
(self, enc_output, dec_output)
prj/dmae_vtp/roi_univl/univl/model/univl_base.py:460
↓ 1 callersMethodforward_heads
(self, enc_output, dec_output)
prj/base_vtp/roi_univl/univl/model/univl_base.py:460
↓ 1 callersMethodforward_heads
(self, enc_output, dec_output)
prj/cnvid_vtp/roi_univl/univl/model/univl_base.py:460
↓ 1 callersMethodforward_img_encoder
( self, image_data, image_pad_mask, image_n_clips, image_num_frames,
prj/snps3_vtp/roi_univl/univl/model/univl_video_base.py:56
↓ 1 callersMethodforward_img_encoder
( self, image_data, image_pad_mask, image_n_clips, image_num_frames,
prj/dmae_vtp/roi_univl/univl/model/univl_video_base.py:56
↓ 1 callersMethodforward_img_encoder
( self, image_data, image_pad_mask, image_n_clips, image_num_frames,
prj/base_vtp/roi_univl/univl/model/univl_video_base.py:56
↓ 1 callersMethodforward_img_encoder
( self, image_data, image_pad_mask, image_n_clips, image_num_frames,
prj/cnvid_vtp/roi_univl/univl/model/univl_video_base.py:56
↓ 1 callersMethodforward_part1
(self, x, mask_matrix)
antmmf/modules/vision/backbone/video_swin.py:291
↓ 1 callersMethodforward_part2
(self, x)
antmmf/modules/vision/backbone/video_swin.py:337
↓ 1 callersMethodforward_post
( self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: Optional
antmmf/modules/transformers/base.py:303
↓ 1 callersMethodforward_post
( self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: O
antmmf/modules/transformers/base.py:403
↓ 1 callersMethodforward_pre
( self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: Optional
antmmf/modules/transformers/base.py:321
↓ 1 callersMethodforward_pre
( self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: O
antmmf/modules/transformers/base.py:434
↓ 1 callersMethodforward_stage1
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/snps3_vtp/roi_univl/univl/model/univl_video_ret.py:421
↓ 1 callersMethodforward_stage1
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/dmae_vtp/roi_univl/univl/model/univl_video_ret.py:369
↓ 1 callersMethodforward_stage1
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/base_vtp/roi_univl/univl/model/univl_video_ret.py:357
↓ 1 callersMethodforward_stage1
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/cnvid_vtp/roi_univl/univl/model/univl_video_ret.py:366
↓ 1 callersMethodforward_stage2
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/snps3_vtp/roi_univl/univl/model/univl_video_ret.py:453
↓ 1 callersMethodforward_stage2
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/dmae_vtp/roi_univl/univl/model/univl_video_ret.py:401
↓ 1 callersMethodforward_stage2
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/base_vtp/roi_univl/univl/model/univl_video_ret.py:389
↓ 1 callersMethodforward_stage2
( self, vis_input, cap_input, output_dict=None, cal_cross=True, incre_num=0.0 )
prj/cnvid_vtp/roi_univl/univl/model/univl_video_ret.py:398
↓ 1 callersMethodforward_stage3
(self, vis_input, cap_input, output_dict=None, cal_cross=True)
prj/dmae_vtp/roi_univl/univl/model/univl_video_ret.py:457
↓ 1 callersMethodforward_text_encoder
(self, input_ids, input_mask, txt_encoder=None)
prj/snps3_vtp/roi_univl/univl/model/univl_video_base.py:124
↓ 1 callersMethodforward_text_encoder
(self, input_ids, input_mask, txt_encoder=None)
prj/dmae_vtp/roi_univl/univl/model/univl_video_base.py:124
↓ 1 callersMethodforward_text_encoder
(self, input_ids, input_mask, txt_encoder=None)
prj/base_vtp/roi_univl/univl/model/univl_video_base.py:124
↓ 1 callersMethodforward_text_encoder
(self, input_ids, input_mask, txt_encoder=None)
prj/cnvid_vtp/roi_univl/univl/model/univl_video_base.py:124
↓ 1 callersMethodfrom_name
create an efficientnet model according to name. Args: model_name (str): Name for efficientnet. in_channels (int): Inp
antmmf/modules/vision/backbone/efficientnet.py:305
↓ 1 callersMethodfrom_path
(self, path)
antmmf/datasets/database/features_database.py:128
↓ 1 callersMethodfrom_pretrained
create an efficientnet model according to name. Args: model_name (str): Name of PVT model, e.g. pvt_v2_b0 weights_pat
antmmf/modules/vision/backbone/video_swin.py:599
↓ 1 callersFunctiongaussian_blur
Gaussian Blurring, a Gaussian kernel is used. @param ksize: the kernel size of gaussian kernel, here the width and the height of
antmmf/utils/dataset_utils.py:364
↓ 1 callersFunctiongenerate_new_obs_labels
(report)
antmmf/datasets/mm_dataset.py:190
↓ 1 callersFunctiongenerate_ngrams
Generate ngrams for particular 'n' from a list of tokens Parameters ---------- tokens : List[str] List of tokens for which the ngr
antmmf/utils/text_utils.py:247
↓ 1 callersFunctiongenerate_prediction
(report)
antmmf/datasets/mm_dataset.py:155
↓ 1 callersMethodgeneration
(self)
antmmf/trainers/adv_trainer.py:172
↓ 1 callersMethodget
Returns: The value of the key, if the key not exist, it will return a default value.
antmmf/common/configuration.py:549
↓ 1 callersMethodget
(self, item)
antmmf/datasets/database/video_database.py:468
↓ 1 callersMethodget_2d_positional_embeddings
Args: grid: (B, *, H, W, d) Returns: (B, *, H, W, d)
antmmf/modules/embeddings/clip_visual_embedding.py:116
↓ 1 callersFunctionget_activation_fn
(activation)
prj/M2_Encoder/vlmo/torchscale/component/feedforward_network.py:82
↓ 1 callersMethodget_adversarial_class
(cls, name)
antmmf/common/registry.py:617
↓ 1 callersFunctionget_all2all_group
(moe_expert_count)
prj/M2_Encoder/vlmo/torchscale/component/xmoe/moe_layer.py:96
↓ 1 callersFunctionget_amp_escapes_name
(amp_escapes)
antmmf/utils/register_fp32.py:42
↓ 1 callersMethodget_annotation_by_idx
(self, idx)
antmmf/datasets/database/annotated.py:212
↓ 1 callersMethodget_annotation_by_name
(self, img_name)
antmmf/datasets/database/annotated.py:204
↓ 1 callersMethodget_annotations
Annotations of task, consists of all datasets' annotations
antmmf/tasks/base_task.py:226
↓ 1 callersMethodget_annotations
Return the corresponding `attr` attribute of the whole dataset as a list. This method provides an easy way for access datasets' attrs
antmmf/datasets/base_dataset.py:97
↓ 1 callersFunctionget_args
()
prj/Pink/pink/eval/object365_filter.py:24
↓ 1 callersFunctionget_args
()
prj/Pink/pink/eval/eval_gqa.py:82
↓ 1 callersFunctionget_args
()
prj/Pink/pink/eval/eval_vqav2.py:13
↓ 1 callersFunctionget_args
()
prj/Pink/pink/eval/eval_pointingvqa_looktwice.py:9
↓ 1 callersFunctionget_args
()
prj/Pink/pink/eval/eval_vg.py:8
↓ 1 callersFunctionget_args
()
prj/Pink/pink/eval/eval_v7wgrounding.py:8
↓ 1 callersFunctionget_args
()
prj/Pink/pink/eval/eval_pointingvqa_local.py:8
↓ 1 callersMethodget_args
(self)
antmmf/scripts/extract_vocabulary.py:64
↓ 1 callersMethodget_batch_size
Get batch size of the current ``SampleList``. There must be a tensor field present in the ``SampleList`` currently. Returns:
antmmf/structures/sample.py:260
↓ 1 callersMethodget_caption_prompt
(self, i)
prj/Pink/pink/datasets/Object365.py:67
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_vsr.py:27
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_seed.py:28
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_pointingvqa_looktwice.py:28
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_object365.py:29
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_pointingvqa_local.py:28
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_vqav2.py:220
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_gqa.py:28
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_okvqa.py:28
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_v7wgrounding.py:29
↓ 1 callersFunctionget_chunk
(lst, n, k)
prj/Pink/pink/eval/model_iconqa.py:28
↓ 1 callersMethodget_coarse_location_prompt
(self, i)
prj/Pink/pink/datasets/VisualGenome.py:247
↓ 1 callersMethodget_coarse_location_prompt
(self, i)
prj/Pink/pink/datasets/Object365.py:112
↓ 1 callersMethodget_counting_prompt
(self, i)
prj/Pink/pink/datasets/VisualGenome.py:423
↓ 1 callersMethodget_counting_prompt
(self, i)
prj/Pink/pink/datasets/Object365.py:283
↓ 1 callersFunctionget_data
(data_file)
prj/M2_Encoder/eval_retrieval.py:16
↓ 1 callersMethodget_datasets
(self)
antmmf/tasks/base_task.py:135
↓ 1 callersMethodget_depth
(self)
antmmf/modules/utils.py:311
↓ 1 callersMethodget_detection_prompt
(self, i)
prj/Pink/pink/datasets/VisualGenome.py:352
↓ 1 callersMethodget_detection_prompt
(self, i)
prj/Pink/pink/datasets/Object365.py:212
↓ 1 callersFunctionget_detections_from_im
( cfg, model, im, image_id, feat_blob_name, MIN_BOXES, MAX_BOXES, background=F
antmmf/scripts/features/extract_features.py:158
↓ 1 callersMethodget_device
(self)
prj/M2_omni/models/qwen2_vit.py:315
↓ 1 callersMethodget_embedding
(self, cls, **embedding_kwargs)
antmmf/utils/vocab.py:183
↓ 1 callersMethodget_embedding_dim
(self)
antmmf/utils/vocab.py:459
↓ 1 callersMethodget_feature_dim
(self)
antmmf/datasets/features/vision/video_feature.py:344
↓ 1 callersMethodget_feature_name
(self)
antmmf/datasets/features/vision/video_feature.py:341
↓ 1 callersMethodget_fields
Get a new ``SampleList`` generated from the current ``SampleList`` but contains only the attributes passed in `fields` argument Args:
antmmf/structures/sample.py:219
↓ 1 callersMethodget_fusion_class
(cls, name)
antmmf/common/registry.py:625
↓ 1 callersMethodget_grounding_caption_prompt
(self, i)
prj/Pink/pink/datasets/Object365.py:93
↓ 1 callersFunctionget_idx_in_list
(ini_list, num)
prj/snps3_vtp/auxiliary_files/generate_ss_word_json/2nd_get_what_word_is_important.py:12
↓ 1 callersMethodget_image_and_text_features
(self, sample_list)
antmmf/models/vilbert.py:1226
↓ 1 callersFunctionget_image_id
(image_name)
antmmf/scripts/features/extract_resnet152_feat.py:66
↓ 1 callersMethodget_images
(self, return_pil=False)
prj/Pink/pink/conversation.py:94
↓ 1 callersMethodget_important_tag_list
(self, tokens)
antmmf/datasets/processors/text_processors.py:672
↓ 1 callersMethodget_info
(self)
antmmf/utils/early_stopping.py:100
↓ 1 callersMethodget_interpreter_class
(cls, name)
antmmf/common/registry.py:661
↓ 1 callersMethodget_item
(self, qid)
antmmf/modules/embeddings/text_embedding.py:51
↓ 1 callersMethodget_item
override in your dataset first
antmmf/datasets/base_dataset.py:237
↓ 1 callersMethodget_itos
(self)
antmmf/utils/vocab.py:141
← previousnext →1,201–1,300 of 4,004, ranked by callers