MCPcopy Create free account

hub / github.com/Monalissaa/DisenDiff / types & classes

Types & classes39 in github.com/Monalissaa/DisenDiff

↓ 5 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
clip/model.py:153
↓ 2 callersClassBottleneck
clip/model.py:10
↓ 2 callersClassCustomDiffusionAttnProcessor
src/diffusers_model_pipeline.py:277
↓ 2 callersClassPersonalizedBase
utils/ldmm/data/personalized.py:132
↓ 2 callersClassTransformer
clip/model.py:201
↓ 1 callersClassAttentionPool2d
clip/model.py:56
↓ 1 callersClassAttentionStore
src/attention_controllers.py:176
↓ 1 callersClassCDAttentionStore
src/attention_controllers.py:7
↓ 1 callersClassCLIP
clip/model.py:249
↓ 1 callersClassCLIPCapDataset
utils/clipscore/clipscore.py:66
↓ 1 callersClassCLIPImageDataset
utils/clipscore/clipscore.py:82
↓ 1 callersClassConcatDataset
train.py:367
↓ 1 callersClassCustomDiffusionDataset
A dataset to prepare the instance and class images with the prompts for fine-tuning the model. It pre-processes the images and the tokenizes
src/diffusers_data_pipeline.py:275
↓ 1 callersClassCustomDiffusionXFormersAttnProcessor
src/diffusers_model_pipeline.py:321
↓ 1 callersClassDummyController
src/ptp_utils.py:211
↓ 1 callersClassFrozenCLIPEmbedderWrapper
Uses the CLIP transformer encoder for text (from Hugging Face)
src/custom_modules.py:225
↓ 1 callersClassGaussianSmoothing
Apply gaussian smoothing on a 1d, 2d or 3d tensor. Filtering is performed seperately for each channel in the input using a depthwise conv
src/gaussian_smoothing.py:8
↓ 1 callersClassImageDirEvaluator
utils/clip_eval.py:108
↓ 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
clip/model.py:93
↓ 1 callersClassMultiheadAttention
r"""Allows the model to jointly attend to information from different representation subspaces. See reference: Attention Is All You Need .
clip/auxilary.py:265
↓ 1 callersClassPromptDataset
A simple dataset to prepare the prompts to generate class images on multiple GPUs.
src/diffusers_data_pipeline.py:258
↓ 1 callersClassQuickGELU
clip/model.py:162
↓ 1 callersClassResidualAttentionBlock
clip/model.py:167
↓ 1 callersClassVisualTransformer
clip/model.py:212
↓ 1 callersClassWrappedDataset
Wraps an arbitrary object with __len__ and __getitem__ into a pytorch dataset
train.py:338
↓ 1 callersClass_LinearWithBias
clip/auxilary.py:20
ClassAbstractEncoder
src/custom_modules.py:217
ClassAttentionControl
src/attention_controllers.py:133
ClassAverageSmoothing
Apply average smoothing on a 1d, 2d or 3d tensor. Filtering is performed seperately for each channel in the input using a depthwise convo
src/gaussian_smoothing.py:74
ClassCLIPEvaluator
utils/clip_eval.py:12
ClassCUDACallback
train.py:622
ClassCustomDiffusion
src/model.py:122
ClassCustomDiffusionPipeline
r""" Pipeline for custom diffusion model. This model inherits from [`DiffusionPipeline`]. Check the superclass documentation for the generic
src/diffusers_model_pipeline.py:365
ClassDataModuleFromConfig
train.py:378
ClassImageLogger
train.py:515
ClassIterativeEmbedding
src/iterative_embedding.py:3
ClassMaskBase
src/finetune_data.py:115
ClassSetupCallback
train.py:466
ClassSimpleTokenizer
clip/simple_tokenizer.py:62