MCPcopy Create free account

hub / github.com/Fanghua-Yu/SUPIR / types & classes

Types & classes180 in github.com/Fanghua-Yu/SUPIR

↓ 15 callersClassTimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
sgm/modules/diffusionmodules/openaimodel.py:81
↓ 14 callersClassResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels: t
sgm/modules/diffusionmodules/openaimodel.py:213
↓ 11 callersClassConversation
A class that keeps all conversation history.
llava/conversation.py:16
↓ 7 callersClassAttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. https
sgm/modules/diffusionmodules/openaimodel.py:359
↓ 7 callersClassResnetBlock
sgm/modules/diffusionmodules/model.py:91
↓ 5 callersClassDownsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
sgm/modules/diffusionmodules/openaimodel.py:170
↓ 5 callersClassKeywordsStoppingCriteria
llava/mm_utils.py:76
↓ 5 callersClassLLavaAgent
llava/llava_agent.py:18
↓ 5 callersClassNetLinLayer
A single linear layer which does a 1x1 conv
sgm/modules/autoencoding/lpips/loss/lpips.py:81
↓ 5 callersClassSpatialTransformer
Transformer block for image-like data. First, project the input (aka embedding) and reshape to b, t, d. Then apply standard transform
sgm/modules/attention.py:533
↓ 3 callersClassDiagonalGaussianDistribution
sgm/modules/distributions/distributions.py:24
↓ 3 callersClassLPIPS
sgm/modules/autoencoding/lpips/loss/lpips.py:12
↓ 3 callersClassTimestep
sgm/modules/diffusionmodules/openaimodel.py:497
↓ 3 callersClassUpsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determinin
sgm/modules/diffusionmodules/openaimodel.py:108
↓ 3 callersClassVAEHook
SUPIR/utils/tilevae.py:677
↓ 2 callersClassDownsample
sgm/modules/diffusionmodules/model.py:71
↓ 2 callersClassEvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
llava/eval/m4c_evaluator.py:7
↓ 2 callersClassFeedForward
sgm/modules/attention.py:94
↓ 2 callersClassLitEma
sgm/modules/ema.py:5
↓ 2 callersClassQKVAttention
A module which performs QKV attention and splits in a different order.
sgm/modules/diffusionmodules/openaimodel.py:463
↓ 2 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
llava/utils.py:60
↓ 2 callersClassUpsample
sgm/modules/diffusionmodules/model.py:55
↓ 2 callersClassZeroCrossAttn
SUPIR/modules/SUPIR_v0.py:116
↓ 1 callersClassAttentionPool2d
Adapted from CLIP: https://github.com/openai/CLIP/blob/main/clip/model.py
sgm/modules/diffusionmodules/openaimodel.py:37
↓ 1 callersClassAttnBlock
sgm/modules/diffusionmodules/model.py:158
↓ 1 callersClassBasicTransformerBlock
sgm/modules/attention.py:376
↓ 1 callersClassCLIPVisionTower
llava/model/multimodal_encoder/clip_encoder.py:8
↓ 1 callersClassController
llava/serve/controller.py:57
↓ 1 callersClassCustomDataset
llava/eval/model_vqa_loader.py:31
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
llava/train/train.py:711
↓ 1 callersClassDecoder
sgm/modules/diffusionmodules/model.py:599
↓ 1 callersClassDiagonalGaussianRegularizer
sgm/modules/autoencoding/regularizers/__init__.py:23
↓ 1 callersClassEncoder
sgm/modules/diffusionmodules/model.py:482
↓ 1 callersClassFaceRestoreHelper
Helper for the face restoration pipeline (base class).
SUPIR/utils/face_restoration_helper.py:49
↓ 1 callersClassFrozenCLIPEmbedder
Uses the CLIP transformer encoder for text (from huggingface)
sgm/modules/encoders/modules.py:445
↓ 1 callersClassFrozenT5Embedder
Uses the T5 transformer encoder for text
sgm/modules/encoders/modules.py:362
↓ 1 callersClassGEGLU
sgm/modules/attention.py:84
↓ 1 callersClassGroupNorm32
sgm/modules/diffusionmodules/util.py:273
↓ 1 callersClassGroupNormParam
SUPIR/utils/tilevae.py:599
↓ 1 callersClassIdentityMap
llava/model/multimodal_projector/builder.py:6
↓ 1 callersClassKeywordsStoppingCriteria
llava/eval/model_qa.py:14
↓ 1 callersClassLLaVATrainer
llava/train/llava_trainer.py:132
↓ 1 callersClassLazySupervisedDataset
Dataset for supervised fine-tuning.
llava/train/train.py:626
↓ 1 callersClassLengthGroupedSampler
r""" Sampler that samples indices in a way that groups together features of the dataset of roughly the same length while keeping a bit of rand
llava/train/llava_trainer.py:98
↓ 1 callersClassLinAttnBlock
to match AttnBlock usage
sgm/modules/diffusionmodules/model.py:151
↓ 1 callersClassLlavaLlamaModel
llava/model/language_model/llava_llama.py:34
↓ 1 callersClassLlavaMPTModel
llava/model/language_model/llava_mpt.py:34
↓ 1 callersClassMPTBlock
llava/model/language_model/mpt/blocks.py:20
↓ 1 callersClassMPTMLP
llava/model/language_model/mpt/blocks.py:8
↓ 1 callersClassMPTModel
llava/model/language_model/mpt/modeling_mpt.py:33
↓ 1 callersClassMemoryEfficientAttnBlock
Uses xformers efficient implementation, see https://github.com/MatthieuTPHR/diffusers/blob/d80b531ff8060ec1ea982b65a1b8df70f73aa67c/src/diffu
sgm/modules/diffusionmodules/model.py:201
↓ 1 callersClassMemoryEfficientCrossAttentionWrapper
sgm/modules/diffusionmodules/model.py:265
↓ 1 callersClassModelWorker
llava/serve/model_worker.py:44
↓ 1 callersClassNLayerDiscriminator
Defines a PatchGAN discriminator as in Pix2Pix --> see https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/blob/master/models/networks.py
sgm/modules/autoencoding/lpips/model/model.py:17
↓ 1 callersClassNansException
SUPIR/utils/devices.py:103
↓ 1 callersClassQKVAttentionLegacy
A module which performs QKV attention. Matches legacy QKVAttention + input/output heads shaping
sgm/modules/diffusionmodules/openaimodel.py:431
↓ 1 callersClassScalingLayer
sgm/modules/autoencoding/lpips/loss/lpips.py:67
↓ 1 callersClassSharedEmbedding
llava/model/language_model/mpt/custom_embedding.py:6
↓ 1 callersClassTextVQAAccuracyEvaluator
llava/eval/m4c_evaluator.py:221
↓ 1 callersClassUNetModel
The full UNet model with attention and timestep embedding. :param in_channels: channels in the input Tensor. :param model_channels: base
sgm/modules/diffusionmodules/openaimodel.py:506
↓ 1 callersClassWorkerInfo
llava/serve/controller.py:43
↓ 1 callersClassZeroSFT
SUPIR/modules/SUPIR_v0.py:62
↓ 1 callersClassvgg16
sgm/modules/autoencoding/lpips/loss/lpips.py:99
ClassAbstractAutoencoder
This is the base class for all autoencoders, including image autoencoders, image autoencoders with discriminators, unCLIP models, etc. Hence,
sgm/models/autoencoder.py:18
ClassAbstractDistribution
sgm/modules/distributions/distributions.py:5
ClassAbstractEmbModel
sgm/modules/encoders/modules.py:37
ClassAbstractRegularizer
sgm/modules/autoencoding/regularizers/__init__.py:11
ClassActNorm
sgm/modules/autoencoding/lpips/util.py:45
ClassAncestralSampler
sgm/modules/diffusionmodules/sampling.py:138
ClassAutoTokenizerForMOD
AutoTokenizer + Adaptation for MOD. A simple wrapper around AutoTokenizer to make instantiating an MOD-adapted tokenizer a bit easier. M
llava/model/language_model/mpt/adapt_tokenizer.py:25
ClassAutoencoderKL
sgm/models/autoencoder.py:282
ClassAutoencoderKLInferenceWrapper
sgm/models/autoencoder.py:319
ClassAutoencodingEngine
Base class for all image autoencoders that we train, like VQGAN or AutoencoderKL (we also restore them explicitly as special cases for legacy
sgm/models/autoencoder.py:116
ClassBaseDiffusionSampler
sgm/modules/diffusionmodules/sampling.py:25
ClassBasicTransformerSingleLayerBlock
sgm/modules/attention.py:489
ClassCheckpointFunction
sgm/modules/diffusionmodules/util.py:170
ClassClassEmbedder
sgm/modules/encoders/modules.py:328
ClassClassEmbedderForMultiCond
sgm/modules/encoders/modules.py:350
ClassConcatTimestepEmbedderND
embeds each dimension independently and concatenates them
sgm/modules/encoders/modules.py:1027
ClassControlWrapper
sgm/modules/diffusionmodules/wrappers.py:68
ClassCrossAttention
sgm/modules/attention.py:196
ClassDPMPP2MSampler
sgm/modules/diffusionmodules/sampling.py:293
ClassDPMPP2SAncestralSampler
sgm/modules/diffusionmodules/sampling.py:253
ClassDataArguments
llava/train/train.py:64
ClassDenoiser
sgm/modules/diffusionmodules/denoiser.py:6
ClassDiffusionEngine
sgm/models/diffusion.py:22
ClassDiracDistribution
sgm/modules/distributions/distributions.py:13
ClassDiscreteDenoiser
sgm/modules/diffusionmodules/denoiser.py:31
ClassDiscreteDenoiserWithControl
sgm/modules/diffusionmodules/denoiser.py:66
ClassDiscreteSampling
sgm/modules/diffusionmodules/sigma_sampling.py:16
ClassDiscretization
sgm/modules/diffusionmodules/discretizer.py:17
ClassDispatchMethod
llava/serve/controller.py:28
ClassDummy
sgm/modules/diffusionmodules/openaimodel.py:1243
ClassEDMDiscretization
sgm/modules/diffusionmodules/discretizer.py:28
ClassEDMSampler
sgm/modules/diffusionmodules/sampling.py:86
ClassEDMSampling
sgm/modules/diffusionmodules/sigma_sampling.py:6
ClassEDMScaling
sgm/modules/diffusionmodules/denoiser_scaling.py:4
ClassEDMWeighting
sgm/modules/diffusionmodules/denoiser_weighting.py:8
ClassEncoderUNetModel
The half UNet model with attention and timestep embedding. For usage, see UNet.
sgm/modules/diffusionmodules/openaimodel.py:1022
ClassEpsScaling
sgm/modules/diffusionmodules/denoiser_scaling.py:16
next →1–100 of 180, ranked by callers