MCPcopy Create free account

hub / github.com/YuchuanTian/DiC / types & classes

Types & classes36 in github.com/YuchuanTian/DiC

↓ 12 callersClassDiT
Diffusion model with a Transformer backbone.
models.py:145
↓ 3 callersClassFIDStatistics
evaluator.py:67
↓ 3 callersClassU_Block
dic_models.py:329
↓ 2 callersClassCustomDataset
utils/fastdit_kit.py:21
↓ 2 callersClassGroupNorm
dic_models.py:32
↓ 1 callersClassBatchIterator
evaluator.py:455
↓ 1 callersClassDiTBlock
A DiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
models.py:101
↓ 1 callersClassDistanceBlock
Calculate pairwise distances between vectors. Adapted from https://github.com/kynkaat/improved-precision-and-recall-metric/blob/f60f25e5ad93
evaluator.py:362
↓ 1 callersClassDownsample
dic_models.py:218
↓ 1 callersClassEvaluator
evaluator.py:118
↓ 1 callersClassFinalLayer
The final layer of DiT.
models.py:125
↓ 1 callersClassFinalLayer
The final layer of DiT.
dic_models.py:187
↓ 1 callersClassGaussianDiffusion
Utilities for training and sampling diffusion models. Original ported from this codebase: https://github.com/hojonathanho/diffusion/blob/
diffusion/gaussian_diffusion.py:144
↓ 1 callersClassLabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
models.py:67
↓ 1 callersClassLabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
dic_models.py:158
↓ 1 callersClassLayerNorm2d
dic_models.py:22
↓ 1 callersClassLossSecondMomentResampler
diffusion/timestep_sampler.py:120
↓ 1 callersClassManifoldEstimator
A helper for comparing manifolds of feature vectors. Adapted from https://github.com/kynkaat/improved-precision-and-recall-metric/blob/f60f2
evaluator.py:205
↓ 1 callersClassOverlapPatchEmbed
dic_models.py:206
↓ 1 callersClassSpacedDiffusion
A diffusion process which can skip steps in a base diffusion process. :param use_timesteps: a collection (sequence or set) of timesteps from
diffusion/respace.py:65
↓ 1 callersClassStreamingNpzArrayReader
evaluator.py:467
↓ 1 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
models.py:27
↓ 1 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
dic_models.py:118
↓ 1 callersClassUNetBlock
dic_models.py:240
↓ 1 callersClassUniformSampler
diffusion/timestep_sampler.py:62
↓ 1 callersClassUpsample
dic_models.py:228
↓ 1 callersClass_WrappedModel
diffusion/respace.py:117
ClassDiC
DIFFUSION CONVOLUTION MODEL: DiC.
dic_models.py:338
ClassInvalidFIDException
evaluator.py:63
ClassLossAwareSampler
diffusion/timestep_sampler.py:71
ClassLossType
diffusion/gaussian_diffusion.py:46
ClassMemoryNpzArrayReader
evaluator.py:493
ClassModelMeanType
Which type of output the model predicts.
diffusion/gaussian_diffusion.py:23
ClassModelVarType
What is used as the model's output variance. The LEARNED_RANGE option has been added to allow the model to predict values between FIXED_S
diffusion/gaussian_diffusion.py:33
ClassNpzArrayReader
evaluator.py:433
ClassScheduleSampler
A distribution over timesteps in the diffusion process, intended to reduce variance of the objective. By default, samplers perform unbias
diffusion/timestep_sampler.py:27