MCPcopy Create free account

hub / github.com/Doubiiu/ToonCrafter / functions

Functions475 in github.com/Doubiiu/ToonCrafter

Method__init__
(self, fn)
lvdm/modules/x_transformer.py:128
Method__init__
(self, dim, eps=1e-5)
lvdm/modules/x_transformer.py:139
Method__init__
(self, dim, eps=1e-8)
lvdm/modules/x_transformer.py:151
Method__init__
(self, dim)
lvdm/modules/x_transformer.py:168
Method__init__
(self, dim_in, dim_out)
lvdm/modules/x_transformer.py:184
Method__init__
(self, dim, dim_out=None, mult=4, glu=False, dropout=0.)
lvdm/modules/x_transformer.py:194
Method__init__
( self, dim, dim_head=DEFAULT_DIM_HEAD, heads=8, c
lvdm/modules/x_transformer.py:215
Method__init__
( self, dim, depth, heads=8, causal=False,
lvdm/modules/x_transformer.py:370
Method__init__
(self, **kwargs)
lvdm/modules/x_transformer.py:541
Method__init__
( self, *, num_tokens, max_seq_len, attn_layers,
lvdm/modules/x_transformer.py:548
Method__init__
(self, num_units, max_relative_position)
lvdm/modules/attention.py:23
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0., relative_position=Fals
lvdm/modules/attention.py:44
Method__init__
(self, dim, n_heads, d_head, dropout=0., context_dim=None, gated_ff=True, checkpoint=True, dis
lvdm/modules/attention.py:214
Method__init__
(self, in_channels, n_heads, d_head, depth=1, dropout=0., context_dim=None, use_checkpoint=Tr
lvdm/modules/attention.py:259
Method__init__
(self, in_channels, n_heads, d_head, depth=1, dropout=0., context_dim=None, use_checkpoint=Tr
lvdm/modules/attention.py:320
Method__init__
(self, dim, dim_out=None, mult=4, glu=False, dropout=0.)
lvdm/modules/attention.py:426
Method__init__
(self, dim, heads=4, dim_head=32)
lvdm/modules/attention.py:446
Method__init__
(self, in_channels)
lvdm/modules/attention.py:465
Method__init__
(self, dim, dim_out=None, mult=4, glu=False, dropout=0.0)
lvdm/modules/attention_svd.py:98
Method__init__
(self, dim, heads=4, dim_head=32)
lvdm/modules/attention_svd.py:132
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, qk_
lvdm/modules/attention_svd.py:157
Method__init__
(self, in_channels)
lvdm/modules/attention_svd.py:211
Method__init__
( self, query_dim, context_dim=None, heads=8, dim_head=64,
lvdm/modules/attention_svd.py:256
Method__init__
( self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.0, **kwargs )
lvdm/modules/attention_svd.py:349
Method__init__
( self, dim, n_heads, d_head, dropout=0.0, context_dim=N
lvdm/modules/attention_svd.py:462
Method__init__
( self, dim, n_heads, d_head, dropout=0.0, context_dim=N
lvdm/modules/attention_svd.py:582
Method__init__
( self, in_channels, n_heads, d_head, depth=1, dropout=0
lvdm/modules/attention_svd.py:629
Method__init__
( self, dim: int, depth: int, heads: int, dim_head: int,
lvdm/modules/attention_svd.py:727
Method__init__
(self, channels, use_conv, dims=2, out_channels=None, padding=1)
lvdm/modules/networks/openaimodel3d.py:60
Method__init__
( self, channels, emb_channels, dropout, out_channels=None, us
lvdm/modules/networks/openaimodel3d.py:126
Method__init__
(self, in_channels, out_channels=None, dropout=0.0, spatial_aware=False)
lvdm/modules/networks/openaimodel3d.py:243
Method__init__
(self, in_channels, model_channels, out_channels,
lvdm/modules/networks/openaimodel3d.py:311
Method__init__
(self, in_channels)
lvdm/modules/networks/ae_modules.py:24
Method__init__
(self, in_channels)
lvdm/modules/networks/ae_modules.py:29
Method__init__
(self, in_channels, with_conv)
lvdm/modules/networks/ae_modules.py:93
Method__init__
(self, in_channels, with_conv)
lvdm/modules/networks/ae_modules.py:114
Method__init__
(self, *, in_channels, out_channels=None, conv_shortcut=False, dropout, temb_channels=512)
lvdm/modules/networks/ae_modules.py:154
Method__init__
(self, *, ch, out_ch, ch_mult=(1,2,4,8), num_res_blocks, attn_resolutions, dropout=0.0, resam
lvdm/modules/networks/ae_modules.py:367
Method__init__
(self, *, ch, out_ch, ch_mult=(1,2,4,8), num_res_blocks, attn_resolutions, dropout=0.0, resam
lvdm/modules/networks/ae_modules.py:479
Method__init__
(self, in_channels, out_channels, *args, **kwargs)
lvdm/modules/networks/ae_modules.py:594
Method__init__
(self, in_channels, out_channels, ch, num_res_blocks, resolution, ch_mult=(2,2), dropout=0.0)
lvdm/modules/networks/ae_modules.py:630
Method__init__
(self, factor, in_channels, mid_channels, out_channels, depth=2)
lvdm/modules/networks/ae_modules.py:678
Method__init__
(self, in_channels, ch, resolution, out_ch, num_res_blocks, attn_resolutions, dropout=0.0, re
lvdm/modules/networks/ae_modules.py:715
Method__init__
(self, z_channels, out_ch, resolution, num_res_blocks, attn_resolutions, ch, ch_mult=(1,2,4,8),
lvdm/modules/networks/ae_modules.py:734
Method__init__
(self, in_size, out_size, in_channels, out_channels, ch_mult=2)
lvdm/modules/networks/ae_modules.py:751
Method__init__
(self, in_channels=None, learned=False, mode="bilinear")
lvdm/modules/networks/ae_modules.py:770
Method__init__
(self, ch_mult:list, in_channels, pretrained_model:nn.Module=None, reshape=F
lvdm/modules/networks/ae_modules.py:794
Method__init__
(self)
lvdm/modules/encoders/condition.py:12
Method__init__
(self, version="google/t5-v1_1-large", device="cuda", max_length=77, freeze=True)
lvdm/modules/encoders/condition.py:60
Method__init__
(self, version="openai/clip-vit-large-patch14", device="cuda", max_length=77, freeze=True, la
lvdm/modules/encoders/condition.py:97
Method__init__
( self, model, jit=False, device='cuda' if torch.cuda.is_avail
lvdm/modules/encoders/condition.py:137
Method__init__
(self, arch="ViT-H-14", version="laion2b_s32b_b79k", device="cuda", max_length=77, freeze=Tru
lvdm/modules/encoders/condition.py:184
Method__init__
(self, arch="ViT-H-14", version="laion2b_s32b_b79k", device="cuda", max_length=77, freeze=Tru
lvdm/modules/encoders/condition.py:242
Method__init__
(self, arch="ViT-H-14", version="laion2b_s32b_b79k", device="cuda", freeze=True, layer="poole
lvdm/modules/encoders/condition.py:300
Method__init__
(self, clip_version="openai/clip-vit-large-patch14", t5_version="google/t5-v1_1-xl", device="cuda",
lvdm/modules/encoders/condition.py:375
Method__init__
(self, cross_attention_dim=1024, clip_embeddings_dim=1024, clip_extra_context_tokens=4)
lvdm/modules/encoders/resampler.py:11
Method__init__
(self, *, dim, dim_head=64, heads=8)
lvdm/modules/encoders/resampler.py:49
Method__init__
(self, num_records=0, valid_ids=None, size=256)
lvdm/data/base.py:9
Method__init__
(self, meta_path, data_dir, subsample=None,
lvdm/data/webvid.py:25
Method__init__
(self, first_stage_config, cond_stage_config, num_timesteps
lvdm/models/ddpm3d.py:467
Method__init__
(self, img_cond_stage_config, image_proj_stage_config, freeze_embedder=True, image_proj_model_trainable=True,
lvdm/models/ddpm3d.py:1042
Method__init__
(self, diff_model_config, conditioning_key)
lvdm/models/ddpm3d.py:1244
Method__init__
(self, *args, vq_interface=False, **kwargs)
lvdm/models/autoencoder.py:219
Method__init__
(self, ddconfig, lossconfig, embed_dim, ck
lvdm/models/autoencoder.py:239
Method__init__
( self, *, in_channels, out_channels=None, conv_shortcut=False,
lvdm/models/autoencoder_dualref.py:36
Method__init__
(self, in_channels)
lvdm/models/autoencoder_dualref.py:98
Method__init__
(self, in_channels)
lvdm/models/autoencoder_dualref.py:103
Method__init__
(self, in_channels)
lvdm/models/autoencoder_dualref.py:153
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0, **kwargs)
lvdm/models/autoencoder_dualref.py:258
Method__init__
(self, ch)
lvdm/models/autoencoder_dualref.py:344
Method__init__
( self, channels: int, emb_channels: int, dropout: float, out_cha
lvdm/models/autoencoder_dualref.py:570
Method__init__
( self, dim, n_heads, d_head, dropout=0.0, context_dim=N
lvdm/models/autoencoder_dualref.py:709
Method__init__
( self, out_channels, *args, dropout=0.0, video_kernel_size=3,
lvdm/models/autoencoder_dualref.py:847
Method__init__
(self, in_channels, out_channels, video_kernel_size=3, *args, **kwargs)
lvdm/models/autoencoder_dualref.py:915
Method__init__
( self, in_channels: int, alpha: float = 0, merge_strategy: str = "learned" )
lvdm/models/autoencoder_dualref.py:939
Method__init__
( self, in_channels: int, alpha: float = 0, merge_strategy: str = "learned" )
lvdm/models/autoencoder_dualref.py:1009
Method__init__
( self, *args, video_kernel_size: Union[int, list] = [3,1,1], alpha: float
lvdm/models/autoencoder_dualref.py:1124
Method__init__
(self, model, schedule="linear", **kwargs)
lvdm/models/samplers/ddim_multiplecond.py:11
Method__init__
(self, model, schedule="linear", **kwargs)
lvdm/models/samplers/ddim.py:11
Method__iter__
(self)
lvdm/data/base.py:22
Method__len__
(self)
main/utils_data.py:37
Method__len__
(self)
lvdm/data/webvid.py:170
Method_forward
(self, x, context=None, mask=None)
lvdm/modules/attention.py:242
Method_forward
(self, x, context=None)
lvdm/modules/attention_svd.py:613
Method_forward
(self, x, emb, batch_size=None)
lvdm/modules/networks/openaimodel3d.py:210
Method_forward
(self, input, sample_posterior=True, **additional_decode_kwargs)
lvdm/models/autoencoder.py:124
Method_forward
(self, input, sample_posterior=True, **additional_decode_kwargs)
lvdm/models/autoencoder.py:259
Method_make_attn
(self)
lvdm/models/autoencoder_dualref.py:1152
Method_make_conv
(self)
lvdm/models/autoencoder_dualref.py:1162
Method_make_resblock
(self)
lvdm/models/autoencoder_dualref.py:1168
Method_predict_dataloader
(self, shuffle=False)
main/utils_data.py:128
Method_test_dataloader
(self, shuffle=False)
main/utils_data.py:106
Method_train_dataloader
(self)
main/utils_data.py:81
Method_val_dataloader
(self, shuffle=False)
main/utils_data.py:93
Functionautocast
(f)
lvdm/common.py:16
Functionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
lvdm/models/utils_diffusion.py:94
Functioncheck_istarget
name: full name of source para para_list: partial name of target para
utils/utils.py:15
Methodconfigure_optimizers
(self)
lvdm/models/ddpm3d.py:457
Methodconfigure_optimizers
configure_optimizers for LatentDiffusion
lvdm/models/ddpm3d.py:1208
Methodconfigure_optimizers
(self)
lvdm/models/autoencoder.py:179
← previousnext →201–300 of 475, ranked by callers