MCPcopy Create free account

hub / github.com/TMElyralab/MusePose / functions

Functions214 in github.com/TMElyralab/MusePose

Method__init__
( self, *, in_channels, out_channels=None, conv_shortcut=False,
musepose/models/resnet.py:124
Method__init__
( self, in_channels, num_attention_heads=8, num_transformer_block=2, a
musepose/models/motion_module.py:45
Method__init__
( self, in_channels, num_attention_heads, attention_head_dim, num_laye
musepose/models/motion_module.py:95
Method__init__
( self, dim, num_attention_heads, attention_head_dim, attention_block_
musepose/models/motion_module.py:186
Method__init__
( self, attention_mode=None, cross_frame_attention_mode=None, temporal_positio
musepose/models/motion_module.py:281
Method__init__
(self, det_config=None, det_ckpt=None, pose_config=None, pose_ckpt=None, device="cpu", keypoints_only=False)
pose/script/dwpose.py:71
Method__init__
(self, det_config=None, det_ckpt=None, pose_config=None, pose_ckpt=None,
pose/script/wholebody.py:33
Method__len__
(self)
musepose/dataset/dance_image.py:129
Method__len__
(self)
musepose/dataset/dance_video.py:149
Method_encode_prompt
( self, prompt, device, num_videos_per_prompt, do_classifier_free_guid
musepose/pipelines/pipeline_pose2vid.py:176
Method_encode_prompt
( self, prompt, device, num_videos_per_prompt, do_classifier_free_guid
musepose/pipelines/pipeline_pose2vid_long.py:184
Method_execution_device
(self)
musepose/pipelines/pipeline_pose2vid.py:92
Method_execution_device
(self)
musepose/pipelines/pipeline_pose2img.py:90
Method_execution_device
(self)
musepose/pipelines/pipeline_pose2vid_long.py:100
Method_set_gradient_checkpointing
(self, module, value=False)
musepose/models/transformer_3d.py:99
Method_set_gradient_checkpointing
(self, module, value=False)
musepose/models/transformer_2d.py:208
Method_set_gradient_checkpointing
(self, module, value=False)
musepose/models/unet_3d.py:354
Method_set_gradient_checkpointing
(self, module, value=False)
musepose/models/unet_2d_condition.py:832
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
musepose/models/unet_3d.py:254
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
musepose/models/unet_2d_condition.py:671
Methodcreate_custom_forward
(module, return_dict=None)
musepose/models/transformer_2d.py:332
Methodcreate_custom_forward
(module, return_dict=None)
musepose/models/unet_2d_blocks.py:470
Methodcreate_custom_forward
(module, return_dict=None)
musepose/models/unet_2d_blocks.py:629
Methodcreate_custom_forward
(module)
musepose/models/unet_2d_blocks.py:748
Methodcreate_custom_forward
(module, return_dict=None)
musepose/models/unet_2d_blocks.py:916
Methodcreate_custom_forward
(module)
musepose/models/unet_2d_blocks.py:1050
Methodcreate_custom_forward
(module, return_dict=None)
musepose/models/unet_3d_blocks.py:413
Methodcreate_custom_forward
(module)
musepose/models/unet_3d_blocks.py:556
Methodcreate_custom_forward
(module, return_dict=None)
musepose/models/unet_3d_blocks.py:710
Methodcreate_custom_forward
(module)
musepose/models/unet_3d_blocks.py:841
Methodcustom_forward
(*inputs)
musepose/models/transformer_2d.py:333
Methodcustom_forward
(*inputs)
musepose/models/unet_2d_blocks.py:471
Methodcustom_forward
(*inputs)
musepose/models/unet_2d_blocks.py:630
Methodcustom_forward
(*inputs)
musepose/models/unet_2d_blocks.py:749
Methodcustom_forward
(*inputs)
musepose/models/unet_2d_blocks.py:917
Methodcustom_forward
(*inputs)
musepose/models/unet_2d_blocks.py:1051
Methodcustom_forward
(*inputs)
musepose/models/unet_3d_blocks.py:414
Methodcustom_forward
(*inputs)
musepose/models/unet_3d_blocks.py:557
Methodcustom_forward
(*inputs)
musepose/models/unet_3d_blocks.py:711
Methodcustom_forward
(*inputs)
musepose/models/unet_3d_blocks.py:842
Functiondecode_latents
(vae, latents)
train_stage_2_multiGPU.py:620
Functiondelete_additional_ckpt
(base_path, num_keep)
musepose/utils/util.py:35
Functiondelete_additional_ckpt
(base_path, num_keep)
pose/script/tool.py:35
Methoddisable_freeu
Disables the FreeU mechanism.
musepose/models/unet_2d_condition.py:860
Methoddisable_vae_slicing
(self)
musepose/pipelines/pipeline_pose2vid.py:76
Methoddisable_vae_slicing
(self)
musepose/pipelines/pipeline_pose2img.py:74
Methoddisable_vae_slicing
(self)
musepose/pipelines/pipeline_pose2vid_long.py:84
Functiondraw_bodypose
(canvas, candidate, subset)
pose/script/util.py:28
Functiondraw_facepose
(canvas, all_lmks)
pose/script/util.py:111
Functiondraw_handpose
(canvas, all_hand_peaks)
pose/script/util.py:73
Methodenable_freeu
r"""Enables the FreeU mechanism from https://arxiv.org/abs/2309.11497. The suffixes after the scaling factors represent the stage blocks wher
musepose/models/unet_2d_condition.py:836
Methodenable_sequential_cpu_offload
(self, gpu_id=0)
musepose/pipelines/pipeline_pose2vid.py:79
Methodenable_sequential_cpu_offload
(self, gpu_id=0)
musepose/pipelines/pipeline_pose2img.py:77
Methodenable_sequential_cpu_offload
(self, gpu_id=0)
musepose/pipelines/pipeline_pose2vid_long.py:87
Methodenable_vae_slicing
(self)
musepose/pipelines/pipeline_pose2vid.py:73
Methodenable_vae_slicing
(self)
musepose/pipelines/pipeline_pose2img.py:71
Methodenable_vae_slicing
(self)
musepose/pipelines/pipeline_pose2vid_long.py:81
Methodextra_repr
(self)
musepose/models/motion_module.py:306
Methodfn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
musepose/models/unet_3d.py:263
Methodfn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
musepose/models/unet_2d_condition.py:680
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
musepose/models/unet_3d.py:382
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
musepose/models/unet_2d_condition.py:725
Methodfn_recursive_retrieve_slicable_dims
(module: torch.nn.Module)
musepose/models/unet_3d.py:299
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
musepose/models/unet_2d_condition.py:777
Methodfn_recursive_set_attention_slice
( module: torch.nn.Module, slice_size: List[int] )
musepose/models/unet_3d.py:341
Methodfn_recursive_set_attention_slice
( module: torch.nn.Module, slice_size: List[int] )
musepose/models/unet_2d_condition.py:819
Methodforward
( self, noisy_latents, timesteps, ref_image_latents, clip_image_embeds
train_stage_1_multiGPU.py:69
Methodforward
( self, noisy_latents, timesteps, ref_image_latents, clip_image_embeds
train_stage_2_multiGPU.py:76
Methodforward
( self, hidden_states, encoder_hidden_states=None, timestep=None, retu
musepose/models/transformer_3d.py:103
Methodforward
The [`Transformer2DModel`] forward method. Args: hidden_states (`torch.LongTensor` of shape `(batch size, num latent pix
musepose/models/transformer_2d.py:212
Methodforward
r""" Args: sample (`torch.FloatTensor`): (batch, channel, height, width) noisy inputs tensor timestep (`torch.FloatTen
musepose/models/unet_3d.py:397
Methodforward
r""" The [`UNet2DConditionModel`] forward method. Args: sample (`torch.FloatTensor`): The noisy input ten
musepose/models/unet_2d_condition.py:871
Methodforward
( self, hidden_states: torch.FloatTensor, attention_mask: Optional[torch.FloatTensor]
musepose/models/attention.py:178
Methodforward
( self, hidden_states, encoder_hidden_states=None, timestep=None, atte
musepose/models/attention.py:381
Methodforward
(self, x: torch.FloatTensor)
musepose/models/unet_2d_blocks.py:219
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None )
musepose/models/unet_2d_blocks.py:344
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
musepose/models/unet_2d_blocks.py:452
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
musepose/models/unet_2d_blocks.py:606
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
musepose/models/unet_2d_blocks.py:737
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
musepose/models/unet_2d_blocks.py:872
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
musepose/models/unet_2d_blocks.py:1014
Methodforward
( self, hidden_states, temb=None, encoder_hidden_states=None, attentio
musepose/models/unet_3d_blocks.py:269
Methodforward
( self, hidden_states, temb=None, encoder_hidden_states=None, attentio
musepose/models/unet_3d_blocks.py:398
Methodforward
(self, hidden_states, temb=None, encoder_hidden_states=None)
musepose/models/unet_3d_blocks.py:549
Methodforward
( self, hidden_states, res_hidden_states_tuple, temb=None, encoder_hid
musepose/models/unet_3d_blocks.py:691
Methodforward
( self, hidden_states, res_hidden_states_tuple, temb=None, upsample_si
musepose/models/unet_3d_blocks.py:824
Methodforward
(self, conditioning)
musepose/models/pose_guider.py:47
Methodforward
(self, x)
musepose/models/resnet.py:10
Methodforward
(self, x)
musepose/models/resnet.py:21
Methodforward
(self, hidden_states, output_size=None)
musepose/models/resnet.py:53
Methodforward
(self, hidden_states)
musepose/models/resnet.py:112
Methodforward
(self, input_tensor, temb)
musepose/models/resnet.py:217
Methodforward
( self, input_tensor, temb, encoder_hidden_states, attention_mask=None
musepose/models/motion_module.py:77
Methodforward
(self, hidden_states, encoder_hidden_states=None, attention_mask=None)
musepose/models/motion_module.py:146
Methodforward
( self, hidden_states, encoder_hidden_states=None, attention_mask=None,
musepose/models/motion_module.py:236
Methodforward
(self, x)
musepose/models/motion_module.py:275
Methodforward
( self, hidden_states, encoder_hidden_states=None, attention_mask=None,
musepose/models/motion_module.py:351
Functionget_down_block
( down_block_type, num_layers, in_channels, out_channels, temb_channels, add_downsampl
musepose/models/unet_3d_blocks.py:15
Functionget_fps
(video_path)
pose/script/tool.py:125
Functionget_total_steps
( scheduler, timesteps: List[int], num_steps: Optional[int] = None, num_frames: int = ...,
musepose/pipelines/context.py:52
← previousnext →101–200 of 214, ranked by callers