MCPcopy Create free account

hub / github.com/cientgu/VQ-Diffusion / types & classes

Types & classes107 in github.com/cientgu/VQ-Diffusion

↓ 18 callersClassResnetBlock
image_synthesis/taming/modules/diffusionmodules/model.py:78
↓ 10 callersClassAttnBlock
image_synthesis/taming/modules/diffusionmodules/model.py:140
↓ 5 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
image_synthesis/modeling/modules/clip/model.py:152
↓ 5 callersClassNetLinLayer
A single linear layer which does a 1x1 conv
image_synthesis/taming/modules/losses/lpips.py:65
↓ 5 callersClassUpsample
image_synthesis/taming/modules/diffusionmodules/model.py:38
↓ 3 callersClassAdaLayerNorm
image_synthesis/modeling/transformers/transformer_utils.py:136
↓ 3 callersClassBlock
an unassuming Transformer block
image_synthesis/modeling/transformers/transformer_utils.py:170
↓ 3 callersClassDecoder
image_synthesis/modeling/codecs/image_codec/taming_gumbel_vqvae.py:32
↓ 3 callersClassDownsample
image_synthesis/taming/modules/diffusionmodules/model.py:56
↓ 3 callersClassEncoder
image_synthesis/modeling/codecs/image_codec/taming_gumbel_vqvae.py:17
↓ 2 callersClassBlock
an unassuming Transformer block
image_synthesis/taming/modules/transformer/mingpt.py:97
↓ 2 callersClassBottleneck
image_synthesis/modeling/modules/clip/model.py:9
↓ 2 callersClassFullAttention
image_synthesis/modeling/transformers/transformer_utils.py:22
↓ 2 callersClassGPTConfig
base GPT config, params common to all GPT versions
image_synthesis/taming/modules/transformer/mingpt.py:21
↓ 2 callersClassKeyNotFoundError
image_synthesis/taming/util.py:47
↓ 2 callersClassSinusoidalPosEmb
image_synthesis/modeling/transformers/transformer_utils.py:119
↓ 2 callersClassTransformer
image_synthesis/modeling/modules/clip/model.py:190
↓ 1 callersClassAdaInsNorm
image_synthesis/modeling/transformers/transformer_utils.py:153
↓ 1 callersClassAlternateParsing
image_synthesis/taming/modules/transformer/permuter.py:217
↓ 1 callersClassAttentionPool2d
image_synthesis/modeling/modules/clip/model.py:55
↓ 1 callersClassCLIP
image_synthesis/modeling/modules/clip/model.py:238
↓ 1 callersClassCausalSelfAttention
A vanilla multi-head masked self-attention layer with a projection at the end. It is possible to use torch.nn.MultiheadAttention here but I a
image_synthesis/taming/modules/transformer/mingpt.py:41
↓ 1 callersClassComm
image_synthesis/data/utils/comm.py:13
↓ 1 callersClassConv_MLP
image_synthesis/modeling/transformers/transformer_utils.py:276
↓ 1 callersClassCrossAttention
image_synthesis/modeling/transformers/transformer_utils.py:62
↓ 1 callersClassDecoder
image_synthesis/taming/modules/diffusionmodules/model.py:436
↓ 1 callersClassEMA
image_synthesis/engine/ema.py:4
↓ 1 callersClassEncoder
image_synthesis/taming/modules/diffusionmodules/model.py:342
↓ 1 callersClassGELU2
image_synthesis/modeling/transformers/transformer_utils.py:113
↓ 1 callersClassGumbelQuantize
credit to @karpathy: https://github.com/karpathy/deep-vector-quantization/blob/main/model.py (thanks!) Gumbel Softmax trick quantizer Cat
image_synthesis/taming/modules/vqvae/quantize.py:110
↓ 1 callersClassGumbelVQ
image_synthesis/taming/models/vqgan.py:159
↓ 1 callersClassLPIPS
image_synthesis/taming/modules/losses/lpips.py:11
↓ 1 callersClassLogger
image_synthesis/engine/logger.py:18
↓ 1 callersClassModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1, wi
image_synthesis/modeling/modules/clip/model.py:92
↓ 1 callersClassNLayerDiscriminator
Defines a PatchGAN discriminator as in Pix2Pix --> see https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/blob/master/models/networks.py
image_synthesis/taming/modules/discriminator/model.py:17
↓ 1 callersClassNet2NetTransformer
image_synthesis/taming/models/cond_transformer.py:16
↓ 1 callersClassQuickGELU
image_synthesis/modeling/modules/clip/model.py:161
↓ 1 callersClassResidualAttentionBlock
image_synthesis/modeling/modules/clip/model.py:166
↓ 1 callersClassSOSProvider
image_synthesis/taming/modules/util.py:117
↓ 1 callersClassScalingLayer
image_synthesis/taming/modules/losses/lpips.py:55
↓ 1 callersClassSolver
image_synthesis/engine/solver.py:36
↓ 1 callersClassSpiralOut
image_synthesis/taming/modules/transformer/permuter.py:81
↓ 1 callersClassThreadPool
image_synthesis/data/utils/manage.py:27
↓ 1 callersClassVQModel
image_synthesis/taming/models/vqgan.py:12
↓ 1 callersClassVQ_Diffusion
inference_VQ_Diffusion.py:23
↓ 1 callersClassVectorQuantizer
see https://github.com/MishaLaskin/vqvae/blob/d761a999e2267766400dc646d82d3ac3657771d4/models/quantizer.py __________________________________
image_synthesis/taming/modules/vqvae/quantize.py:9
↓ 1 callersClassVisualTransformer
image_synthesis/modeling/modules/clip/model.py:201
↓ 1 callersClassvgg16
image_synthesis/taming/modules/losses/lpips.py:74
ClassAbstractEncoder
image_synthesis/taming/modules/util.py:95
ClassAbstractPermuter
image_synthesis/taming/modules/transformer/permuter.py:6
ClassActNorm
image_synthesis/taming/modules/util.py:10
ClassBCELoss
image_synthesis/taming/modules/losses/segmentation.py:5
ClassBCELossWithQuant
image_synthesis/taming/modules/losses/segmentation.py:11
ClassBaseCodec
image_synthesis/modeling/codecs/base_codec.py:5
ClassBaseEmbedding
image_synthesis/modeling/embeddings/base_embedding.py:5
ClassCLIPTextEmbedding
image_synthesis/modeling/embeddings/clip_text_embedding.py:7
ClassC_DALLE
image_synthesis/modeling/models/conditional_dalle.py:19
ClassClassEmbedding
image_synthesis/modeling/embeddings/class_embedding.py:5
ClassClipGradNorm
image_synthesis/engine/clip_grad_norm.py:4
ClassCocoDataset
image_synthesis/data/mscoco_dataset.py:14
ClassCodeGPT
Takes in semi-embeddings
image_synthesis/taming/modules/transformer/mingpt.py:224
ClassCondition2ImageTransformer
image_synthesis/modeling/transformers/transformer_utils.py:438
ClassCoordStage
image_synthesis/taming/modules/misc/coord.py:3
ClassCosineAnnealingLRWithWarmup
adjust lr: args: warmup_lr: float or None, the learning rate to be touched after warmup warmup: int, the number of steps to
image_synthesis/engine/lr_scheduler.py:209
ClassCub200Dataset
image_synthesis/data/cub200_dataset.py:16
ClassDALLE
image_synthesis/modeling/models/dalle.py:19
ClassDBManager
image_synthesis/data/utils/manage.py:158
ClassDalleMaskImageEmbedding
image_synthesis/modeling/embeddings/dalle_mask_image_embedding.py:5
ClassDalleTransformerPreprocessor
image_synthesis/data/utils/image_preprocessor.py:9
ClassDiffusionTransformer
image_synthesis/modeling/transformers/diffusion_transformer.py:68
ClassDiffusionTransformer
image_synthesis/modeling/transformers/diffusion_transformer_amp.py:61
ClassDummyGPT
image_synthesis/taming/modules/transformer/mingpt.py:214
ClassDummyLoss
image_synthesis/taming/modules/losses/vqperceptual.py:9
ClassFFHQDataset
image_synthesis/data/ffhq_dataset.py:11
ClassGPT
the full GPT language model, with a context size of block_size
image_synthesis/taming/modules/transformer/mingpt.py:124
ClassGPT1Config
GPT-1 like network roughly 125M params
image_synthesis/taming/modules/transformer/mingpt.py:34
ClassIdentity
image_synthesis/taming/modules/transformer/permuter.py:13
ClassImageNetDataset
image_synthesis/data/imagenet_dataset.py:14
ClassImageNetTransformerPreprocessor
image_synthesis/data/utils/image_preprocessor.py:60
ClassKMeans
image_synthesis/taming/modules/transformer/mingpt.py:323
ClassKVReader
image_synthesis/data/utils/manage.py:219
ClassLabelator
Net2Net Interface for Class-Conditional Model
image_synthesis/taming/modules/util.py:103
ClassLambdaWarmUpCosineScheduler
note: use with a base_lr of 1.0
image_synthesis/taming/lr_scheduler.py:4
ClassMetaDB
image_synthesis/data/utils/manage.py:382
ClassModel
image_synthesis/taming/modules/diffusionmodules/model.py:195
ClassMultipleLMDBManager
image_synthesis/data/utils/manage.py:282
ClassMultipleZipManager
image_synthesis/data/utils/manage.py:104
ClassRandom
image_synthesis/taming/modules/transformer/permuter.py:202
ClassReduceLROnPlateauWithWarmup
Reduce learning rate when a metric has stopped improving. Models often benefit from reducing the learning rate by a factor of 2-10 once learni
image_synthesis/engine/lr_scheduler.py:10
ClassSimpleDecoder
image_synthesis/taming/modules/diffusionmodules/model.py:694
ClassSimpleTokenizer
image_synthesis/modeling/modules/clip/simple_tokenizer.py:62
ClassSimpleTokenizer
image_synthesis/modeling/modules/clip/clip_tokenizer.py:62
ClassSpiralIn
image_synthesis/taming/modules/transformer/permuter.py:141
ClassSubsample
image_synthesis/taming/modules/transformer/permuter.py:21
ClassTamingFFHQVQVAE
image_synthesis/modeling/codecs/image_codec/taming_gumbel_vqvae.py:50
ClassTamingGumbelVQVAE
image_synthesis/modeling/codecs/image_codec/taming_gumbel_vqvae.py:210
ClassTamingVQVAE
image_synthesis/modeling/codecs/image_codec/taming_gumbel_vqvae.py:132
ClassText2ImageTransformer
image_synthesis/modeling/transformers/transformer_utils.py:291
ClassTokenize
image_synthesis/modeling/codecs/text_codec/tokenize.py:7
ClassUC_DALLE
image_synthesis/modeling/models/unconditional_dalle.py:19
next →1–100 of 107, ranked by callers