Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YuchuanTian/DiC
/ types & classes
Types & classes
36 in github.com/YuchuanTian/DiC
⨍
Functions
186
◇
Types & classes
36
↓ 12 callers
Class
DiT
Diffusion model with a Transformer backbone.
models.py:145
↓ 3 callers
Class
FIDStatistics
evaluator.py:67
↓ 3 callers
Class
U_Block
dic_models.py:329
↓ 2 callers
Class
CustomDataset
utils/fastdit_kit.py:21
↓ 2 callers
Class
GroupNorm
dic_models.py:32
↓ 1 callers
Class
BatchIterator
evaluator.py:455
↓ 1 callers
Class
DiTBlock
A DiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
models.py:101
↓ 1 callers
Class
DistanceBlock
Calculate pairwise distances between vectors. Adapted from https://github.com/kynkaat/improved-precision-and-recall-metric/blob/f60f25e5ad93
evaluator.py:362
↓ 1 callers
Class
Downsample
dic_models.py:218
↓ 1 callers
Class
Evaluator
evaluator.py:118
↓ 1 callers
Class
FinalLayer
The final layer of DiT.
models.py:125
↓ 1 callers
Class
FinalLayer
The final layer of DiT.
dic_models.py:187
↓ 1 callers
Class
GaussianDiffusion
Utilities for training and sampling diffusion models. Original ported from this codebase: https://github.com/hojonathanho/diffusion/blob/
diffusion/gaussian_diffusion.py:144
↓ 1 callers
Class
LabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
models.py:67
↓ 1 callers
Class
LabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
dic_models.py:158
↓ 1 callers
Class
LayerNorm2d
dic_models.py:22
↓ 1 callers
Class
LossSecondMomentResampler
diffusion/timestep_sampler.py:120
↓ 1 callers
Class
ManifoldEstimator
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 callers
Class
OverlapPatchEmbed
dic_models.py:206
↓ 1 callers
Class
SpacedDiffusion
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 callers
Class
StreamingNpzArrayReader
evaluator.py:467
↓ 1 callers
Class
TimestepEmbedder
Embeds scalar timesteps into vector representations.
models.py:27
↓ 1 callers
Class
TimestepEmbedder
Embeds scalar timesteps into vector representations.
dic_models.py:118
↓ 1 callers
Class
UNetBlock
dic_models.py:240
↓ 1 callers
Class
UniformSampler
diffusion/timestep_sampler.py:62
↓ 1 callers
Class
Upsample
dic_models.py:228
↓ 1 callers
Class
_WrappedModel
diffusion/respace.py:117
Class
DiC
DIFFUSION CONVOLUTION MODEL: DiC.
dic_models.py:338
Class
InvalidFIDException
evaluator.py:63
Class
LossAwareSampler
diffusion/timestep_sampler.py:71
Class
LossType
diffusion/gaussian_diffusion.py:46
Class
MemoryNpzArrayReader
evaluator.py:493
Class
ModelMeanType
Which type of output the model predicts.
diffusion/gaussian_diffusion.py:23
Class
ModelVarType
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
Class
NpzArrayReader
evaluator.py:433
Class
ScheduleSampler
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