MCPcopy Create free account

hub / github.com/ali-vilab/videocomposer / functions

Functions561 in github.com/ali-vilab/videocomposer

↓ 1 callersFunctionvisualize_with_model_kwargs
(model_kwargs, video_data, autoencoder,
tools/videocomposer/inference_single.py:738
↓ 1 callersFunctionwhitespace_clean
(text)
artist/data/tokenizers.py:58
↓ 1 callersFunctionworker
(gpu, cfg)
tools/videocomposer/inference_single.py:356
↓ 1 callersFunctionworker
(gpu, cfg)
tools/videocomposer/inference_multi.py:350
FunctionHWC3
(x)
tools/annotator/util.py:7
Method__call__
(self, img, low_threshold = None, high_threshold = None, random_threshold = True)
tools/annotator/canny/__init__.py:8
Method__call__
(self, img)
tools/videocomposer/inference_single.py:192
Method__call__
(self, img)
tools/videocomposer/inference_single.py:209
Method__call__
(self, img)
tools/videocomposer/inference_multi.py:192
Method__call__
(self, img)
tools/videocomposer/inference_multi.py:209
Method__call__
(self, sequence)
artist/data/tokenizers.py:147
Method__call__
(self, rgb)
artist/data/transforms.py:34
Method__call__
(self, rgb)
artist/data/transforms.py:46
Method__call__
(self, rgb)
artist/data/transforms.py:57
Method__call__
(self, rgb)
artist/data/transforms.py:69
Method__call__
(self, rgb)
artist/data/transforms.py:84
Method__call__
(self, rgb)
artist/data/transforms.py:114
Method__call__
(self, rgb, wh)
artist/data/transforms.py:146
Method__call__
(self, img)
artist/data/transforms.py:172
Method__call__
(self, rgb)
artist/data/transforms.py:191
Method__call__
(self, rgb)
artist/data/transforms.py:252
Method__call__
(self, rgb)
artist/data/transforms.py:262
Method__call__
(self, rgb)
artist/data/transforms.py:273
Method__call__
(self, rgb)
artist/data/transforms.py:288
Method__call__
(self, rgb)
artist/data/transforms.py:317
Method__call__
(self, rgb)
artist/data/transforms.py:324
Method__call__
(self, rgb)
artist/data/transforms.py:334
Method__getitem__
(self, index)
tools/videocomposer/datasets.py:209
Method__getitem__
(self, index)
artist/data/transforms.py:25
Method__init__
(self, pdc, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bias=False)
tools/annotator/sketch/pidinet.py:413
Method__init__
(self, in_channels, out_channels)
tools/annotator/sketch/pidinet.py:470
Method__init__
(self, channels)
tools/annotator/sketch/pidinet.py:494
Method__init__
(self, pdc, inplane, ouplane, stride=1)
tools/annotator/sketch/pidinet.py:504
Method__init__
(self, pdc, inplane, ouplane, stride=1)
tools/annotator/sketch/pidinet.py:532
Method__init__
(self, inplane, pdcs, dil=None, sa=False, convert=False)
tools/annotator/sketch/pidinet.py:559
Method__init__
(self, mean, std)
tools/annotator/sketch/sketch_simplification.py:20
Method__init__
(self, num_hues=11, num_sat=5, num_light=4)
tools/annotator/histogram/palette.py:28
Method__init__
(self, arch="ViT-H-14", pretrained="laion2b_s32b_b79k", device="cuda", max_length=77, freeze
tools/videocomposer/inference_single.py:103
Method__init__
(self, mean=0., std=0.1)
tools/videocomposer/inference_single.py:206
Method__init__
(self, arch="ViT-H-14", pretrained="laion2b_s32b_b79k", device="cuda", max_length=77, freeze
tools/videocomposer/inference_single.py:249
Method__init__
(self, dim, context_dim=None, num_heads=None, head_dim=None, batch_size=4)
tools/videocomposer/mha_flash.py:15
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.0)
tools/videocomposer/unet_sd.py:203
Method__init__
( self, heads = 8, num_buckets = 32, max_distance = 128 )
tools/videocomposer/unet_sd.py:250
Method__init__
(self, in_channels, n_heads, d_head, depth=1, dropout=0., context_dim=None,
tools/videocomposer/unet_sd.py:298
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.)
tools/videocomposer/unet_sd.py:357
Method__init__
(self, dim, n_heads, d_head, dropout=0., context_dim=None, gated_ff=True, checkpoint=True, d
tools/videocomposer/unet_sd.py:412
Method__init__
(self, dim, dim_out=None, mult=4, glu=False, dropout=0.)
tools/videocomposer/unet_sd.py:458
Method__init__
(self, channels, use_conv, dims=2, out_channels=None, padding=1)
tools/videocomposer/unet_sd.py:485
Method__init__
( self, channels, emb_channels, dropout, out_channels=None,
tools/videocomposer/unet_sd.py:522
Method__init__
(self, channels, use_conv, dims=2, out_channels=None,padding=1)
tools/videocomposer/unet_sd.py:638
Method__init__
(self, in_dim, out_dim, mode)
tools/videocomposer/unet_sd.py:657
Method__init__
(self, in_dim, embed_dim, out_dim, use_scale_shift_norm=True, mode='none', dropout=0.0)
tools/videocomposer/unet_sd.py:674
Method__init__
(self, dim, context_dim=None, num_heads=None, head_dim=None)
tools/videocomposer/unet_sd.py:718
Method__init__
( self, dim, heads = 4, dim_head = 32, rotary_emb = None,
tools/videocomposer/unet_sd.py:769
Method__init__
(self, in_channels, n_heads, d_head, depth=1, dropout=0., context_dim=None,
tools/videocomposer/unet_sd.py:894
Method__init__
( self, dim, heads=4, dim_head=32, rotary_emb=None, use_
tools/videocomposer/unet_sd.py:986
Method__init__
(self, in_dim, out_dim=None, dropout=0.0,use_image_dataset=False)
tools/videocomposer/unet_sd.py:1016
Method__init__
(self, in_dim, out_dim=None, dropout=0.0, use_image_dataset= False)
tools/videocomposer/unet_sd.py:1048
Method__init__
(self, in_dim, out_dim=None, dropout=0.0, use_image_dataset=False)
tools/videocomposer/unet_sd.py:1084
Method__init__
(self, cfg, in_dim=7, dim=512, y_dim=5
tools/videocomposer/unet_sd.py:1136
Method__init__
(self, dim, fn)
tools/videocomposer/unet_sd.py:1716
Method__init__
(self, dim, fn)
tools/videocomposer/unet_sd.py:1724
Method__init__
(self, dim, heads = 8, dim_head = 64, dropout = 0.)
tools/videocomposer/unet_sd.py:1732
Method__init__
(self, dim, heads = 8, dim_head = 64, dropout = 0.)
tools/videocomposer/unet_sd.py:1763
Method__init__
(self, dim, fn)
tools/videocomposer/unet_sd.py:1803
Method__init__
(self, heads=8, dim=2048, dim_head_k=256, dim_head_v=256, dropout_atte = 0.05, mlp_dim=2048, dropout_ffn = 0.0
tools/videocomposer/unet_sd.py:1812
Method__init__
(self, p)
tools/videocomposer/unet_sd.py:1837
Method__init__
(self, cfg, tokenizer=None, max_words=30,
tools/videocomposer/datasets.py:171
Method__init__
(self, arch="ViT-H-14", pretrained="laion2b_s32b_b79k", device="cuda", max_length=77, freeze
tools/videocomposer/inference_multi.py:103
Method__init__
(self, mean=0., std=0.1)
tools/videocomposer/inference_multi.py:206
Method__init__
(self, arch="ViT-H-14", pretrained="laion2b_s32b_b79k", device="cuda", max_length=77, freeze
tools/videocomposer/inference_multi.py:249
Method__init__
(self, parameters, deterministic=False)
tools/videocomposer/autoencoder.py:16
Method__init__
(self, in_channels, with_conv)
tools/videocomposer/autoencoder.py:56
Method__init__
(self, *, in_channels, out_channels=None, conv_shortcut=False, dropout, temb_channels=512)
tools/videocomposer/autoencoder.py:77
Method__init__
(self, in_channels)
tools/videocomposer/autoencoder.py:139
Method__init__
(self, in_channels, with_conv)
tools/videocomposer/autoencoder.py:245
Method__init__
(self, *, ch, out_ch, ch_mult=(1,2,4,8), num_res_blocks, attn_resolutions, dropout=0.0, resam
tools/videocomposer/autoencoder.py:378
Method__init__
(self, ddconfig, embed_dim, ckpt_path=None,
tools/videocomposer/autoencoder.py:487
Method__init__
(self, *args, vq_interface=False, **kwargs)
tools/videocomposer/autoencoder.py:613
Method__init__
(self, load=True, cfg_dict=None, cfg_level=None)
utils/config.py:11
Method__init__
r"""Create a wrapper class for the forward SDE (VP type). *** Update: We support discrete-time diffusion models by implementing a pic
artist/ops/dpm_solver.py:21
Method__init__
r"""Construct a DPM-Solver. We support both the noise prediction model ("predicting epsilon") and the data prediction model ("predicting x0"
artist/ops/dpm_solver.py:510
Method__init__
(self, host='restful-store.vip.tbsite.net:3800', app_key='5354c9fae75f5')
artist/ops/utils.py:701
Method__init__
(self, betas, mean_type='eps', var_type='learned_range',
artist/ops/diffusion.py:38
Method__init__
(self, betas, mean_type='eps', var_type='fixed_small',
artist/ops/diffusion.py:485
Method__init__
r"""require_version("torch>=1.5.0") # add_ with alpha
artist/optim/adafactor.py:78
Method__init__
(self, optimizer, base_lr, warmup_steps, total_steps, decay_mode='cosine', min_lr=0.0, last_step=-1)
artist/optim/lr_scheduler.py:8
Method__init__
(self, bpe_path: str = default_bpe())
artist/data/tokenizers.py:65
Method__init__
(self, length=77)
artist/data/tokenizers.py:138
Method__init__
(self, dataset_size, batch_size, num_replicas=None, rank=None, shuffle=False, seed=None)
artist/data/samplers.py:14
Method__init__
(self, group_file, batch_size, alpha=0.7, update_interval=5000, seed=8888)
artist/data/samplers.py:42
Method__init__
(self, group_file, batch_size, alpha=0.7, update_interval=5000, seed=8888)
artist/data/samplers.py:81
Method__init__
(self, transforms)
artist/data/transforms.py:22
Method__init__
(self, size=256)
artist/data/transforms.py:41
Method__init__
(self, size=256, interpolation=Image.BILINEAR)
artist/data/transforms.py:53
Method__init__
(self, size=224)
artist/data/transforms.py:66
Method__init__
(self, size=256, size_short=292)
artist/data/transforms.py:79
Method__init__
(self, size=256, size_short=292)
artist/data/transforms.py:109
Method__init__
(self, size=256, size_short=292)
artist/data/transforms.py:141
Method__init__
(self, size)
artist/data/transforms.py:169
← previousnext →201–300 of 561, ranked by callers