Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LTH14/mar
/ types & classes
Types & classes
25 in github.com/LTH14/mar
⨍
Functions
149
◇
Types & classes
25
↓ 6 callers
Class
ResnetBlock
models/vae.py:55
↓ 4 callers
Class
AttnBlock
models/vae.py:115
↓ 3 callers
Class
MAR
Masked Autoencoder with VisionTransformer backbone
models/mar.py:22
↓ 2 callers
Class
AutoencoderKL
models/vae.py:450
↓ 2 callers
Class
DiagonalGaussianDistribution
models/vae.py:399
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
util/misc.py:20
↓ 1 callers
Class
CachedFolder
util/loader.py:29
↓ 1 callers
Class
Decoder
models/vae.py:275
↓ 1 callers
Class
DiffLoss
Diffusion Loss
models/diffloss.py:9
↓ 1 callers
Class
Downsample
models/vae.py:35
↓ 1 callers
Class
Encoder
models/vae.py:161
↓ 1 callers
Class
FinalLayer
The final layer adopted from DiT.
models/diffloss.py:131
↓ 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
ImageFolderWithFilename
util/loader.py:8
↓ 1 callers
Class
ResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels.
models/diffloss.py:99
↓ 1 callers
Class
SimpleMLPAdaLN
The MLP for Diffusion Loss. :param in_channels: channels in the input Tensor. :param model_channels: base channel count for the model.
models/diffloss.py:151
↓ 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
TimestepEmbedder
Embeds scalar timesteps into vector representations.
models/diffloss.py:59
↓ 1 callers
Class
Upsample
models/vae.py:19
↓ 1 callers
Class
_WrappedModel
diffusion/respace.py:117
Class
LossType
diffusion/gaussian_diffusion.py:46
Class
MetricLogger
util/misc.py:82
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
NativeScalerWithGradNormCount
util/misc.py:247