MCPcopy Create free account

hub / github.com/NExT-GPT/NExT-GPT / functions

Functions923 in github.com/NExT-GPT/NExT-GPT

Methodforward
(self, vision=None, depth=None, patch_mask=None)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:274
Methodforward
(self, audio=None)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:306
Methodforward
(self, thermal=None)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:314
Methodforward
(self, text)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:379
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:432
Methodforward
(self, imu)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:667
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:49
Methodforward
(self, x: torch.Tensor, attn_mask: torch.Tensor)
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:99
Methodforward
(self, x: torch.Tensor, attn_mask: torch.Tensor)
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:104
Methodforward
(self, x: torch.Tensor, attn_mask: torch.Tensor)
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:163
Methodforward
Inputs - tokens: data of shape N x L x D (or L x N x D depending on the attention implementation) - attn: mask of shape L x L
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:249
Methodforward
(self, inputs)
NExT-GPT-Lagacy/code/model/ImageBind/models/imagebind_model.py:454
Methodforward
(self, x)
nextgpt/model/multimodal_projector/group_vit.py:46
Methodforward
(self, query, key=None, *, value=None, return_attn=False)
nextgpt/model/multimodal_projector/group_vit.py:135
Methodforward
Args: x (torch.Tensor): image tokens, [B, L, C] group_tokens (torch.Tensor): group tokens, [B, S_1, C] re
nextgpt/model/multimodal_projector/group_vit.py:266
Methodforward
(self, query, key=None, *, value=None, mask=None)
nextgpt/model/multimodal_projector/group_vit.py:324
Methodforward
(self, query, key, *, mask=None)
nextgpt/model/multimodal_projector/group_vit.py:397
Methodforward
(self, x, mask=None)
nextgpt/model/multimodal_projector/group_vit.py:433
Methodforward
Args: x (torch.Tensor): image tokens, [B, L, C] prev_group_token (torch.Tensor): group tokens, [B, S_1, C]
nextgpt/model/multimodal_projector/group_vit.py:536
Methodforward
(self, x)
nextgpt/model/multimodal_projector/group_vit.py:592
Methodforward
( self, input_ids=None, position_ids=None, query_embeds=None, past_key
nextgpt/model/multimodal_projector/qformer.py:71
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
nextgpt/model/multimodal_projector/qformer.py:162
Methodforward
(self, hidden_states, input_tensor)
nextgpt/model/multimodal_projector/qformer.py:278
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
nextgpt/model/multimodal_projector/qformer.py:315
Methodforward
(self, hidden_states)
nextgpt/model/multimodal_projector/qformer.py:351
Methodforward
(self, hidden_states, input_tensor)
nextgpt/model/multimodal_projector/qformer.py:364
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
nextgpt/model/multimodal_projector/qformer.py:395
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
nextgpt/model/multimodal_projector/qformer.py:488
Methodforward
(self, hidden_states)
nextgpt/model/multimodal_projector/qformer.py:591
Methodforward
(self, hidden_states)
nextgpt/model/multimodal_projector/qformer.py:610
Methodforward
(self, hidden_states)
nextgpt/model/multimodal_projector/qformer.py:631
Methodforward
(self, sequence_output)
nextgpt/model/multimodal_projector/qformer.py:642
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
nextgpt/model/multimodal_projector/qformer.py:797
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
nextgpt/model/multimodal_projector/qformer.py:980
Methodforward
r""" labels (:obj:`torch.LongTensor` of shape :obj:`(batch_size, sequence_length)`, `optional`): Labels for computing the masked l
nextgpt/model/multimodal_projector/qformer.py:1143
Methodforward
(self, x, *args, **kwargs)
nextgpt/model/multimodal_projector/builder.py:26
Methodforward
(self, x)
nextgpt/model/multimodal_projector/builder.py:44
Methodforward
(self, x)
nextgpt/model/multimodal_projector/projector.py:24
Methodforward
(self, x, return_attn=False)
nextgpt/model/multimodal_projector/projector.py:138
Methodforward
(self, x, input_embs)
nextgpt/model/multimodal_projector/projector.py:192
Methodforward
(self, x, input_embs)
nextgpt/model/multimodal_projector/projector.py:236
Methodforward
(self, x)
nextgpt/model/multimodal_projector/group.py:46
Methodforward
(self, query, key=None, *, value=None, return_attn=False)
nextgpt/model/multimodal_projector/group.py:135
Methodforward
Args: x (torch.Tensor): image tokens, [B, L, C] group_tokens (torch.Tensor): group tokens, [B, S_1, C] re
nextgpt/model/multimodal_projector/group.py:266
Methodforward
(self, query, key=None, *, value=None, mask=None)
nextgpt/model/multimodal_projector/group.py:324
Methodforward
(self, query, key, *, mask=None)
nextgpt/model/multimodal_projector/group.py:397
Methodforward
(self, x, mask=None)
nextgpt/model/multimodal_projector/group.py:433
Methodforward
Args: x (torch.Tensor): image tokens, [B, L, C] prev_group_token (torch.Tensor): group tokens, [B, S_1, C]
nextgpt/model/multimodal_projector/group.py:536
Methodforward
(self, x)
nextgpt/model/multimodal_projector/group.py:592
Methodforward
Args: inputs: List[Str], the path of input data. modality: ModalityType, the modality of input data.
nextgpt/model/multimodal_encoder/imagebind_encoder.py:58
Methodforward
(self, images)
nextgpt/model/multimodal_encoder/clip_encoder.py:46
Methodforward
(self, images)
nextgpt/model/multimodal_encoder/clip_encoder.py:134
Methodforward
Args: videos: A list of C, T_I_V_A.txt, H, W videos. Returns: videos: A list with 3x the number of elements.
nextgpt/model/multimodal_encoder/ImageBind/data.py:300
Methodforward
(self, x)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:22
Methodforward
(self, x)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:43
Methodforward
(self, x)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:57
Methodforward
(self, x: torch.Tensor)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:112
Methodforward
(self, x)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:121
Methodforward
(self, x, seq_len)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:136
Methodforward
(self, x)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:152
Methodforward
(self, vision=None, depth=None, patch_mask=None)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:274
Methodforward
(self, audio=None)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:306
Methodforward
(self, thermal=None)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:314
Methodforward
(self, text)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:379
Methodforward
(self, x)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:432
Methodforward
(self, imu)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:667
Methodforward
(self, x)
nextgpt/model/multimodal_encoder/ImageBind/models/transformer.py:49
Methodforward
(self, x: torch.Tensor, attn_mask: torch.Tensor)
nextgpt/model/multimodal_encoder/ImageBind/models/transformer.py:99
Methodforward
(self, x: torch.Tensor, attn_mask: torch.Tensor)
nextgpt/model/multimodal_encoder/ImageBind/models/transformer.py:104
Methodforward
(self, x: torch.Tensor, attn_mask: torch.Tensor)
nextgpt/model/multimodal_encoder/ImageBind/models/transformer.py:163
Methodforward
Inputs - tokens: data of shape N x L x D (or L x N x D depending on the attention implementation) - attn: mask of shape L x L
nextgpt/model/multimodal_encoder/ImageBind/models/transformer.py:249
Methodforward
(self, inputs)
nextgpt/model/multimodal_encoder/ImageBind/models/imagebind_model.py:454
Methodforward_feature
(self, images)
nextgpt/model/multimodal_encoder/clip_encoder.py:128
Functionget_anyres_image_grid_shape
Calculate the shape of the image patch grid after the preprocessing for images of any resolution. Args: image_size (tuple): The size
nextgpt/mm_utils.py:138
Methodget_attention_map
(self)
NExT-GPT-Lagacy/code/model/qformer.py:159
Methodget_attention_map
(self)
nextgpt/model/multimodal_projector/qformer.py:151
Methodget_attn_gradients
(self)
NExT-GPT-Lagacy/code/model/qformer.py:153
Methodget_attn_gradients
(self)
nextgpt/model/multimodal_projector/qformer.py:145
Methodget_audio_decoder
(self)
nextgpt/model/nextgpt_arch.py:340
Methodget_audio_noise_scheduler
(self)
nextgpt/model/nextgpt_arch.py:358
Methodget_audio_text_encoder
(self)
nextgpt/model/nextgpt_arch.py:343
Methodget_audio_tokenizer
(self)
nextgpt/model/nextgpt_arch.py:346
Methodget_audio_unet
(self)
nextgpt/model/nextgpt_arch.py:352
Methodget_audio_vae
(self)
nextgpt/model/nextgpt_arch.py:349
Methodget_audio_vocoder
(self)
nextgpt/model/nextgpt_arch.py:355
Functionget_conversation
Given a list of sources, each is a conversation list. This transform: 1. Add signal '### ' at the beginning each sentence, with end s
nextgpt/mm_utils.py:472
Methodget_decoder
(self)
NExT-GPT-Lagacy/code/model/modeling_llama.py:624
Methodget_image_decoder
(self)
nextgpt/model/nextgpt_arch.py:304
Methodget_image_noise_scheduler
(self)
nextgpt/model/nextgpt_arch.py:319
Methodget_image_text_encoder
(self)
nextgpt/model/nextgpt_arch.py:307
Methodget_image_tokenizer
(self)
nextgpt/model/nextgpt_arch.py:310
Methodget_image_unet
(self)
nextgpt/model/nextgpt_arch.py:316
Methodget_image_vae
(self)
nextgpt/model/nextgpt_arch.py:313
Methodget_input_embeddings
(self)
NExT-GPT-Lagacy/code/model/modeling_llama.py:435
Methodget_input_embeddings
(self)
NExT-GPT-Lagacy/code/model/modeling_llama.py:609
Methodget_input_projector
(self)
nextgpt/model/nextgpt_arch.py:301
Functionget_modality
(path_list)
NExT-GPT-Lagacy/code/model/common/utils.py:368
Functionget_model_name_from_path
(model_path)
nextgpt/mm_utils.py:184
Methodget_output_audio_projector
(self)
nextgpt/model/nextgpt_arch.py:367
Methodget_output_embeddings
(self)
NExT-GPT-Lagacy/code/model/qformer.py:1145
← previousnext →701–800 of 923, ranked by callers