MCPcopy Create free account

hub / github.com/VITA-MLLM/VITA / functions

Functions1,650 in github.com/VITA-MLLM/VITA

Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/videomme.py:213
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/video_base.py:75
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_base.py:164
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_mcq.py:182
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_mcq.py:417
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_mcq.py:588
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:43
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:104
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:170
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:231
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:289
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:330
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:383
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:430
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_vqa.py:488
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_mt.py:88
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/mvbench.py:335
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/mvbench.py:535
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/text_base.py:87
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/slidevqa.py:142
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/__init__.py:85
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/vcr.py:263
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/image_yorn.py:24
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/mmbench_video.py:204
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/mmlongbench.py:535
Methodevaluate
(self, eval_file, **kwargs)
VLMEvalKit/vlmeval/dataset/image_caption.py:62
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/text_mcq.py:42
Methodexpand2square
(pil_img, background_color=(122, 116, 104))
vita/conversation.py:189
Methodexpand2square
(pil_img, background_color)
vita/util/data_utils_video_audio_patch.py:769
Methodexpand2square
(pil_img, background_color)
vita/util/data_utils_video_audio_neg_patch.py:911
Methodexpand2square
(pil_img, background_color)
vita/util/data_utils_video_audio_neg_patch_fo.py:909
Methodexpand2square
(pil_img, background_color)
vita/util/data_utils_video_patch_audio.py:815
Methodexpand2square
(pil_img, background_color)
vita/util/data_utils_video_audio_neg_frameCat.py:643
Methodexpand2square
(pil_img, background_color)
vita/util/data_utils_video_audio.py:444
Methodexpand2square
(pil_img, background_color)
vita/util/data_utils_video_audio_patch_sf.py:769
Methodextra_repr
(self)
vita/model/multimodal_encoder/eva_clip/eva_vit.py:191
Functionextract_characters_regex
(s)
videomme/parse_answer.py:52
Functionextract_characters_regex
(s, choices=['(A)', '(B)', '(C)', '(D)', '(E)'])
VLMEvalKit/vlmeval/dataset/utils/multiple_choice.py:446
Functionfeature_loss
(fmap_r, fmap_g)
vita/model/vita_tts/decoder/ticodec/models.py:395
Functionforward
( model, input, scales=None, img_sizes=None, max_split_size=None, resize_output_to_idx
vita/util/s2wrapper/core.py:17
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vita/model/vita_tts/adapter.py:33
Methodforward
(self, x, mask_pad)
vita/model/vita_tts/adapter.py:69
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vita/model/vita_tts/adapter.py:112
Methodforward
Subsample x. Args: x (torch.Tensor): Input tensor (#batch, time, idim). x_mask (torch.Tensor): Input mask (#batch, 1,
vita/model/vita_tts/encoder/subsampling.py:41
Methodforward
(self, xs, ilens, masks)
vita/model/vita_tts/encoder/subsampling.py:98
Methodforward
Args: x (torch.Tensor): (batch, max_len, feat_dim) Returns: (torch.Tensor): normalized feature
vita/model/vita_tts/encoder/cmvn.py:24
Methodforward
Add positional encoding. Args: x (torch.Tensor): Input. Its shape is (batch, time, ...) offset (int): position offset
vita/model/vita_tts/encoder/attention.py:37
Methodforward
Compute positional encoding. Args: x (torch.Tensor): Input tensor (batch, time, `*`). Returns: torch.Tensor: E
vita/model/vita_tts/encoder/attention.py:90
Methodforward
Forward funciton.
vita/model/vita_tts/encoder/attention.py:137
Methodforward
Calculate forward propagation. Args: x (Tensor): Batch of input tensors (B, ..., in_chans). Returns: Tensor:
vita/model/vita_tts/encoder/attention.py:185
Methodforward
Calculate forward propagation. Args: x (Tensor): Batch of input tensors (B, ..., in_chans). Returns: Tensor:
vita/model/vita_tts/encoder/attention.py:241
Methodforward
Compute 'Scaled Dot Product Attention'. :param torch.Tensor query: (batch, time1, size) :param torch.Tensor key: (batch, time2, size)
vita/model/vita_tts/encoder/attention.py:350
Methodforward
Repeat.
vita/model/vita_tts/encoder/transformer.py:29
Methodforward
Compute encoded features. :param torch.Tensor x: encoded source features (batch, max_time_in, size) :param torch.Tensor mask: mask fo
vita/model/vita_tts/encoder/transformer.py:75
Methodforward
Embed positions in tensor. :param torch.Tensor xs: input tensor :param torch.Tensor masks: input mask :return: position embed
vita/model/vita_tts/encoder/transformer.py:237
Methodforward
Forward pass through the encoder. Parameters: - xs: torch.Tensor, shape (batch_size, sequence_length, input_dim)
vita/model/vita_tts/encoder/encoder.py:104
Methodforward
logits: B*T1*D target: B*T2
vita/model/vita_tts/decoder/decoder.py:21
Methodforward
(self, batch)
vita/model/vita_tts/decoder/decoder.py:190
Methodforward
x --- [B, in_channels, T] out -- [B, out_channels]
vita/model/vita_tts/decoder/ticodec/models.py:45
Methodforward
(self, x)
vita/model/vita_tts/decoder/ticodec/models.py:117
Methodforward
(self, x)
vita/model/vita_tts/decoder/ticodec/models.py:157
Methodforward
Forward pass of the Generator module. Parameters: - x (torch.Tensor): Input tensor of shape [B, C, T], where B is the batch
vita/model/vita_tts/decoder/ticodec/models.py:211
Methodforward
(self, x)
vita/model/vita_tts/decoder/ticodec/models.py:288
Methodforward
(self, y, y_hat)
vita/model/vita_tts/decoder/ticodec/models.py:321
Methodforward
(self, x)
vita/model/vita_tts/decoder/ticodec/models.py:352
Methodforward
(self, y, y_hat)
vita/model/vita_tts/decoder/ticodec/models.py:376
Methodforward
(self, x, xx=None)
vita/model/vita_tts/decoder/ticodec/models.py:475
Methodforward
(self, x)
vita/model/vita_tts/decoder/ticodec/models.py:531
Methodforward
(self, xin, global_style)
vita/model/vita_tts/decoder/ticodec/models.py:639
Methodforward
(self, wav_path)
vita/model/vita_tts/decoder/ticodec/vqvae_tester.py:16
Methodforward
(self, x, global_style_token)
vita/model/vita_tts/decoder/ticodec/vqvae.py:37
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
vita/model/language_model/vita_fo_qwen2.py:56
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
vita/model/language_model/vita_nemo.py:139
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
vita/model/language_model/vita_qwen2.py:141
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
vita/model/language_model/vita_mixtral.py:249
Methodforward
(self, x, *args, **kwargs)
vita/model/multimodal_projector/builder.py:16
Methodforward
(self, x)
vita/model/multimodal_projector/builder.py:31
Methodforward
(self, x)
vita/model/multimodal_projector/builder.py:54
Methodforward
(self, x)
vita/model/multimodal_projector/builder.py:95
Methodforward
(self, x)
vita/model/multimodal_projector/builder.py:110
Methodforward
(self, x)
vita/model/multimodal_projector/builder.py:129
Methodforward
(self, images)
vita/model/multimodal_encoder/clip/clip_encoder.py:35
Methodforward
(self, images)
vita/model/multimodal_encoder/siglip/siglip_encoder.py:36
Methodforward
(self, images)
vita/model/multimodal_encoder/siglip/siglip_encoder.py:126
Methodforward
( self, speech: torch.Tensor, speech_lengths: torch.Tensor, )
vita/model/multimodal_encoder/whale/init_model.py:122
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vita/model/multimodal_encoder/whale/adapter.py:27
Methodforward
(self, x, mask_pad)
vita/model/multimodal_encoder/whale/adapter.py:64
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vita/model/multimodal_encoder/whale/adapter.py:108
Methodforward
Args: x (torch.Tensor): (batch, max_len, feat_dim) Returns: (torch.Tensor): normalized feature
vita/model/multimodal_encoder/whale/cmvn.py:21
Methodforward
(self, x: torch.Tensor, x_mask: torch.Tensor)
vita/model/multimodal_encoder/whale/module/component/subsampling.py:38
Methodforward
(self, xs, ilens, masks)
vita/model/multimodal_encoder/whale/module/component/subsampling.py:71
Methodforward
(self, input)
vita/model/multimodal_encoder/whale/module/component/mamba.py:59
Methodforward
Embed positions in tensor. :param torch.Tensor xs: input tensor :param torch.Tensor masks: input mask :return: position embed
vita/model/multimodal_encoder/whale/module/component/mamba.py:120
Methodforward
Repeat.
vita/model/multimodal_encoder/whale/module/component/transformer.py:38
Methodforward
Compute encoded features. :param torch.Tensor x: encoded source features (batch, max_time_in, size) :param torch.Tensor mask: mask fo
vita/model/multimodal_encoder/whale/module/component/transformer.py:100
Methodforward
Embed positions in tensor. :param torch.Tensor xs: input tensor :param torch.Tensor masks: input mask :return: position embed
vita/model/multimodal_encoder/whale/module/component/transformer.py:374
Methodforward
Encoder forward :param torch.Tensor xs_pad: batch of padded input sequences (B, Tmax, D) :param torch.Tensor ilens: batch of lengths
vita/model/multimodal_encoder/whale/module/encoder/encoder.py:121
Methodforward
(self, x)
vita/model/multimodal_encoder/whale/module/layer/conv1d.py:49
Methodforward
(self, x)
vita/model/multimodal_encoder/whale/module/layer/dtcblock.py:50
Methodforward
Add positional encoding. Args: x (torch.Tensor): Input. Its shape is (batch, time, ...) offset (int): position offset
vita/model/multimodal_encoder/whale/module/layer/attention.py:38
← previousnext →1,201–1,300 of 1,650, ranked by callers