MCPcopy Create free account

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

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

Methodcreate_custom_forward
(module)
NExT-GPT-Lagacy/code/model/qformer.py:534
Methodcreate_custom_forward
(module)
NExT-GPT-Lagacy/code/model/modeling_llama.py:550
Methodcreate_custom_forward
(module)
nextgpt/model/multimodal_projector/qformer.py:526
Methodcreate_optimizer
Setup the optimizer. We provide a reasonable default that works well. If you want to use something else, you can pass a tuple in the
nextgpt_trainer.py:180
Methodcustom_forward
(*inputs)
NExT-GPT-Lagacy/code/model/qformer.py:535
Methodcustom_forward
(*inputs)
NExT-GPT-Lagacy/code/model/modeling_llama.py:551
Methodcustom_forward
(*inputs)
nextgpt/model/multimodal_projector/qformer.py:527
Methoddetect_ending_silence
(waveform, threshold=0.0001)
nextgpt/dataset/audio_processor.py:99
Methoddetect_leading_silence
(waveform, threshold=0.0001)
nextgpt/dataset/audio_processor.py:88
Methoddevice
(self)
nextgpt/model/multimodal_projector/projector.py:154
Methoddevice
(self)
nextgpt/model/multimodal_projector/projector.py:215
Methoddevice
(self)
nextgpt/model/multimodal_projector/projector.py:252
Methoddevice
(self)
nextgpt/model/multimodal_encoder/imagebind_encoder.py:92
Methoddevice
(self)
nextgpt/model/multimodal_encoder/clip_encoder.py:68
Methoddict
(self)
nextgpt/conversation.py:213
Methoddisable_vae_slicing
r""" Disable sliced VAE decoding. If `enable_vae_slicing` was previously invoked, this method will go back to computing decoding in on
NExT-GPT-Lagacy/code/model/custom_sd.py:176
Methoddisable_vae_slicing
r""" Disable sliced VAE decoding. If `enable_vae_slicing` was previously invoked, this method will go back to computing decoding in on
NExT-GPT-Lagacy/code/model/custom_ad.py:104
Methoddisable_vae_slicing
r""" Disable sliced VAE decoding. If `enable_vae_slicing` was previously invoked, this method will go back to computing decoding in on
NExT-GPT-Lagacy/code/model/custom_vd.py:142
Methoddisable_vae_slicing
r""" Disable sliced VAE decoding. If `enable_vae_slicing` was previously invoked, this method will go back to computing decoding in on
nextgpt/model/multimodal_decoder/custom_sd.py:177
Methoddisable_vae_slicing
r""" Disable sliced VAE decoding. If `enable_vae_slicing` was previously invoked, this method will go back to computing decoding in on
nextgpt/model/multimodal_decoder/custom_ad.py:105
Methoddisable_vae_slicing
r""" Disable sliced VAE decoding. If `enable_vae_slicing` was previously invoked, this method will go back to computing decoding in on
nextgpt/model/multimodal_decoder/custom_vd.py:142
Methoddisable_vae_tiling
r""" Disable tiled VAE decoding. If `enable_vae_tiling` was previously invoked, this method will go back to computing decoding in one
NExT-GPT-Lagacy/code/model/custom_vd.py:160
Methoddisable_vae_tiling
r""" Disable tiled VAE decoding. If `enable_vae_tiling` was previously invoked, this method will go back to computing decoding in one
nextgpt/model/multimodal_decoder/custom_vd.py:160
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
NExT-GPT-Lagacy/code/model/blip2.py:29
Functiondownload_weights
(baseurl: str, basedest: str, files: list[str])
predict.py:88
Methoddtype
(self)
nextgpt/model/multimodal_projector/projector.py:36
Methoddtype
(self)
nextgpt/model/multimodal_projector/projector.py:158
Methoddtype
(self)
nextgpt/model/multimodal_projector/projector.py:219
Methoddtype
(self)
nextgpt/model/multimodal_projector/projector.py:256
Methoddtype
(self)
nextgpt/model/multimodal_encoder/imagebind_encoder.py:96
Methoddtype
(self)
nextgpt/model/multimodal_encoder/clip_encoder.py:64
Methoddummy_feature
(self)
nextgpt/model/multimodal_encoder/clip_encoder.py:60
Methodenable_model_cpu_offload
r""" Offloads all models to CPU using accelerate, reducing memory usage with a low impact on performance. Compared to `enable_sequenti
NExT-GPT-Lagacy/code/model/custom_vd.py:188
Methodenable_model_cpu_offload
r""" Offloads all models to CPU using accelerate, reducing memory usage with a low impact on performance. Compared to `enable_sequenti
nextgpt/model/multimodal_decoder/custom_vd.py:188
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
NExT-GPT-Lagacy/code/model/custom_sd.py:183
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and vocode
NExT-GPT-Lagacy/code/model/custom_ad.py:111
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae have their
NExT-GPT-Lagacy/code/model/custom_vd.py:167
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and safety
nextgpt/model/multimodal_decoder/custom_sd.py:184
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae and vocode
nextgpt/model/multimodal_decoder/custom_ad.py:112
Methodenable_sequential_cpu_offload
r""" Offloads all models to CPU using accelerate, significantly reducing memory usage. When called, unet, text_encoder, vae have their
nextgpt/model/multimodal_decoder/custom_vd.py:167
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in se
NExT-GPT-Lagacy/code/model/custom_sd.py:167
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in se
NExT-GPT-Lagacy/code/model/custom_ad.py:94
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in se
NExT-GPT-Lagacy/code/model/custom_vd.py:132
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in se
nextgpt/model/multimodal_decoder/custom_sd.py:168
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in se
nextgpt/model/multimodal_decoder/custom_ad.py:95
Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in se
nextgpt/model/multimodal_decoder/custom_vd.py:132
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
NExT-GPT-Lagacy/code/model/custom_vd.py:150
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and e
nextgpt/model/multimodal_decoder/custom_vd.py:150
Methodexpand2square
(pil_img, background_color=(122, 116, 104))
nextgpt/conversation.py:133
Methodexpand2square
(pil_img, background_color)
nextgpt/dataset/base_dataset.py:160
Methodextra_repr
(self)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:46
Methodextra_repr
(self)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:81
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group_vit.py:172
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group_vit.py:244
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group_vit.py:319
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group_vit.py:519
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group.py:172
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group.py:244
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group.py:319
Methodextra_repr
(self)
nextgpt/model/multimodal_projector/group.py:519
Methodextra_repr
(self)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:46
Methodextra_repr
(self)
nextgpt/model/multimodal_encoder/ImageBind/models/helpers.py:81
Methodextract_multimodal_feature
(self, inputs)
NExT-GPT-Lagacy/code/model/anyToImageVideoAudio.py:582
Methodfeed_forward_chunk
(self, attention_output)
NExT-GPT-Lagacy/code/model/qformer.py:477
Methodfeed_forward_chunk
(self, attention_output)
nextgpt/model/multimodal_projector/qformer.py:469
Methodfeed_forward_chunk_query
(self, attention_output)
NExT-GPT-Lagacy/code/model/qformer.py:482
Methodfeed_forward_chunk_query
(self, attention_output)
nextgpt/model/multimodal_projector/qformer.py:474
Methodforward
(self, x: torch.Tensor, input_embs: torch.Tensor)
NExT-GPT-Lagacy/code/model/layers.py:77
Methodforward
(self, inputs)
NExT-GPT-Lagacy/code/model/anyToImageVideoAudio.py:566
Methodforward
( self, input_ids=None, position_ids=None, query_embeds=None, past_key
NExT-GPT-Lagacy/code/model/qformer.py:79
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
NExT-GPT-Lagacy/code/model/qformer.py:170
Methodforward
(self, hidden_states, input_tensor)
NExT-GPT-Lagacy/code/model/qformer.py:286
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
NExT-GPT-Lagacy/code/model/qformer.py:323
Methodforward
(self, hidden_states)
NExT-GPT-Lagacy/code/model/qformer.py:359
Methodforward
(self, hidden_states, input_tensor)
NExT-GPT-Lagacy/code/model/qformer.py:372
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
NExT-GPT-Lagacy/code/model/qformer.py:403
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
NExT-GPT-Lagacy/code/model/qformer.py:496
Methodforward
(self, hidden_states)
NExT-GPT-Lagacy/code/model/qformer.py:599
Methodforward
(self, hidden_states)
NExT-GPT-Lagacy/code/model/qformer.py:618
Methodforward
(self, hidden_states)
NExT-GPT-Lagacy/code/model/qformer.py:639
Methodforward
(self, sequence_output)
NExT-GPT-Lagacy/code/model/qformer.py:650
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
NExT-GPT-Lagacy/code/model/qformer.py:805
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
NExT-GPT-Lagacy/code/model/qformer.py:988
Methodforward
r""" labels (:obj:`torch.LongTensor` of shape :obj:`(batch_size, sequence_length)`, `optional`): Labels for computing the masked l
NExT-GPT-Lagacy/code/model/qformer.py:1151
Methodforward
(self, hidden_states)
NExT-GPT-Lagacy/code/model/modeling_llama.py:66
Methodforward
(self, x, seq_len=None)
NExT-GPT-Lagacy/code/model/modeling_llama.py:92
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/modeling_llama.py:139
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
NExT-GPT-Lagacy/code/model/modeling_llama.py:168
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
NExT-GPT-Lagacy/code/model/modeling_llama.py:247
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
NExT-GPT-Lagacy/code/model/modeling_llama.py:466
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
NExT-GPT-Lagacy/code/model/modeling_llama.py:629
Methodforward
(self, x: torch.Tensor)
NExT-GPT-Lagacy/code/model/blip2.py:38
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.
NExT-GPT-Lagacy/code/model/ImageBind/data.py:300
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:22
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:43
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:57
Methodforward
(self, x: torch.Tensor)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:112
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:121
Methodforward
(self, x, seq_len)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:135
Methodforward
(self, x)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:152
← previousnext →601–700 of 923, ranked by callers