MCPcopy Create free account

hub / github.com/chuanyangjin/fast-DiT / types & classes

Types & classes22 in github.com/chuanyangjin/fast-DiT

↓ 12 callersClassDiT
Diffusion model with a Transformer backbone.
models.py:145
↓ 12 callersClassDiT
Diffusion model with a Transformer backbone.
train_options/models_original.py:145
↓ 1 callersClassCustomDataset
train.py:97
↓ 1 callersClassCustomDataset
train_options/train_features.py:106
↓ 1 callersClassDiTBlock
A DiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
models.py:101
↓ 1 callersClassDiTBlock
A DiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
train_options/models_original.py:101
↓ 1 callersClassFinalLayer
The final layer of DiT.
models.py:125
↓ 1 callersClassFinalLayer
The final layer of DiT.
train_options/models_original.py:125
↓ 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.
train_options/models_original.py:67
↓ 1 callersClassLossSecondMomentResampler
diffusion/timestep_sampler.py:120
↓ 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 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
models.py:27
↓ 1 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
train_options/models_original.py:27
↓ 1 callersClassUniformSampler
diffusion/timestep_sampler.py:62
↓ 1 callersClass_WrappedModel
diffusion/respace.py:117
ClassLossAwareSampler
diffusion/timestep_sampler.py:71
ClassLossType
diffusion/gaussian_diffusion.py:46
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
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