↓ 43 callersMethodhead_to_batch_dimr"""
Reshape the tensor from `[batch_size, seq_len, dim]` to `[batch_size, seq_len, heads, dim // heads]` `heads` is
the number of h
src/models/attn_process_diffuser.py:555
↓ 2 callersFunctionget_down_block(
down_block_type,
num_layers,
in_channels,
out_channels,
temb_channels,
add_downsampl
src/models/unet_3d_blocks.py:21
↓ 2 callersFunctionget_up_block(
up_block_type,
num_layers,
in_channels,
out_channels,
prev_output_channel,
temb_chan
src/models/unet_3d_blocks.py:100
↓ 1 callersMethodget_noise_pred(self, latents, t, is_forward=True, context=None, normal_infer=False)
src/pipelines/null_text_optimization.py:58
↓ 1 callersMethodprepare_latents(
self,
batch_size,
num_channels_latents,
width,
height,
src/pipelines/pipeline_pose2vid_collection.py:140
Method__call__(
self,
ref_images,
pose_images,
width,
height,
video_le
src/pipelines/pipeline_pose2vid_collection.py:285
Method__init__(self, model, guidance_scale, null_inv_with_prompt, null_normal_infer=False, image_encoder=None)
src/pipelines/null_text_optimization.py:225
Method__init__(
self,
vae,
image_encoder,
denoising_unet,
pose_guider,
src/pipelines/pipeline_pose2vid_collection.py:30
Method__init__(self, channels=[320, 640, 1280, 1280], nums_rb=3, cin=64, ksize=3, sk=False, use_conv=True)
src/models/appearance_net.py:33
Method__init__(self, in_c, out_c, down, ksize=3, sk=False, use_conv=True)
src/models/appearance_net.py:66