MCPcopy Create free account

hub / github.com/fudan-generative-vision/hallo2 / functions

Functions805 in github.com/fudan-generative-vision/hallo2

Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
hallo/models/unet_2d_condition.py:758
Methodfn_recursive_retrieve_slicable_dims
(module: torch.nn.Module)
hallo/models/unet_3d.py:411
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
hallo/models/unet_2d_condition.py:811
Methodfn_recursive_set_attention_slice
( module: torch.nn.Module, slice_size: List[int] )
hallo/models/unet_3d.py:453
Methodfn_recursive_set_attention_slice
( module: torch.nn.Module, slice_size: List[int] )
hallo/models/unet_2d_condition.py:853
Methodforward
(self, input)
facelib/detection/retinaface/retinaface_net.py:52
Methodforward
(self, input)
facelib/detection/retinaface/retinaface_net.py:80
Methodforward
(self, x)
facelib/detection/retinaface/retinaface_net.py:127
Methodforward
(self, x)
facelib/detection/retinaface/retinaface_net.py:145
Methodforward
(self, x)
facelib/detection/retinaface/retinaface_net.py:158
Methodforward
(self, x)
facelib/detection/retinaface/retinaface_net.py:171
Methodforward
(self, inputs)
facelib/detection/retinaface/retinaface.py:122
Methodforward
(self, x)
facelib/detection/yolov5face/models/yolo.py:46
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:50
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:66
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:83
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:100
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:116
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:163
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:182
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:193
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:203
Methodforward
(self, x)
facelib/detection/yolov5face/models/common.py:213
Methodforward
(self, imgs, size=640, augment=False, profile=False)
facelib/detection/yolov5face/models/common.py:232
Methodforward
(self, x)
facelib/detection/yolov5face/models/experimental.py:20
Methodforward
(self, x)
facelib/detection/yolov5face/models/experimental.py:44
Methodforward
(self, x, ref=None)
facelib/parsing/parsenet.py:35
Methodforward
(self, x)
facelib/parsing/parsenet.py:70
Methodforward
(self, x)
facelib/parsing/parsenet.py:103
Methodforward
(self, x)
facelib/parsing/parsenet.py:132
Methodforward
(self, x)
facelib/parsing/parsenet.py:188
Methodforward
(self, x)
facelib/parsing/bisenet.py:15
Methodforward
(self, x)
facelib/parsing/bisenet.py:28
Methodforward
(self, x)
facelib/parsing/bisenet.py:43
Methodforward
(self, x)
facelib/parsing/bisenet.py:64
Methodforward
(self, fsp, fcp)
facelib/parsing/bisenet.py:97
Methodforward
(self, x, return_feat=False)
facelib/parsing/bisenet.py:120
Methodforward
(self, x)
facelib/parsing/resnet.py:26
Methodforward
(self, x)
facelib/parsing/resnet.py:60
Methodforward
empty function to override abstract function of nn Module
scripts/inference_long.py:86
Methodforward
Forward pass of the model. Args: self (Net): The model instance. noisy_latents (torch.Tensor): Noisy latents.
scripts/train_stage1.py:110
Methodforward
simple docstring to prevent pylint error
scripts/train_stage2_long.py:127
Methodforward
(ctx, grad_output, out, negative_slope, scale)
basicsr/ops/fused_act/fused_act.py:27
Methodforward
(ctx, input, bias, negative_slope, scale)
basicsr/ops/fused_act/fused_act.py:57
Methodforward
(self, input)
basicsr/ops/fused_act/fused_act.py:84
Methodforward
(ctx, input, offset, weight, stride=1,
basicsr/ops/dcn/deform_conv.py:30
Methodforward
(ctx, input, offset, mask, weight,
basicsr/ops/dcn/deform_conv.py:118
Methodforward
(self, x, offset)
basicsr/ops/dcn/deform_conv.py:230
Methodforward
(self, x)
basicsr/ops/dcn/deform_conv.py:281
Methodforward
(self, x, offset, mask)
basicsr/ops/dcn/deform_conv.py:329
Methodforward
(self, x)
basicsr/ops/dcn/deform_conv.py:371
Methodforward
(ctx, grad_output, kernel, grad_kernel, up, down, pad, g_pad, in_size, out_size)
basicsr/ops/upfirdn2d/upfirdn2d.py:27
Methodforward
(ctx, input, kernel, up, down, pad)
basicsr/ops/upfirdn2d/upfirdn2d.py:94
Methodforward
(self, x, mask=None)
basicsr/archs/codeformer_arch.py:67
Methodforward
(self, tgt, video_length, batch_size, tgt_mask: Optional[Tensor] = None, tgt_k
basicsr/archs/codeformer_arch.py:131
Methodforward
(self, enc_feat, dec_feat, w=1)
basicsr/archs/codeformer_arch.py:181
Methodforward
(self, x, w=0, detach_16=True, code_only=False, adain=False)
basicsr/archs/codeformer_arch.py:253
Methodforward
Forward function. Args: x (Tensor): Input tensor with shape (n, c, h, w). Returns: Tensor: Forward results.
basicsr/archs/vgg_arch.py:141
Methodforward
(self, x)
basicsr/archs/arch_util.py:89
Methodforward
(self, x, feat)
basicsr/archs/arch_util.py:220
Methodforward
(self, x)
basicsr/archs/arcface_arch.py:37
Methodforward
(self, x)
basicsr/archs/arcface_arch.py:82
Methodforward
(self, x)
basicsr/archs/arcface_arch.py:126
Methodforward
(self, x)
basicsr/archs/arcface_arch.py:164
Methodforward
(self, x)
basicsr/archs/arcface_arch.py:229
Methodforward
(self, z)
basicsr/archs/vqgan_arch.py:34
Methodforward
(self, z)
basicsr/archs/vqgan_arch.py:99
Methodforward
(self, x)
basicsr/archs/vqgan_arch.py:123
Methodforward
(self, x)
basicsr/archs/vqgan_arch.py:135
Methodforward
(self, x_in)
basicsr/archs/vqgan_arch.py:154
Methodforward
(self, x)
basicsr/archs/vqgan_arch.py:203
Methodforward
(self, x)
basicsr/archs/vqgan_arch.py:270
Methodforward
(self, x)
basicsr/archs/vqgan_arch.py:320
Methodforward
(self, x)
basicsr/archs/vqgan_arch.py:386
Methodforward
(self, x)
basicsr/archs/vqgan_arch.py:434
Methodforward
(self, x)
basicsr/archs/rrdbnet_arch.py:32
Methodforward
(self, x)
basicsr/archs/rrdbnet_arch.py:58
Methodforward
(self, x)
basicsr/archs/rrdbnet_arch.py:105
Methodforward
Args: pred (Tensor): of shape (N, C, H, W). Predicted tensor. target (Tensor): of shape (N, C, H, W). Ground truth te
basicsr/losses/losses.py:77
Methodforward
Args: pred (Tensor): of shape (N, C, H, W). Predicted tensor. target (Tensor): of shape (N, C, H, W). Ground truth te
basicsr/losses/losses.py:113
Methodforward
(self, pred, weight=None)
basicsr/losses/losses.py:135
Methodforward
Forward function. Args: x (Tensor): Input tensor with shape (n, c, h, w). gt (Tensor): Ground-truth tensor with shape
basicsr/losses/losses.py:198
Methodforward
(self, pred, target)
basicsr/losses/losses.py:274
Methodforward
Args: input (Tensor): The input for the loss module, i.e., the network prediction. target_is_real (bo
basicsr/losses/losses.py:364
Methodforward
Forward pass for the Transformer3DModel. Args: hidden_states (torch.Tensor): The input hidden states. encode
hallo/models/transformer_3d.py:147
Methodforward
Forward pass of the ImageProjModel, which takes in image embeddings and returns the projected tokens after reshaping and normalizatio
hallo/models/image_proj.py:56
Methodforward
The [`Transformer2DModel`] forward method. Args: hidden_states (`torch.LongTensor` of shape `(batch size, num latent pix
hallo/models/transformer_2d.py:245
Methodforward
r""" Args: sample (`torch.FloatTensor`): (batch, channel, height, width) noisy inputs tensor timestep (`torch.FloatTen
hallo/models/unet_3d.py:510
Methodforward
Defines the forward pass for the AudioProjModel. Parameters: audio_embeds (torch.Tensor): The input audio embeddings wit
hallo/models/audio_proj.py:96
Methodforward
r""" The [`UNet2DConditionModel`] forward method. Args: sample (`torch.FloatTensor`): The noisy input ten
hallo/models/unet_2d_condition.py:905
Methodforward
Forward pass of the Wav2Vec model. Args: self: The instance of the model. input_values: The input values (wa
hallo/models/wav2vec.py:42
Methodforward
Apply the Gated Self-Attention mechanism to the input tensor `x` and object tensor `objs`. Args: x (torch.Tensor): The i
hallo/models/attention.py:57
Methodforward
This function defines the forward pass of the BasicTransformerBlock. Args: self (BasicTransformerBlock):
hallo/models/attention.py:257
Methodforward
Forward pass for the TemporalBasicTransformerBlock. Args: hidden_states (torch.FloatTensor): The input hidden states wit
hallo/models/attention.py:542
Methodforward
Forward pass for the AudioTemporalBasicTransformerBlock. Args: hidden_states (torch.FloatTensor): The input hidden state
hallo/models/attention.py:784
Methodforward
Forward pass of the AutoencoderTinyBlock class. Parameters: x (torch.FloatTensor): The input tensor to the AutoencoderTinyBl
hallo/models/unet_2d_blocks.py:248
Methodforward
Forward pass of the UNetMidBlock2D class. Args: hidden_states (torch.FloatTensor): The input tensor to the UNetMidBlock2
hallo/models/unet_2d_blocks.py:384
Methodforward
Forward pass for the UNetMidBlock2DCrossAttn class. Args: hidden_states (torch.FloatTensor): The input hidden states ten
hallo/models/unet_2d_blocks.py:523
Methodforward
Forward pass for the CrossAttnDownBlock2D class. Args: hidden_states (torch.FloatTensor): The input hidden states.
hallo/models/unet_2d_blocks.py:722
Methodforward
Forward pass of the DownBlock2D class. Args: hidden_states (torch.FloatTensor): The input tensor to the DownBlock2D laye
hallo/models/unet_2d_blocks.py:897
← previousnext →601–700 of 805, ranked by callers