Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monalissaa/DisenDiff
/ types & classes
Types & classes
39 in github.com/Monalissaa/DisenDiff
⨍
Functions
238
◇
Types & classes
39
↓ 5 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
clip/model.py:153
↓ 2 callers
Class
Bottleneck
clip/model.py:10
↓ 2 callers
Class
CustomDiffusionAttnProcessor
src/diffusers_model_pipeline.py:277
↓ 2 callers
Class
PersonalizedBase
utils/ldmm/data/personalized.py:132
↓ 2 callers
Class
Transformer
clip/model.py:201
↓ 1 callers
Class
AttentionPool2d
clip/model.py:56
↓ 1 callers
Class
AttentionStore
src/attention_controllers.py:176
↓ 1 callers
Class
CDAttentionStore
src/attention_controllers.py:7
↓ 1 callers
Class
CLIP
clip/model.py:249
↓ 1 callers
Class
CLIPCapDataset
utils/clipscore/clipscore.py:66
↓ 1 callers
Class
CLIPImageDataset
utils/clipscore/clipscore.py:82
↓ 1 callers
Class
ConcatDataset
train.py:367
↓ 1 callers
Class
CustomDiffusionDataset
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 callers
Class
CustomDiffusionXFormersAttnProcessor
src/diffusers_model_pipeline.py:321
↓ 1 callers
Class
DummyController
src/ptp_utils.py:211
↓ 1 callers
Class
FrozenCLIPEmbedderWrapper
Uses the CLIP transformer encoder for text (from Hugging Face)
src/custom_modules.py:225
↓ 1 callers
Class
GaussianSmoothing
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 callers
Class
ImageDirEvaluator
utils/clip_eval.py:108
↓ 1 callers
Class
ModifiedResNet
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 callers
Class
MultiheadAttention
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 callers
Class
PromptDataset
A simple dataset to prepare the prompts to generate class images on multiple GPUs.
src/diffusers_data_pipeline.py:258
↓ 1 callers
Class
QuickGELU
clip/model.py:162
↓ 1 callers
Class
ResidualAttentionBlock
clip/model.py:167
↓ 1 callers
Class
VisualTransformer
clip/model.py:212
↓ 1 callers
Class
WrappedDataset
Wraps an arbitrary object with __len__ and __getitem__ into a pytorch dataset
train.py:338
↓ 1 callers
Class
_LinearWithBias
clip/auxilary.py:20
Class
AbstractEncoder
src/custom_modules.py:217
Class
AttentionControl
src/attention_controllers.py:133
Class
AverageSmoothing
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
Class
CLIPEvaluator
utils/clip_eval.py:12
Class
CUDACallback
train.py:622
Class
CustomDiffusion
src/model.py:122
Class
CustomDiffusionPipeline
r""" Pipeline for custom diffusion model. This model inherits from [`DiffusionPipeline`]. Check the superclass documentation for the generic
src/diffusers_model_pipeline.py:365
Class
DataModuleFromConfig
train.py:378
Class
ImageLogger
train.py:515
Class
IterativeEmbedding
src/iterative_embedding.py:3
Class
MaskBase
src/finetune_data.py:115
Class
SetupCallback
train.py:466
Class
SimpleTokenizer
clip/simple_tokenizer.py:62