MCPcopy Create free account

hub / github.com/aim-uofa/Framer / functions

Functions206 in github.com/aim-uofa/Framer

Method__init__
( self, in_channels: int, temb_channels: int, dropout: float = 0.0, nu
models_diffusers/unet_3d_blocks.py:309
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
models_diffusers/unet_3d_blocks.py:443
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
models_diffusers/unet_3d_blocks.py:585
Method__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
models_diffusers/unet_3d_blocks.py:674
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
models_diffusers/unet_3d_blocks.py:934
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
models_diffusers/unet_3d_blocks.py:1060
Method__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
models_diffusers/unet_3d_blocks.py:1248
Method__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
models_diffusers/unet_3d_blocks.py:1444
Method__init__
( self, in_channels: int, temb_channels: int, dropout: float = 0.0, nu
models_diffusers/unet_3d_blocks.py:1587
Method__init__
( self, in_channels: int, out_channels: int, attention_head_dim: int = 512,
models_diffusers/unet_3d_blocks.py:1760
Method__init__
( self, in_channels: int, out_channels: int, num_layers: int = 1, add_
models_diffusers/unet_3d_blocks.py:1823
Method__init__
( self, in_channels: int, temb_channels: int, num_layers: int = 1, tra
models_diffusers/unet_3d_blocks.py:1873
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, num_l
models_diffusers/unet_3d_blocks.py:1983
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, num_l
models_diffusers/unet_3d_blocks.py:2073
Method__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
models_diffusers/unet_3d_blocks.py:2202
Method__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
models_diffusers/unet_3d_blocks.py:2291
Method__init__
( self, sample_size: Optional[int] = None, in_channels: int = 8, out_channels:
models_diffusers/unet_spatio_temporal_condition.py:112
Method__init__
( self, conditioning_embedding_channels: int, conditioning_channels: int = 3,
models_diffusers/controlnet_svd.py:73
Method_set_gradient_checkpointing
(self, module, value=False)
models_diffusers/unet_spatio_temporal_condition.py:366
Method_set_gradient_checkpointing
(self, module, value=False)
models_diffusers/controlnet_svd.py:402
Functionadaptively_load_state_dict
(target, state_dict)
gradio_demo/utils_drag.py:202
Functionadd_drag
(tracking_points)
app.py:571
Functionadd_tracking_points
(tracking_points, first_frame_path, last_frame_path, evt: gr.SelectData)
app.py:634
Functionarr2pil
(arr)
gradio_demo/utils_drag.py:259
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
models_diffusers/unet_spatio_temporal_condition.py:292
Methodattn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
models_diffusers/controlnet_svd.py:328
Methodcreate_custom_forward
(module)
models_diffusers/unet_3d_blocks.py:1020
Methodcreate_custom_forward
(module, return_dict=None)
models_diffusers/unet_3d_blocks.py:1193
Methodcreate_custom_forward
(module, return_dict=None)
models_diffusers/unet_3d_blocks.py:1397
Methodcreate_custom_forward
(module)
models_diffusers/unet_3d_blocks.py:1552
Methodcreate_custom_forward
(module, return_dict=None)
models_diffusers/unet_3d_blocks.py:1711
Methodcreate_custom_forward
(module, return_dict=None)
models_diffusers/unet_3d_blocks.py:1943
Methodcreate_custom_forward
(module)
models_diffusers/unet_3d_blocks.py:2033
Methodcreate_custom_forward
(module, return_dict=None)
models_diffusers/unet_3d_blocks.py:2147
Methodcreate_custom_forward
(module)
models_diffusers/unet_3d_blocks.py:2255
Methodcreate_custom_forward
(module, return_dict=None)
models_diffusers/unet_3d_blocks.py:2365
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:1021
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:1194
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:1398
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:1553
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:1712
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:1944
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:2034
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:2148
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:2256
Methodcustom_forward
(*inputs)
models_diffusers/unet_3d_blocks.py:2366
Functiondata2file
(data, filename, type=None, override=False, printable=False, **kwargs)
gradio_demo/utils_drag.py:120
Functiondelete_last_drag
(tracking_points, first_frame_path, last_frame_path)
app.py:576
Functiondelete_last_step
(tracking_points, first_frame_path, last_frame_path)
app.py:605
Methoddo_classifier_free_guidance
(self)
pipelines/pipeline_stable_video_diffusion_interp_control.py:306
Methodenable_forward_chunking
Sets the attention processor to use [feed forward chunking](https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers).
models_diffusers/unet_spatio_temporal_condition.py:371
Methodenable_forward_chunking
Sets the attention processor to use [feed forward chunking](https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers).
models_diffusers/controlnet_svd.py:407
Functionfile2data
(filename, type=None, printable=True, **kwargs)
gradio_demo/utils_drag.py:155
Methodfn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
models_diffusers/unet_spatio_temporal_condition.py:301
Methodfn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
models_diffusers/controlnet_svd.py:337
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
models_diffusers/unet_spatio_temporal_condition.py:340
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
models_diffusers/controlnet_svd.py:376
Methodfn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
models_diffusers/unet_spatio_temporal_condition.py:390
Methodfn_recursive_feed_forward
(module: torch.nn.Module, chunk_size: int, dim: int)
models_diffusers/controlnet_svd.py:426
Methodfn_recursive_retrieve_sliceable_dims
(module: torch.nn.Module)
models_diffusers/controlnet_svd.py:731
Methodfn_recursive_set_attention_slice
(module: torch.nn.Module, slice_size: List[int])
models_diffusers/controlnet_svd.py:769
Methodforward
r""" The forward method of the `Attention` class. Args: hidden_states (`torch.Tensor`): The hidden states
models_diffusers/attention_processor.py:496
Methodforward
(self, f: torch.FloatTensor, zq: torch.FloatTensor)
models_diffusers/attention_processor.py:1696
Methodforward
The [`TransformerTemporal`] forward method. Args: hidden_states (`torch.LongTensor` of shape `(batch size, num latent pi
models_diffusers/transformer_temporal.py:124
Methodforward
Args: hidden_states (`torch.FloatTensor` of shape `(batch size, channel, height, width)`): Input hidden_states.
models_diffusers/transformer_temporal.py:280
Methodforward
(self, x: torch.Tensor, objs: torch.Tensor)
models_diffusers/attention.py:83
Methodforward
( self, hidden_states: torch.FloatTensor, attention_mask: Optional[torch.FloatTensor]
models_diffusers/attention.py:247
Methodforward
( self, hidden_states: torch.FloatTensor, num_frames: int, encoder_hidden_stat
models_diffusers/attention.py:436
Methodforward
(self, hidden_states: torch.Tensor, scale: float = 1.0)
models_diffusers/attention.py:541
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:410
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:543
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:650
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
models_diffusers/unet_3d_blocks.py:768
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
models_diffusers/unet_3d_blocks.py:890
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:1007
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:1174
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
models_diffusers/unet_3d_blocks.py:1355
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
models_diffusers/unet_3d_blocks.py:1513
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:1694
Methodforward
( self, hidden_states: torch.FloatTensor, image_only_indicator: torch.FloatTensor,
models_diffusers/unet_3d_blocks.py:1803
Methodforward
( self, hidden_states: torch.FloatTensor, image_only_indicator: torch.FloatTensor,
models_diffusers/unet_3d_blocks.py:1854
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:1927
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:2023
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
models_diffusers/unet_3d_blocks.py:2133
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
models_diffusers/unet_3d_blocks.py:2239
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
models_diffusers/unet_3d_blocks.py:2348
Methodforward
r""" The [`UNetSpatioTemporalConditionModel`] forward method. Args: sample (`torch.FloatTensor`): The noi
models_diffusers/unet_spatio_temporal_condition.py:400
Methodforward
(self, conditioning, point_embedding=None, point_tracks=None)
models_diffusers/controlnet_svd.py:100
Methodforward
r""" The [`UNetSpatioTemporalConditionModel`] forward method. Args: sample (`torch.FloatTensor`): The noi
models_diffusers/controlnet_svd.py:436
Methodfrom_unet
r""" Instantiate a [`ControlNetModel`] from [`UNet2DConditionModel`]. Parameters: unet (`UNet2DConditionModel`):
models_diffusers/controlnet_svd.py:577
Functionget_concat_v
(im1, im2)
app.py:306
Methodguidance_scale
(self)
pipelines/pipeline_stable_video_diffusion_interp_control.py:299
Functionimage2arr
(filename)
gradio_demo/utils_drag.py:245
Functionimport_filename
(filename)
gradio_demo/utils_drag.py:194
Functionnotebook_show
(*images)
gradio_demo/utils_drag.py:268
Methodnum_timesteps
(self)
pipelines/pipeline_stable_video_diffusion_interp_control.py:310
Functionpreprocess_image
(image)
app.py:537
Functionpreprocess_image_end
(image_end)
app.py:554
Functionreset_states
(first_frame_path, last_frame_path, tracking_points)
app.py:529
Methodrun
(self, first_frame_path, last_frame_path, tracking_points, controlnet_cond_scale, motion_bucket_id)
app.py:401
← previousnext →101–200 of 206, ranked by callers