MCPcopy Create free account

hub / github.com/ali-vilab/videocomposer / types & classes

Types & classes102 in github.com/ali-vilab/videocomposer

↓ 7 callersClassTransformer_v2
tools/videocomposer/unet_sd.py:1811
↓ 6 callersClassResnetBlock
tools/videocomposer/autoencoder.py:76
↓ 5 callersClassLayerNorm
r"""Subclass of nn.LayerNorm to handle fp16.
artist/models/clip.py:25
↓ 5 callersClassPiDiNet
tools/annotator/sketch/pidinet.py:557
↓ 4 callersClassAttnBlock
tools/videocomposer/autoencoder.py:138
↓ 4 callersClassFusionBlock
artist/models/midas.py:141
↓ 4 callersClassMapReduce
r""" Reduce feature maps into a single edge map
tools/annotator/sketch/pidinet.py:490
↓ 4 callersClassResBlock
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 callersClassSketchSimplification
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 callersClassTemporalAttentionMultiBlock
tools/videocomposer/unet_sd.py:985
↓ 4 callersClassTemporalTransformer
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 callersClassConfig
utils/config.py:10
↓ 3 callersClassDownsample
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 callersClassSpatialTransformer
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 callersClassUNetSD_temporal
tools/videocomposer/unet_sd.py:1134
↓ 3 callersClassUpsample
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 callersClassAttentionBlock
artist/models/clip.py:75
↓ 2 callersClassAttentionBlock
artist/models/midas.py:57
↓ 2 callersClassAutoencoderKL
tools/videocomposer/autoencoder.py:486
↓ 2 callersClassBasicTransformerBlock
tools/videocomposer/unet_sd.py:407
↓ 2 callersClassCDCM
r""" Compact Dilation Convolution based Module
tools/annotator/sketch/pidinet.py:466
↓ 2 callersClassCSAM
r""" Compact Spatial Attention Module
tools/annotator/sketch/pidinet.py:444
↓ 2 callersClassCannyDetector
tools/annotator/canny/__init__.py:7
↓ 2 callersClassConv2d
tools/annotator/sketch/pidinet.py:411
↓ 2 callersClassFeedForward
tools/videocomposer/unet_sd.py:457
↓ 2 callersClassResidualBlock
artist/models/midas.py:125
↓ 2 callersClassVideoDataset
tools/videocomposer/datasets.py:170
↓ 1 callersClassAttention
tools/videocomposer/unet_sd.py:1731
↓ 1 callersClassCLIP
artist/models/clip.py:213
↓ 1 callersClassCenterCrop
tools/videocomposer/inference_single.py:187
↓ 1 callersClassCenterCrop
tools/videocomposer/inference_multi.py:187
↓ 1 callersClassCompose
artist/data/transforms.py:20
↓ 1 callersClassDPM_Solver
artist/ops/dpm_solver.py:508
↓ 1 callersClassDecoder
tools/videocomposer/autoencoder.py:377
↓ 1 callersClassDiagonalGaussianDistribution
tools/videocomposer/autoencoder.py:15
↓ 1 callersClassDownsample
tools/videocomposer/autoencoder.py:55
↓ 1 callersClassDropPath
r"""DropPath but without rescaling and supports optional all-zero and/or all-keep.
tools/videocomposer/unet_sd.py:1834
↓ 1 callersClassEncoder
tools/videocomposer/autoencoder.py:283
↓ 1 callersClassFlashAttentionBlock
tools/videocomposer/mha_flash.py:13
↓ 1 callersClassFrozenOpenCLIPEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_single.py:94
↓ 1 callersClassFrozenOpenCLIPEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_multi.py:94
↓ 1 callersClassFrozenOpenCLIPVisualEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_single.py:240
↓ 1 callersClassFrozenOpenCLIPVisualEmbedder
Uses the OpenCLIP transformer encoder for text
tools/videocomposer/inference_multi.py:240
↓ 1 callersClassGEGLU
tools/videocomposer/unet_sd.py:440
↓ 1 callersClassMiDaS
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 callersClassNoiseScheduleVP
artist/ops/dpm_solver.py:19
↓ 1 callersClassPreNormattention
tools/videocomposer/unet_sd.py:1715
↓ 1 callersClassQuickGELU
artist/models/clip.py:20
↓ 1 callersClassRelativePositionBias
tools/videocomposer/unet_sd.py:249
↓ 1 callersClassResample
tools/videocomposer/unet_sd.py:655
↓ 1 callersClassSelfAttention
artist/models/clip.py:31
↓ 1 callersClassSelfAttention
artist/models/midas.py:25
↓ 1 callersClassSimpleTokenizer
artist/data/tokenizers.py:63
↓ 1 callersClassTFSClient
artist/ops/utils.py:699
↓ 1 callersClassTemporalAttentionBlock
tools/videocomposer/unet_sd.py:768
↓ 1 callersClassTemporalConvBlock_v2
tools/videocomposer/unet_sd.py:1083
↓ 1 callersClassTextTransformer
artist/models/clip.py:157
↓ 1 callersClassUpsample
tools/videocomposer/autoencoder.py:244
↓ 1 callersClassVisionTransformer
artist/models/clip.py:97
ClassAdafactor
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
ClassAddGaussianNoise
tools/videocomposer/inference_single.py:205
ClassAddGaussianNoise
tools/videocomposer/inference_multi.py:205
ClassAnnealingLR
artist/optim/lr_scheduler.py:6
ClassAttentionBlock
tools/videocomposer/unet_sd.py:716
ClassAttention_qkv
tools/videocomposer/unet_sd.py:1762
ClassBatchSampler
r"""An infinite batch sampler.
artist/data/samplers.py:11
ClassCLIPTokenizer
artist/data/tokenizers.py:136
ClassCenterCrop
artist/data/transforms.py:64
ClassCenterCropV2
artist/data/transforms.py:168
ClassColorJitter
artist/data/transforms.py:279
ClassCrossAttention
tools/videocomposer/unet_sd.py:356
ClassDiffAllGather
r"""Differentiable all-gather.
artist/ops/distributed.py:299
ClassDiffAllReduce
r"""Differentiable all-reducd.
artist/ops/distributed.py:314
ClassDiffCopy
r"""Differentiable copy that reduces all gradients during backward.
artist/ops/distributed.py:344
ClassDiffScatter
r"""Differentiable scatter.
artist/ops/distributed.py:329
ClassExtractResizeAssignCrop
artist/data/transforms.py:139
ClassExtractResizeRandomCrop
artist/data/transforms.py:107
ClassGaussianBlur
artist/data/transforms.py:267
ClassGaussianDiffusion
artist/ops/diffusion.py:36
ClassGaussianDiffusion_style
artist/ops/diffusion.py:483
ClassGroupSampler
artist/data/samplers.py:40
ClassIdentityFirstStage
tools/videocomposer/autoencoder.py:612
ClassImgGroupSampler
artist/data/samplers.py:79
ClassInitTemporalConvBlock
tools/videocomposer/unet_sd.py:1014
ClassMemoryEfficientCrossAttention
tools/videocomposer/unet_sd.py:201
ClassNormalize
artist/data/transforms.py:328
ClassPDCBlock
tools/annotator/sketch/pidinet.py:502
ClassPDCBlock_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
ClassPalette
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
ClassPostNormattention
tools/videocomposer/unet_sd.py:1802
ClassPreNormattention_qkv
tools/videocomposer/unet_sd.py:1723
ClassRandomCrop
artist/data/transforms.py:185
ClassRandomCropV2
artist/data/transforms.py:210
ClassRandomGray
artist/data/transforms.py:312
ClassRandomHFlip
artist/data/transforms.py:257
ClassRescale
artist/data/transforms.py:51
ClassResidualBlock
tools/videocomposer/unet_sd.py:672
ClassResize
artist/data/transforms.py:39
ClassResizeRandomCrop
artist/data/transforms.py:77
ClassTemporalConvBlock
tools/videocomposer/unet_sd.py:1046
next →1–100 of 102, ranked by callers