MCPcopy Create free account

hub / github.com/lllyasviel/Fooocus / types & classes

Types & classes628 in github.com/lllyasviel/Fooocus

↓ 20 callersClassBlock
ldm_patched/taesd/taesd.py:19
↓ 14 callersClassConvLayer
Conv Layer used in StyleGAN2 Discriminator. Args: in_channels (int): Channel number of the input. out_channels (int): Channel num
ldm_patched/pfn/architecture/face/stylegan2_arch.py:761
↓ 11 callersClassEqualConv2d
Equalized Linear as StyleGAN2. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the ou
ldm_patched/pfn/architecture/face/stylegan2_arch.py:699
↓ 11 callersClassTimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
ldm_patched/ldm/modules/diffusionmodules/openaimodel.py:52
↓ 9 callersClassModelPatcher
ldm_patched/modules/model_patcher.py:8
↓ 9 callersClassResBlock
ldm_patched/pfn/architecture/face/codeformer.py:546
↓ 9 callersClassResnetBlock
ldm_patched/pfn/architecture/face/restoreformer_arch.py:162
↓ 7 callersClassBertModel
The model can behave as an encoder (with only self-attention) as well as a decoder, in which case a layer of cross-attention is added between
extras/BLIP/models/med.py:571
↓ 7 callersClassConvTransBlock
ldm_patched/pfn/architecture/SCUNet.py:203
↓ 7 callersClassFaceWarpException
extras/facexlib/detection/align_trans.py:13
↓ 7 callersClassResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels: t
ldm_patched/ldm/modules/diffusionmodules/openaimodel.py:126
↓ 7 callersClassResnetBlock
ldm_patched/ldm/modules/diffusionmodules/model.py:98
↓ 6 callersClassBrownianTreeNoiseSampler
A noise sampler backed by a torchsde.BrownianTree. Args: x (Tensor): The tensor whose shape, device and dtype to use to generate
ldm_patched/k_diffusion/sampling.py:101
↓ 6 callersClassConvBNReLU
extras/facexlib/parsing/bisenet.py:8
↓ 6 callersClassConvLayer
extras/facexlib/parsing/parsenet.py:74
↓ 6 callersClassConv_PreNormResidual
ldm_patched/pfn/architecture/OmniSR/OSA.py:49
↓ 6 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). From: https://github.com/huggingface/pytorch-image-model
ldm_patched/pfn/architecture/HAT.py:31
↓ 6 callersClassMultiHeadAttnBlock
ldm_patched/pfn/architecture/face/restoreformer_arch.py:222
↓ 6 callersClassScaledLeakyReLU
Scaled LeakyReLU. Args: negative_slope (float): Negative slope. Default: 0.2.
ldm_patched/pfn/architecture/face/stylegan2_arch.py:683
↓ 5 callersClassCLIP
ldm_patched/modules/sd.py:85
↓ 5 callersClassCrossAttention
ldm_patched/ldm/modules/attention.py:366
↓ 5 callersClassFusedLeakyReLU
ldm_patched/pfn/architecture/face/fused_act.py:68
↓ 4 callersClassAttnBlock
ldm_patched/pfn/architecture/face/codeformer.py:165
↓ 4 callersClassConvBlock
ldm_patched/pfn/architecture/SwiftSRGAN.py:27
↓ 4 callersClassDownsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
ldm_patched/ldm/modules/diffusionmodules/openaimodel.py:97
↓ 4 callersClassEqualLinear
Equalized Linear as StyleGAN2. Args: in_channels (int): Size of each sample. out_channels (int): Size of each output sample.
ldm_patched/pfn/architecture/face/stylegan2_arch.py:139
↓ 4 callersClassFFC_BN_ACT
ldm_patched/pfn/architecture/LaMa.py:391
↓ 4 callersClassGated_Conv_FeedForward
ldm_patched/pfn/architecture/OmniSR/OSA.py:91
↓ 4 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
ldm_patched/t2ia/adapter.py:159
↓ 4 callersClassTimestep
ldm_patched/ldm/modules/diffusionmodules/openaimodel.py:347
↓ 3 callersClassBasicTransformerBlock
ldm_patched/ldm/modules/attention.py:398
↓ 3 callersClassBertSelfAttention
extras/BLIP/models/nlvr_encoder.py:87
↓ 3 callersClassBiSeNetOutput
extras/facexlib/parsing/bisenet.py:21
↓ 3 callersClassCLIPEmbeddingNoiseAugmentation
ldm_patched/ldm/modules/encoders/noise_aug_modules.py:5
↓ 3 callersClassConvLayer
Conv Layer used in StyleGAN2 Discriminator. Args: in_channels (int): Channel number of the input. out_channels (int): Channel numb
ldm_patched/pfn/architecture/face/stylegan2_bilinear_arch.py:613
↓ 3 callersClassFeedForward
ldm_patched/modules/gligen.py:32
↓ 3 callersClassLearnableSpatialTransformWrapper
ldm_patched/pfn/architecture/LaMa.py:18
↓ 3 callersClassPatchEmbed
r"""Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ldm_patched/pfn/architecture/HAT.py:747
↓ 3 callersClassResidualBlock
Residual block recommended in: http://torch.ch/blog/2016/02/04/resnets.html
extras/facexlib/parsing/parsenet.py:113
↓ 3 callersClassResidualDenseBlock_5C
Residual Dense Block style: 5 convs The core module of paper: (Residual Dense Network for Image Super-Resolution, CVPR 18) Modified o
ldm_patched/pfn/architecture/block.py:356
↓ 3 callersClassResnetBlock
ldm_patched/t2ia/adapter.py:67
↓ 3 callersClassSAMOptions
extras/inpaint_mask.py:13
↓ 3 callersClassSSH
extras/facexlib/detection/retinaface_net.py:36
↓ 3 callersClassSeperableConv2d
ldm_patched/pfn/architecture/SwiftSRGAN.py:7
↓ 3 callersClassSpatialTransformer
Transformer block for image-like data. First, project the input (aka embedding) and reshape to b, t, d. Then apply standard transform
ldm_patched/ldm/modules/attention.py:557
↓ 3 callersClassStyleConv
Style conv. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the output. kerne
ldm_patched/pfn/architecture/face/stylegan2_arch.py:333
↓ 3 callersClassStyleConv
Style conv. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the output. kernel
ldm_patched/pfn/architecture/face/stylegan2_bilinear_arch.py:193
↓ 3 callersClassStyleConv
Style conv used in StyleGAN2. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the outp
ldm_patched/pfn/architecture/face/stylegan2_clean_arch.py:145
↓ 3 callersClassUpFirDnSmooth
Upsample, FIR filter, and downsample (smooth version). Args: resample_kernel (list[int]): A list indicating the 1D resample kernel
ldm_patched/pfn/architecture/face/stylegan2_arch.py:98
↓ 3 callersClassUpsample
Upsample module. Args: scale (int): Scale factor. Supported scales: 2^n and 3. num_feat (int): Channel number of intermediate fea
ldm_patched/pfn/architecture/Swin2SR.py:783
↓ 3 callersClassUpsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determinin
ldm_patched/ldm/modules/diffusionmodules/openaimodel.py:61
↓ 2 callersClassAlphaBlender
ldm_patched/ldm/modules/diffusionmodules/util.py:20
↓ 2 callersClassAttention
ldm_patched/pfn/architecture/OmniSR/OSA.py:197
↓ 2 callersClassAttentionRefinementModule
extras/facexlib/parsing/bisenet.py:34
↓ 2 callersClassAttnChunk
ldm_patched/ldm/modules/sub_quadratic_attention.py:37
↓ 2 callersClassAutoencoderKL
ldm_patched/ldm/models/autoencoder.py:217
↓ 2 callersClassBasicBlock
extras/facexlib/parsing/resnet.py:10
↓ 2 callersClassBatchedBrownianTree
A wrapper around torchsde.BrownianTree that enables batches of entropy.
ldm_patched/k_diffusion/sampling.py:64
↓ 2 callersClassBertAttention
extras/BLIP/models/nlvr_encoder.py:251
↓ 2 callersClassBertAttention
extras/BLIP/models/med.py:242
↓ 2 callersClassBertLMHeadModel
extras/BLIP/models/med.py:811
↓ 2 callersClassCLIPEncoder
ldm_patched/modules/clip_model.py:54
↓ 2 callersClassControlLora
ldm_patched/modules/controlnet.py:258
↓ 2 callersClassControlNet
ldm_patched/modules/controlnet.py:134
↓ 2 callersClassConvUpLayer
Convolutional upsampling layer. It uses bilinear upsampler + Conv. Args: in_channels (int): Channel number of the input. out_chann
ldm_patched/pfn/architecture/face/gfpganv1_arch.py:155
↓ 2 callersClassDPMSolver
DPM-Solver. See https://arxiv.org/abs/2206.00927.
ldm_patched/k_diffusion/sampling.py:318
↓ 2 callersClassDownsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
ldm_patched/t2ia/adapter.py:33
↓ 2 callersClassDownsample
ldm_patched/ldm/modules/diffusionmodules/model.py:76
↓ 2 callersClassEmptyClass
ldm_patched/modules/sd.py:306
↓ 2 callersClassEqualLinear
Equalized Linear as StyleGAN2. Args: in_channels (int): Size of each sample. out_channels (int): Size of each output sample.
ldm_patched/pfn/architecture/face/stylegan2_bilinear_arch.py:24
↓ 2 callersClassFFCResnetBlock
ldm_patched/pfn/architecture/LaMa.py:444
↓ 2 callersClassFeedForward
ldm_patched/ldm/modules/attention.py:65
↓ 2 callersClassFooocusExpansion
extras/expansion.py:37
↓ 2 callersClassLayerNorm2d
ldm_patched/pfn/architecture/OmniSR/layernorm.py:48
↓ 2 callersClassMLP
ldm_patched/contrib/external_photomaker.py:23
↓ 2 callersClassMetadataScheme
modules/flags.py:110
↓ 2 callersClassMlp
ldm_patched/pfn/architecture/HAT.py:81
↓ 2 callersClassModelSamplingAdvanced
ldm_patched/contrib/external_model_advanced.py:97
↓ 2 callersClassModulatedConv2d
Modulated Conv2d used in StyleGAN2. There is no bias in ModulatedConv2d. Args: in_channels (int): Channel number of the input.
ldm_patched/pfn/architecture/face/stylegan2_arch.py:199
↓ 2 callersClassModulatedConv2d
Modulated Conv2d used in StyleGAN2. There is no bias in ModulatedConv2d. Args: in_channels (int): Channel number of the input.
ldm_patched/pfn/architecture/face/stylegan2_bilinear_arch.py:83
↓ 2 callersClassModulatedConv2d
Modulated Conv2d used in StyleGAN2. There is no bias in ModulatedConv2d. Args: in_channels (int): Channel number of the input.
ldm_patched/pfn/architecture/face/stylegan2_clean_arch.py:53
↓ 2 callersClassPatchEmbed
r"""Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ldm_patched/pfn/architecture/SwinIR.py:653
↓ 2 callersClassPatchEmbed
r"""Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ldm_patched/pfn/architecture/Swin2SR.py:587
↓ 2 callersClassPatchUnEmbed
r"""Image to Patch Unembedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ldm_patched/pfn/architecture/SwinIR.py:701
↓ 2 callersClassPatchUnEmbed
r"""Image to Patch Unembedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ldm_patched/pfn/architecture/Swin2SR.py:747
↓ 2 callersClassPatchUnEmbed
r"""Image to Patch Unembedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
ldm_patched/pfn/architecture/HAT.py:787
↓ 2 callersClassPerformance
modules/flags.py:159
↓ 2 callersClassPreNormResidual
ldm_patched/pfn/architecture/OmniSR/OSA.py:39
↓ 2 callersClassRSTB
Residual Swin Transformer Block (RSTB). Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resolutio
ldm_patched/pfn/architecture/Swin2SR.py:638
↓ 2 callersClassResBlock
Residual block with bilinear upsampling/downsampling. Args: in_channels (int): Channel number of the input. out_channels (int): Ch
ldm_patched/pfn/architecture/face/gfpganv1_clean_arch.py:141
↓ 2 callersClassResUpBlock
Residual block with upsampling. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the ou
ldm_patched/pfn/architecture/face/gfpganv1_arch.py:223
↓ 2 callersClassRetinaFace
extras/facexlib/detection/retinaface.py:71
↓ 2 callersClassT2IAdapter
ldm_patched/modules/controlnet.py:425
↓ 2 callersClassToRGB
To RGB from features. Args: in_channels (int): Channel number of input. num_style_feat (int): Channel number of style features.
ldm_patched/pfn/architecture/face/stylegan2_arch.py:384
↓ 2 callersClassToRGB
To RGB from features. Args: in_channels (int): Channel number of input. num_style_feat (int): Channel number of style features.
ldm_patched/pfn/architecture/face/stylegan2_bilinear_arch.py:241
↓ 2 callersClassToRGB
To RGB (image space) from features. Args: in_channels (int): Channel number of input. num_style_feat (int): Channel number of styl
ldm_patched/pfn/architecture/face/stylegan2_clean_arch.py:193
↓ 2 callersClassUpsample
ldm_patched/pfn/architecture/face/restoreformer_arch.py:126
↓ 2 callersClassUpsample
ldm_patched/ldm/modules/diffusionmodules/model.py:47
↓ 2 callersClassVAE
ldm_patched/modules/sd.py:150
↓ 2 callersClassVisionTransformer
Vision Transformer A PyTorch impl of : `An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale` - https://arxiv.org/
extras/BLIP/models/vit.py:116
next →1–100 of 628, ranked by callers