MCPcopy Create free account

hub / github.com/JiangkaiWu/Promptus / types & classes

Types & classes174 in github.com/JiangkaiWu/Promptus

↓ 19 callersClassQParam
quantization.py:53
↓ 10 callersClassTimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
sgm/modules/diffusionmodules/openaimodel.py:66
↓ 8 callersClassResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels: t
sgm/modules/diffusionmodules/openaimodel.py:210
↓ 7 callersClassResnetBlock
sgm/modules/diffusionmodules/model.py:94
↓ 6 callersClassSamplingSpec
sgm/inference/api.py:80
↓ 5 callersClassLossBuilder
lossbuilder.py:6
↓ 5 callersClassNetLinLayer
A single linear layer which does a 1x1 conv
sgm/modules/autoencoding/lpips/loss/lpips.py:81
↓ 5 callersClassSpatialTransformer
Transformer block for image-like data. First, project the input (aka embedding) and reshape to b, t, d. Then apply standard transform
sgm/modules/attention.py:619
↓ 4 callersClassBasicTransformerBlock
sgm/modules/attention.py:456
↓ 4 callersClassFeedForward
sgm/modules/attention.py:97
↓ 3 callersClassDeepFloydDataFiltering
scripts/util/detection/nsfw_and_watermark_dectection.py:39
↓ 3 callersClassDownsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
sgm/modules/diffusionmodules/openaimodel.py:160
↓ 3 callersClassDownsample
sgm/modules/diffusionmodules/model.py:74
↓ 3 callersClassEngine
tensorrt_acceleration/utilities.py:82
↓ 3 callersClassLPIPS
sgm/modules/autoencoding/lpips/loss/lpips.py:12
↓ 3 callersClassMNISTDataDictWrapper
sgm/data/mnist.py:7
↓ 3 callersClassTimestep
sgm/modules/diffusionmodules/openaimodel.py:463
↓ 3 callersClassUpsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determinin
sgm/modules/diffusionmodules/openaimodel.py:107
↓ 3 callersClassUpsample
sgm/modules/diffusionmodules/model.py:58
↓ 3 callersClassVideoTransformerBlock
sgm/modules/video_attention.py:15
↓ 2 callersClassAlphaBlender
sgm/modules/diffusionmodules/util.py:312
↓ 2 callersClassCIFAR10DataDictWrapper
sgm/data/cifar10.py:7
↓ 2 callersClassDPMPP2MSampler
sgm/modules/diffusionmodules/sampling.py:287
↓ 2 callersClassDPMPP2SAncestralSampler
sgm/modules/diffusionmodules/sampling.py:247
↓ 2 callersClassEulerAncestralSampler
sgm/modules/diffusionmodules/sampling.py:237
↓ 2 callersClassEulerEDMSampler
sgm/modules/diffusionmodules/sampling.py:211
↓ 2 callersClassHeunEDMSampler
sgm/modules/diffusionmodules/sampling.py:218
↓ 2 callersClassLinearMultistepSampler
sgm/modules/diffusionmodules/sampling.py:173
↓ 2 callersClassLitEma
sgm/modules/ema.py:5
↓ 2 callersClassQKVAttention
A module which performs QKV attention and splits in a different order.
sgm/modules/diffusionmodules/openaimodel.py:433
↓ 1 callersClassAttnBlock
sgm/modules/diffusionmodules/model.py:161
↓ 1 callersClassDiagonalGaussianDistribution
sgm/modules/distributions/distributions.py:24
↓ 1 callersClassDiagonalGaussianRegularizer
sgm/modules/autoencoding/regularizers/__init__.py:13
↓ 1 callersClassEmbeddingEMA
sgm/modules/autoencoding/regularizers/quantize.py:323
↓ 1 callersClassFrozenCLIPEmbedder
Uses the CLIP transformer encoder for text (from huggingface)
sgm/modules/encoders/modules.py:331
↓ 1 callersClassFrozenT5Embedder
Uses the T5 transformer encoder for text
sgm/modules/encoders/modules.py:249
↓ 1 callersClassGEGLU
sgm/modules/attention.py:87
↓ 1 callersClassGenerator
realtime_demo.py:15
↓ 1 callersClassGetWatermarkMatch
scripts/demo/detect.py:77
↓ 1 callersClassGroupNorm32
sgm/modules/diffusionmodules/util.py:274
↓ 1 callersClassImg2ImgDiscretizationWrapper
wraps a discretizer, and prunes the sigmas params: strength: float between 0.0 and 1.0. 1.0 means full sampling (all sigmas are retur
scripts/demo/discretization.py:6
↓ 1 callersClassImg2ImgDiscretizationWrapper
wraps a discretizer, and prunes the sigmas params: strength: float between 0.0 and 1.0. 1.0 means full sampling (all sigmas are retur
sgm/inference/helpers.py:77
↓ 1 callersClassLinAttnBlock
to match AttnBlock usage
sgm/modules/diffusionmodules/model.py:154
↓ 1 callersClassMemoryEfficientAttnBlock
Uses xformers efficient implementation, see https://github.com/MatthieuTPHR/diffusers/blob/d80b531ff8060ec1ea982b65a1b8df70f73aa67c/src/diffu
sgm/modules/diffusionmodules/model.py:204
↓ 1 callersClassMemoryEfficientCrossAttentionWrapper
sgm/modules/diffusionmodules/model.py:268
↓ 1 callersClassQKVAttentionLegacy
A module which performs QKV attention. Matches legacy QKVAttention + input/ouput heads shaping
sgm/modules/diffusionmodules/openaimodel.py:405
↓ 1 callersClassScalingLayer
sgm/modules/autoencoding/lpips/loss/lpips.py:67
↓ 1 callersClassSeededNoise
inversion.py:57
↓ 1 callersClassSeededNoise
generation.py:61
↓ 1 callersClassSeededNoise
scripts/demo/turbo.py:53
↓ 1 callersClassSeededNoise
scripts/demo/turbo_demo.py:61
↓ 1 callersClassSpatialVideoTransformer
sgm/modules/video_attention.py:146
↓ 1 callersClassSubstepSampler
inversion.py:31
↓ 1 callersClassSubstepSampler
generation.py:35
↓ 1 callersClassSubstepSampler
scripts/demo/turbo.py:27
↓ 1 callersClassSubstepSampler
scripts/demo/turbo_demo.py:35
↓ 1 callersClassTxt2NoisyDiscretizationWrapper
wraps a discretizer, and prunes the sigmas params: strength: float between 0.0 and 1.0. 0.0 means full sampling (all sigmas are retur
scripts/demo/discretization.py:30
↓ 1 callersClassVideoResBlock
sgm/modules/diffusionmodules/video_model.py:12
↓ 1 callersClassWatermarkDecoder
A minimal version of https://github.com/ShieldMnt/invisible-watermark/blob/main/imwatermark/watermark.py to only reconstruct b
scripts/demo/detect.py:21
↓ 1 callersClassWatermarkEmbedder
sgm/inference/helpers.py:16
↓ 1 callersClassvgg16
sgm/modules/autoencoding/lpips/loss/lpips.py:99
ClassAE3DConv
sgm/modules/autoencoding/temporal_ae.py:86
ClassAEIntegerWrapper
sgm/models/autoencoder.py:567
ClassAbstractAutoencoder
This is the base class for all autoencoders, including image autoencoders, image autoencoders with discriminators, unCLIP models, etc. Hence,
sgm/models/autoencoder.py:22
ClassAbstractDistribution
sgm/modules/distributions/distributions.py:5
ClassAbstractEmbModel
sgm/modules/encoders/modules.py:27
ClassAbstractQuantizer
sgm/modules/autoencoding/regularizers/quantize.py:17
ClassAbstractRegularizer
sgm/modules/autoencoding/regularizers/base.py:9
ClassActNorm
sgm/modules/autoencoding/lpips/util.py:45
ClassAncestralSampler
sgm/modules/diffusionmodules/sampling.py:133
ClassAttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. https
sgm/modules/diffusionmodules/openaimodel.py:357
ClassAttentionPool2d
Adapted from CLIP: https://github.com/openai/CLIP/blob/main/clip/model.py
sgm/modules/diffusionmodules/openaimodel.py:22
ClassAutoencoderKL
sgm/models/autoencoder.py:508
ClassAutoencoderKLModeOnly
sgm/models/autoencoder.py:606
ClassAutoencoderLegacyVQ
sgm/models/autoencoder.py:523
ClassAutoencodingEngine
Base class for all image autoencoders that we train, like VQGAN or AutoencoderKL (we also restore them explicitly as special cases for legacy
sgm/models/autoencoder.py:102
ClassAutoencodingEngineLegacy
sgm/models/autoencoder.py:437
ClassBaseDiffusionSampler
sgm/modules/diffusionmodules/sampling.py:21
ClassBasicTransformerSingleLayerBlock
sgm/modules/attention.py:575
ClassCIFAR10Loader
sgm/data/cifar10.py:20
ClassCheckpointFunction
sgm/modules/diffusionmodules/util.py:171
ClassClassEmbedder
sgm/modules/encoders/modules.py:215
ClassClassEmbedderForMultiCond
sgm/modules/encoders/modules.py:237
ClassConcatTimestepEmbedderND
embeds each dimension independently and concatenates them
sgm/modules/encoders/modules.py:922
ClassConv2DWrapper
sgm/modules/autoencoding/temporal_ae.py:288
ClassCrossAttention
sgm/modules/attention.py:255
ClassDecoder
sgm/modules/diffusionmodules/model.py:604
ClassDenoiser
sgm/modules/diffusionmodules/denoiser.py:11
ClassDenoiserScaling
sgm/modules/diffusionmodules/denoiser_scaling.py:7
ClassDiffusionEngine
sgm/models/diffusion.py:19
ClassDiffusionLossWeighting
sgm/modules/diffusionmodules/loss_weighting.py:6
ClassDiracDistribution
sgm/modules/distributions/distributions.py:13
ClassDiscreteDenoiser
sgm/modules/diffusionmodules/denoiser.py:42
ClassDiscreteSampling
sgm/modules/diffusionmodules/sigma_sampling.py:16
ClassDiscretization
sgm/modules/diffusionmodules/discretizer.py:17
ClassDiscretization
sgm/inference/api.py:37
ClassEDMDiscretization
sgm/modules/diffusionmodules/discretizer.py:28
ClassEDMSampler
sgm/modules/diffusionmodules/sampling.py:82
ClassEDMSampling
sgm/modules/diffusionmodules/sigma_sampling.py:6
ClassEDMScaling
sgm/modules/diffusionmodules/denoiser_scaling.py:15
next →1–100 of 174, ranked by callers