Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ali-vilab/videocomposer
/ types & classes
Types & classes
102 in github.com/ali-vilab/videocomposer
⨍
Functions
561
◇
Types & classes
102
↓ 7 callers
Class
Transformer_v2
tools/videocomposer/unet_sd.py:1811
↓ 6 callers
Class
ResnetBlock
tools/videocomposer/autoencoder.py:76
↓ 5 callers
Class
LayerNorm
r"""Subclass of nn.LayerNorm to handle fp16.
artist/models/clip.py:25
↓ 5 callers
Class
PiDiNet
tools/annotator/sketch/pidinet.py:557
↓ 4 callers
Class
AttnBlock
tools/videocomposer/autoencoder.py:138
↓ 4 callers
Class
FusionBlock
artist/models/midas.py:141
↓ 4 callers
Class
MapReduce
r""" Reduce feature maps into a single edge map
tools/annotator/sketch/pidinet.py:490
↓ 4 callers
Class
ResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels
tools/videocomposer/unet_sd.py:507
↓ 4 callers
Class
SketchSimplification
r"""NOTE: 1. Input image should has only one gray channel. 2. Input image size should be divisible by 8. 3. Sketch in the inpu
tools/annotator/sketch/sketch_simplification.py:14
↓ 4 callers
Class
TemporalAttentionMultiBlock
tools/videocomposer/unet_sd.py:985
↓ 4 callers
Class
TemporalTransformer
Transformer block for image-like data. First, project the input (aka embedding) and reshape to b, t, d. Then apply standard trans
tools/videocomposer/unet_sd.py:886
↓ 3 callers
Class
Config
utils/config.py:10
↓ 3 callers
Class
Downsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determ
tools/videocomposer/unet_sd.py:629
↓ 3 callers
Class
SpatialTransformer
Transformer block for image-like data. First, project the input (aka embedding) and reshape to b, t, d. Then apply standard trans
tools/videocomposer/unet_sd.py:289
↓ 3 callers
Class
UNetSD_temporal
tools/videocomposer/unet_sd.py:1134
↓ 3 callers
Class
Upsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determi
tools/videocomposer/unet_sd.py:476
↓ 2 callers
Class
AttentionBlock
artist/models/clip.py:75
↓ 2 callers
Class
AttentionBlock
artist/models/midas.py:57
↓ 2 callers
Class
AutoencoderKL
tools/videocomposer/autoencoder.py:486
↓ 2 callers
Class
BasicTransformerBlock
tools/videocomposer/unet_sd.py:407
↓ 2 callers
Class
CDCM
r""" Compact Dilation Convolution based Module
tools/annotator/sketch/pidinet.py:466
↓ 2 callers
Class
CSAM
r""" Compact Spatial Attention Module
tools/annotator/sketch/pidinet.py:444
↓ 2 callers
Class
CannyDetector
tools/annotator/canny/__init__.py:7
↓ 2 callers
Class
Conv2d
tools/annotator/sketch/pidinet.py:411
↓ 2 callers
Class
FeedForward
tools/videocomposer/unet_sd.py:457
↓ 2 callers
Class
ResidualBlock
artist/models/midas.py:125
↓ 2 callers
Class
VideoDataset
tools/videocomposer/datasets.py:170
↓ 1 callers
Class
Attention
tools/videocomposer/unet_sd.py:1731
↓ 1 callers
Class
CLIP
artist/models/clip.py:213
↓ 1 callers
Class
CenterCrop
tools/videocomposer/inference_single.py:187
↓ 1 callers
Class
CenterCrop
tools/videocomposer/inference_multi.py:187
↓ 1 callers
Class
Compose
artist/data/transforms.py:20
↓ 1 callers
Class
DPM_Solver
artist/ops/dpm_solver.py:508
↓ 1 callers
Class
Decoder
tools/videocomposer/autoencoder.py:377
↓ 1 callers
Class
DiagonalGaussianDistribution
tools/videocomposer/autoencoder.py:15
↓ 1 callers
Class
Downsample
tools/videocomposer/autoencoder.py:55
↓ 1 callers
Class
DropPath
r"""DropPath but without rescaling and supports optional all-zero and/or all-keep.
tools/videocomposer/unet_sd.py:1834
↓ 1 callers
Class
Encoder
tools/videocomposer/autoencoder.py:283
↓ 1 callers
Class
FlashAttentionBlock
tools/videocomposer/mha_flash.py:13
↓ 1 callers
Class
FrozenOpenCLIPEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_single.py:94
↓ 1 callers
Class
FrozenOpenCLIPEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_multi.py:94
↓ 1 callers
Class
FrozenOpenCLIPVisualEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_single.py:240
↓ 1 callers
Class
FrozenOpenCLIPVisualEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_multi.py:240
↓ 1 callers
Class
GEGLU
tools/videocomposer/unet_sd.py:440
↓ 1 callers
Class
MiDaS
r"""MiDaS v3.0 DPT-Large from ``https://github.com/isl-org/MiDaS''. Monocular depth estimation using dense prediction transformers.
artist/models/midas.py:162
↓ 1 callers
Class
NoiseScheduleVP
artist/ops/dpm_solver.py:19
↓ 1 callers
Class
PreNormattention
tools/videocomposer/unet_sd.py:1715
↓ 1 callers
Class
QuickGELU
artist/models/clip.py:20
↓ 1 callers
Class
RelativePositionBias
tools/videocomposer/unet_sd.py:249
↓ 1 callers
Class
Resample
tools/videocomposer/unet_sd.py:655
↓ 1 callers
Class
SelfAttention
artist/models/clip.py:31
↓ 1 callers
Class
SelfAttention
artist/models/midas.py:25
↓ 1 callers
Class
SimpleTokenizer
artist/data/tokenizers.py:63
↓ 1 callers
Class
TFSClient
artist/ops/utils.py:699
↓ 1 callers
Class
TemporalAttentionBlock
tools/videocomposer/unet_sd.py:768
↓ 1 callers
Class
TemporalConvBlock_v2
tools/videocomposer/unet_sd.py:1083
↓ 1 callers
Class
TextTransformer
artist/models/clip.py:157
↓ 1 callers
Class
Upsample
tools/videocomposer/autoencoder.py:244
↓ 1 callers
Class
VisionTransformer
artist/models/clip.py:97
Class
Adafactor
AdaFactor pytorch implementation can be used as a drop in replacement for Adam original fairseq code: https://github.com/pytorch/fairseq/blob
artist/optim/adafactor.py:8
Class
AddGaussianNoise
tools/videocomposer/inference_single.py:205
Class
AddGaussianNoise
tools/videocomposer/inference_multi.py:205
Class
AnnealingLR
artist/optim/lr_scheduler.py:6
Class
AttentionBlock
tools/videocomposer/unet_sd.py:716
Class
Attention_qkv
tools/videocomposer/unet_sd.py:1762
Class
BatchSampler
r"""An infinite batch sampler.
artist/data/samplers.py:11
Class
CLIPTokenizer
artist/data/tokenizers.py:136
Class
CenterCrop
artist/data/transforms.py:64
Class
CenterCropV2
artist/data/transforms.py:168
Class
ColorJitter
artist/data/transforms.py:279
Class
CrossAttention
tools/videocomposer/unet_sd.py:356
Class
DiffAllGather
r"""Differentiable all-gather.
artist/ops/distributed.py:299
Class
DiffAllReduce
r"""Differentiable all-reducd.
artist/ops/distributed.py:314
Class
DiffCopy
r"""Differentiable copy that reduces all gradients during backward.
artist/ops/distributed.py:344
Class
DiffScatter
r"""Differentiable scatter.
artist/ops/distributed.py:329
Class
ExtractResizeAssignCrop
artist/data/transforms.py:139
Class
ExtractResizeRandomCrop
artist/data/transforms.py:107
Class
GaussianBlur
artist/data/transforms.py:267
Class
GaussianDiffusion
artist/ops/diffusion.py:36
Class
GaussianDiffusion_style
artist/ops/diffusion.py:483
Class
GroupSampler
artist/data/samplers.py:40
Class
IdentityFirstStage
tools/videocomposer/autoencoder.py:612
Class
ImgGroupSampler
artist/data/samplers.py:79
Class
InitTemporalConvBlock
tools/videocomposer/unet_sd.py:1014
Class
MemoryEfficientCrossAttention
tools/videocomposer/unet_sd.py:201
Class
Normalize
artist/data/transforms.py:328
Class
PDCBlock
tools/annotator/sketch/pidinet.py:502
Class
PDCBlock_converted
r""" CPDC, APDC can be converted to vanilla 3x3 convolution RPDC can be converted to vanilla 5x5 convolution
tools/annotator/sketch/pidinet.py:527
Class
Palette
r"""Create a color palette (codebook) in the form of a 2D grid of colors. Further, the rightmost column has num_hues gradations from black to
tools/annotator/histogram/palette.py:20
Class
PostNormattention
tools/videocomposer/unet_sd.py:1802
Class
PreNormattention_qkv
tools/videocomposer/unet_sd.py:1723
Class
RandomCrop
artist/data/transforms.py:185
Class
RandomCropV2
artist/data/transforms.py:210
Class
RandomGray
artist/data/transforms.py:312
Class
RandomHFlip
artist/data/transforms.py:257
Class
Rescale
artist/data/transforms.py:51
Class
ResidualBlock
tools/videocomposer/unet_sd.py:672
Class
Resize
artist/data/transforms.py:39
Class
ResizeRandomCrop
artist/data/transforms.py:77
Class
TemporalConvBlock
tools/videocomposer/unet_sd.py:1046
next →
1–100 of 102, ranked by callers