MCPcopy Index your code

hub / github.com/LuChengTHU/dpm-solver / types & classes

Types & classes286 in github.com/LuChengTHU/dpm-solver

↓ 37 callersClassResnetBlock
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:82
↓ 32 callersClassResidualBlock
examples/score_sde_pytorch/models/layers.py:453
↓ 30 callersClassResidualBlock
The residual block for defining the ResNet backbone. Used in NCSNv2.
examples/score_sde_jax/models/layers.py:354
↓ 15 callersClassRefineBlock
examples/score_sde_pytorch/models/layers.py:277
↓ 15 callersClassRefineBlock
RefineBlock for building NCSNv2 RefineNet.
examples/score_sde_jax/models/layers.py:237
↓ 10 callersClassConditionalResidualBlock
examples/score_sde_pytorch/models/layers.py:397
↓ 10 callersClassNIN
examples/score_sde_pytorch/models/layers.py:546
↓ 10 callersClassNIN
examples/score_sde_jax/models/layers.py:467
↓ 10 callersClassResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels:
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:143
↓ 10 callersClassResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels: t
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:163
↓ 9 callersClassTimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:66
↓ 9 callersClassTimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:74
↓ 7 callersClassDDIMSampler
examples/stable-diffusion/ldm/models/diffusion/ddim.py:12
↓ 6 callersClassAttnBlock
Channel-wise self-attention block.
examples/score_sde_pytorch/models/layers.py:558
↓ 6 callersClassAttnBlock
Channel-wise self-attention block.
examples/score_sde_jax/models/layers.py:496
↓ 5 callersClassAttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. http
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:259
↓ 5 callersClassAttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. https
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:278
↓ 5 callersClassSiLU
examples/ddpm_and_guided-diffusion/models/improved_ddpm/nn.py:12
↓ 5 callersClassTimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:35
↓ 4 callersClassCondRefineBlock
examples/score_sde_pytorch/models/layers.py:313
↓ 4 callersClassCondRefineBlock
Noise-conditional RefineBlock for building NCSNv1 RefineNet.
examples/score_sde_jax/models/layers.py:271
↓ 4 callersClassConvMeanPool
ConvMeanPool for building the ResNet backbone.
examples/score_sde_jax/models/layers.py:312
↓ 4 callersClassDecoder
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:462
↓ 4 callersClassDownsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determin
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:113
↓ 4 callersClassDownsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:134
↓ 4 callersClassFIDInceptionC
InceptionC block patched for FID computation
examples/ddpm_and_guided-diffusion/evaluate/inception.py:236
↓ 4 callersClassResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels:
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:107
↓ 4 callersClassResnetBlock
examples/ddpm_and_guided-diffusion/models/diffusion.py:77
↓ 4 callersClassUpsample
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:42
↓ 3 callersClassAttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. http
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:200
↓ 3 callersClassAttnBlock
examples/ddpm_and_guided-diffusion/models/diffusion.py:137
↓ 3 callersClassCelebA
`Large-scale CelebFaces Attributes (CelebA) Dataset <http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html>`_ Dataset. Args: root (string): Ro
examples/ddpm_and_guided-diffusion/datasets/celeba.py:8
↓ 3 callersClassCrop
examples/ddpm_and_guided-diffusion/datasets/__init__.py:14
↓ 3 callersClassDPM_Solver
examples/stable-diffusion/ldm/models/diffusion/dpm_solver/dpm_solver.py:345
↓ 3 callersClassDownsample
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:60
↓ 3 callersClassEncoder
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:368
↓ 3 callersClassFIDInceptionA
InceptionA block patched for FID computation
examples/ddpm_and_guided-diffusion/evaluate/inception.py:211
↓ 3 callersClassLSUN
`LSUN <https://www.yf.io/p/lsun>`_ dataset. Args: root (string): Root directory for the database files. classes (string or l
examples/ddpm_and_guided-diffusion/datasets/lsun.py:61
↓ 3 callersClassLatentRescaler
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:655
↓ 3 callersClassPLMSSampler
examples/stable-diffusion/ldm/models/diffusion/plms.py:11
↓ 3 callersClassSpatialTransformer
Transformer block for image-like data. First, project the input (aka embedding) and reshape to b, t, d. Then apply standard transform
examples/stable-diffusion/ldm/modules/attention.py:218
↓ 3 callersClassUpsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:81
↓ 3 callersClassUpsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determinin
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:91
↓ 3 callersClassWideResnetGroup
Defines a WideResnetGroup.
examples/score_sde_jax/models/wideresnet_noise_conditional.py:281
↓ 2 callersClassAttention
examples/stable-diffusion/ldm/modules/x_transformer.py:215
↓ 2 callersClassAttnBlock
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:150
↓ 2 callersClassCondRCUBlock
examples/score_sde_pytorch/models/layers.py:207
↓ 2 callersClassConvMeanPool
examples/score_sde_pytorch/models/layers.py:351
↓ 2 callersClassCrossAttention
examples/stable-diffusion/ldm/modules/attention.py:152
↓ 2 callersClassDownsample
examples/score_sde_pytorch/models/layers.py:599
↓ 2 callersClassDownsample
examples/score_sde_jax/models/layers.py:529
↓ 2 callersClassEMAHelper
examples/ddpm_and_guided-diffusion/models/ema.py:4
↓ 2 callersClassEncoder
examples/stable-diffusion/ldm/modules/x_transformer.py:541
↓ 2 callersClassExponentialMovingAverage
Maintains (exponential) moving average of a set of parameters.
examples/score_sde_pytorch/models/ema.py:10
↓ 2 callersClassFFHQ
examples/ddpm_and_guided-diffusion/datasets/ffhq.py:8
↓ 2 callersClassHumanOutputFormat
examples/ddpm_and_guided-diffusion/models/guided_diffusion/logger.py:36
↓ 2 callersClassLitEma
examples/stable-diffusion/ldm/modules/ema.py:5
↓ 2 callersClassModel
examples/ddpm_and_guided-diffusion/models/diffusion.py:192
↓ 2 callersClassNoneCorrector
An empty corrector that does nothing.
examples/score_sde_jax/sampling.py:359
↓ 2 callersClassNonePredictor
An empty predictor that does nothing.
examples/score_sde_jax/sampling.py:267
↓ 2 callersClassQKVAttention
A module which performs QKV attention and splits in a different order.
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:361
↓ 2 callersClassQKVAttention
A module which performs QKV attention and splits in a different order.
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:379
↓ 2 callersClassRCUBlock
examples/score_sde_pytorch/models/layers.py:183
↓ 2 callersClassTransformerWrapper
examples/stable-diffusion/ldm/modules/x_transformer.py:548
↓ 2 callersClassUpsample
examples/score_sde_pytorch/models/layers.py:584
↓ 2 callersClassUpsample
examples/score_sde_jax/models/layers.py:517
↓ 1 callersClassAbsolutePositionalEmbedding
examples/stable-diffusion/ldm/modules/x_transformer.py:25
↓ 1 callersClassAttentionPool2d
Adapted from CLIP: https://github.com/openai/CLIP/blob/main/clip/model.py
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:22
↓ 1 callersClassAttentionPool2d
Adapted from CLIP: https://github.com/openai/CLIP/blob/main/clip/model.py
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:32
↓ 1 callersClassBERTTokenizer
Uses a pretrained BERT tokenizer by huggingface. Vocab size: 30522 (?)
examples/stable-diffusion/ldm/modules/encoders/modules.py:53
↓ 1 callersClassBasicTransformerBlock
examples/stable-diffusion/ldm/modules/attention.py:196
↓ 1 callersClassCRPBlock
examples/score_sde_pytorch/models/layers.py:133
↓ 1 callersClassCSVOutputFormat
examples/ddpm_and_guided-diffusion/models/guided_diffusion/logger.py:113
↓ 1 callersClassCondCRPBlock
examples/score_sde_pytorch/models/layers.py:157
↓ 1 callersClassCondMSFBlock
examples/score_sde_pytorch/models/layers.py:253
↓ 1 callersClassDPMSolverSampler
examples/stable-diffusion/ldm/models/diffusion/dpm_solver/sampler.py:8
↓ 1 callersClassDPM_Solver
examples/ddpm_and_guided-diffusion/dpm_solver/sampler.py:337
↓ 1 callersClassDPM_Solver
examples/score_sde_pytorch/dpm_solver.py:345
↓ 1 callersClassDPM_Solver
examples/score_sde_jax/dpm_solver.py:350
↓ 1 callersClassDiagonalGaussianDistribution
examples/stable-diffusion/ldm/modules/distributions/distributions.py:24
↓ 1 callersClassDiffusion
examples/ddpm_and_guided-diffusion/runners/diffusion.py:119
↓ 1 callersClassDiffusionWrapper
examples/stable-diffusion/ldm/models/diffusion/ddpm.py:1395
↓ 1 callersClassDownsample
examples/ddpm_and_guided-diffusion/models/diffusion.py:55
↓ 1 callersClassDownsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determin
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:81
↓ 1 callersClassEvalMeta
examples/score_sde_jax/run_lib.py:316
↓ 1 callersClassFIDInceptionE_1
First InceptionE block patched for FID computation
examples/ddpm_and_guided-diffusion/evaluate/inception.py:264
↓ 1 callersClassFIDInceptionE_2
Second InceptionE block patched for FID computation
examples/ddpm_and_guided-diffusion/evaluate/inception.py:297
↓ 1 callersClassFeedForward
examples/stable-diffusion/ldm/modules/x_transformer.py:194
↓ 1 callersClassFeedForward
examples/stable-diffusion/ldm/modules/attention.py:47
↓ 1 callersClassFixedPositionalEmbedding
examples/stable-diffusion/ldm/modules/x_transformer.py:39
↓ 1 callersClassFrozenCLIPEmbedder
Uses the CLIP transformer encoder for text (from Hugging Face)
examples/stable-diffusion/ldm/modules/encoders/modules.py:137
↓ 1 callersClassFrozenCLIPTextEmbedder
Uses the CLIP transformer encoder for text.
examples/stable-diffusion/ldm/modules/encoders/modules.py:165
↓ 1 callersClassFrozenClipImageEmbedder
Uses the CLIP image encoder.
examples/stable-diffusion/ldm/modules/encoders/modules.py:197
↓ 1 callersClassGEGLU
examples/stable-diffusion/ldm/modules/x_transformer.py:184
↓ 1 callersClassGEGLU
examples/stable-diffusion/ldm/modules/attention.py:37
↓ 1 callersClassGRUGating
examples/stable-diffusion/ldm/modules/x_transformer.py:168
↓ 1 callersClassGaussianFourierProjection
Gaussian Fourier embeddings for noise levels.
examples/score_sde_jax/models/wideresnet_noise_conditional.py:229
↓ 1 callersClassGroupNorm32
examples/ddpm_and_guided-diffusion/models/guided_diffusion/nn.py:17
↓ 1 callersClassGroupNorm32
examples/ddpm_and_guided-diffusion/models/improved_ddpm/nn.py:17
↓ 1 callersClassGroupNorm32
examples/stable-diffusion/ldm/modules/diffusionmodules/util.py:214
next →1–100 of 286, ranked by callers