MCPcopy Create free account

hub / github.com/RichardErkhov/FastFaceSwap / types & classes

Types & classes86 in github.com/RichardErkhov/FastFaceSwap

↓ 14 callersClassConvLayer
Conv Layer used in StyleGAN2 Discriminator. Args: in_channels (int): Channel number of the input. out_channels (int): Channel num
gfpgan/archs/stylegan2_bilinear_arch.py:530
↓ 11 callersClassEqualConv2d
Equalized Linear as StyleGAN2. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the ou
gfpgan/archs/stylegan2_bilinear_arch.py:481
↓ 9 callersClassResnetBlock
gfpgan/archs/restoreformer_arch.py:152
↓ 6 callersClassMultiHeadAttnBlock
gfpgan/archs/restoreformer_arch.py:197
↓ 6 callersClassScaledLeakyReLU
Scaled LeakyReLU. Args: negative_slope (float): Negative slope. Default: 0.2.
gfpgan/archs/stylegan2_bilinear_arch.py:465
↓ 4 callersClassEqualLinear
Equalized Linear as StyleGAN2. Args: in_channels (int): Size of each sample. out_channels (int): Size of each output sample.
gfpgan/archs/stylegan2_bilinear_arch.py:24
↓ 4 callersClassResBlock
Residual block with bilinear upsampling/downsampling. Args: in_channels (int): Channel number of the input. out_channels (int): C
gfpgan/archs/gfpganv1_clean_arch.py:120
↓ 3 callersClassStyleConv
Style conv. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the output. kerne
gfpgan/archs/stylegan2_bilinear_arch.py:162
↓ 3 callersClassStyleConv
Style conv used in StyleGAN2. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the out
gfpgan/archs/stylegan2_clean_arch.py:106
↓ 2 callersClassConvUpLayer
Convolutional upsampling layer. It uses bilinear upsampler + Conv. Args: in_channels (int): Channel number of the input. out_chan
gfpgan/archs/gfpganv1_arch.py:132
↓ 2 callersClassFaceRestoreHelperOptimized
plugins/codeformer_face_helper_cv2.py:6
↓ 2 callersClassModulatedConv2d
Modulated Conv2d used in StyleGAN2. There is no bias in ModulatedConv2d. Args: in_channels (int): Channel number of the input.
gfpgan/archs/stylegan2_bilinear_arch.py:72
↓ 2 callersClassModulatedConv2d
Modulated Conv2d used in StyleGAN2. There is no bias in ModulatedConv2d. Args: in_channels (int): Channel number of the input.
gfpgan/archs/stylegan2_clean_arch.py:24
↓ 2 callersClassRealESRGANer
A helper class for upsampling images with RealESRGAN. Args: scale (int): Upsampling scale factor used in the networks. It is usually 2
realesrgan/utils.py:14
↓ 2 callersClassResUpBlock
Residual block with upsampling. Args: in_channels (int): Channel number of the input. out_channels (int): Channel number of the o
gfpgan/archs/gfpganv1_arch.py:197
↓ 2 callersClassSRVGGNetCompact
A compact VGG-style network structure for super-resolution. It is a compact network structure, which performs upsampling in the last layer and
realesrgan/archs/srvgg_arch.py:7
↓ 2 callersClassToRGB
To RGB from features. Args: in_channels (int): Channel number of input. num_style_feat (int): Channel number of style features.
gfpgan/archs/stylegan2_bilinear_arch.py:208
↓ 2 callersClassToRGB
To RGB (image space) from features. Args: in_channels (int): Channel number of input. num_style_feat (int): Channel number of sty
gfpgan/archs/stylegan2_clean_arch.py:141
↓ 2 callersClassUpsample
gfpgan/archs/restoreformer_arch.py:118
↓ 1 callersClassChainImgProcessor
chain_img_processor/image.py:10
↓ 1 callersClassChainVideoProcessor
chain_img_processor/video.py:28
↓ 1 callersClassConstantInput
Constant input. Args: num_channel (int): Channel number of constant input. size (int): Spatial size of constant input.
gfpgan/archs/stylegan2_bilinear_arch.py:256
↓ 1 callersClassConstantInput
Constant input. Args: num_channel (int): Channel number of constant input. size (int): Spatial size of constant input.
gfpgan/archs/stylegan2_clean_arch.py:177
↓ 1 callersClassDownsample
gfpgan/archs/restoreformer_arch.py:133
↓ 1 callersClassFFMPEG_VideoWriter
A class for FFMPEG-based video writing. A class to write videos using ffmpeg. ffmpeg will write in a large choice of formats. Parameter
chain_img_processor/ffmpeg_writer.py:24
↓ 1 callersClassGFPGANBilinear
The GFPGAN architecture: Unet + StyleGAN2 decoder with SFT. It is the bilinear version and it does not use the complicated UpFirDnSmooth function
gfpgan/archs/gfpgan_bilinear_arch.py:132
↓ 1 callersClassGFPGAN_onnxruntime
utils.py:122
↓ 1 callersClassGFPGANer
Helper for restoration with GFPGAN. It will detect and crop faces, and then resize the faces to 512x512. GFPGAN is used to restored the resiz
gfpgan/utils.py:16
↓ 1 callersClassGFPGANv1
The GFPGAN architecture: Unet + StyleGAN2 decoder with SFT. Ref: GFP-GAN: Towards Real-World Blind Face Restoration with Generative Facial Prior.
gfpgan/archs/gfpganv1_arch.py:221
↓ 1 callersClassGFPGANv1Clean
The GFPGAN architecture: Unet + StyleGAN2 decoder with SFT. It is the clean version without custom compiled CUDA extensions used in StyleGAN2.
gfpgan/archs/gfpganv1_clean_arch.py:153
↓ 1 callersClassINSwapper
swapperfp16.py:14
↓ 1 callersClassINSwapper
beta/swapperfp16.py:12
↓ 1 callersClassINSwapper
beta/swapperfp16 - Copy.py:12
↓ 1 callersClassModelRouter
swapperfp16.py:123
↓ 1 callersClassModelRouter
beta/swapperfp16.py:142
↓ 1 callersClassModelRouter
beta/swapperfp16 - Copy.py:121
↓ 1 callersClassMultiHeadDecoderTransformer
gfpgan/archs/restoreformer_arch.py:467
↓ 1 callersClassMultiHeadEncoder
gfpgan/archs/restoreformer_arch.py:258
↓ 1 callersClassNormStyleCode
gfpgan/archs/stylegan2_bilinear_arch.py:10
↓ 1 callersClassNormStyleCode
gfpgan/archs/stylegan2_clean_arch.py:10
↓ 1 callersClassPickableInferenceSession
swapperfp16.py:110
↓ 1 callersClassPickableInferenceSession
beta/swapperfp16.py:129
↓ 1 callersClassPickableInferenceSession
beta/swapperfp16 - Copy.py:108
↓ 1 callersClassRestoreFormer
gfpgan/archs/restoreformer_arch.py:573
↓ 1 callersClassSEBlock
The squeeze-and-excitation block (SEBlock) used in the IRBlock. Args: channel (int): Channel number of inputs. reduction (int): C
gfpgan/archs/arcface_arch.py:149
↓ 1 callersClassScrolledListBox
A standard Tkinter Listbox widget with scrollbars that will automatically show/hide as needed.
beta/better.py:229
↓ 1 callersClassStyleGAN2GeneratorBilinearSFT
StyleGAN2 Generator with SFT modulation (Spatial Feature Transform). It is the bilinear version. It does not use the complicated UpFirDnSmooth fu
gfpgan/archs/gfpgan_bilinear_arch.py:12
↓ 1 callersClassStyleGAN2GeneratorCSFT
StyleGAN2 Generator with SFT modulation (Spatial Feature Transform). It is the clean version without custom compiled CUDA extensions used in Styl
gfpgan/archs/gfpganv1_clean_arch.py:11
↓ 1 callersClassStyleGAN2GeneratorSFT
StyleGAN2 Generator with SFT modulation (Spatial Feature Transform). Args: out_size (int): The spatial size of outputs. num_style
gfpgan/archs/gfpganv1_arch.py:12
↓ 1 callersClassThreadWithReturnValue
utils.py:210
↓ 1 callersClassThreadWithReturnValue
chain_img_processor/video.py:10
↓ 1 callersClassThreadWithReturnValue
beta/utilities.py:155
↓ 1 callersClassThreadWithReturnValue
beta/faceswap_experiment - Copy.py:22
↓ 1 callersClassThreadWithReturnValue
beta/faceswap_experiment.py:22
↓ 1 callersClassVectorQuantizer
see https://github.com/MishaLaskin/vqvae/blob/d761a999e2267766400dc646d82d3ac3657771d4/models/quantizer.py __________________________________
gfpgan/archs/restoreformer_arch.py:9
↓ 1 callersClasssimulate
main.py:77
ClassAutoScroll
Configure the scrollbars for a widget.
beta/better.py:173
ClassBasicBlock
Basic residual block used in the ResNetArcFace architecture. Args: inplanes (int): Channel number of inputs. planes (int): Channe
gfpgan/archs/arcface_arch.py:16
ClassBottleneck
Bottleneck block used in the ResNetArcFace architecture. Args: inplanes (int): Channel number of inputs. planes (int): Channel nu
gfpgan/archs/arcface_arch.py:103
ClassChainImgPlugin
chain_img_processor/image.py:158
ClassFFHQDegradationDataset
FFHQ dataset for GFPGAN. It reads high resolution images, and then generate low-quality (LQ) images on-the-fly. Args: opt (dict): Co
gfpgan/data/ffhq_degradation_dataset.py:17
ClassFacialComponentDiscriminator
Facial component (eyes, mouth, noise) discriminator used in GFPGAN.
gfpgan/archs/gfpganv1_arch.py:405
ClassGFPGANModel
The GFPGAN model for Towards real-world blind face restoratin with generative facial prior
gfpgan/models/gfpgan_model.py:18
ClassGFPGAN_onnxruntime
beta/utilities.py:59
ClassIOConsumer
realesrgan/utils.py:296
ClassIRBlock
Improved residual block (IR Block) used in the ResNetArcFace architecture. Args: inplanes (int): Channel number of inputs. planes
gfpgan/archs/arcface_arch.py:56
ClassJaaCore
jaa.py:60
ClassMish
utils.py:8
ClassMish
beta/utilities.py:131
ClassMultiHeadDecoder
gfpgan/archs/restoreformer_arch.py:362
ClassPluginBlur
plugins/plugin_blur.py:28
ClassPluginCodeformer
plugins/plugin_codeformer.py:33
ClassPluginGrayscale
plugins/plugin_to_grayscale.py:22
ClassPluginResizeCv2
plugins/plugin_resize_cv2.py:28
ClassPrefetchReader
Prefetch images. Args: img_list (list[str]): A image list of image paths to be read. num_prefetch_queue (int): Number of pref
realesrgan/utils.py:266
ClassRealESRGANDataset
Dataset used for Real-ESRGAN model: Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data. It loads gt (Ground-
realesrgan/data/realesrgan_dataset.py:17
ClassRealESRGANModel
RealESRGAN Model for Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data. It mainly performs: 1. randomly syn
realesrgan/models/realesrgan_model.py:15
ClassRealESRGANPairedDataset
Paired image dataset for image restoration. Read LQ (Low Quality, e.g. LR (Low Resolution), blurry, noisy, etc) and GT image pairs. Ther
realesrgan/data/realesrgan_paired_dataset.py:11
ClassRealESRNetModel
RealESRNet Model for Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data. It is trained without GAN losses. I
realesrgan/models/realesrnet_model.py:14
ClassResBlock
Residual block used in StyleGAN2 Discriminator. Args: in_channels (int): Channel number of the input. out_channels (int): Channel
gfpgan/archs/stylegan2_bilinear_arch.py:579
ClassResNetArcFace
ArcFace with ResNet architectures. Ref: ArcFace: Additive Angular Margin Loss for Deep Face Recognition. Args: block (str): Block us
gfpgan/archs/arcface_arch.py:172
ClassStyleGAN2GeneratorBilinear
StyleGAN2 Generator. Args: out_size (int): The spatial size of outputs. num_style_feat (int): Channel number of style features. D
gfpgan/archs/stylegan2_bilinear_arch.py:274
ClassStyleGAN2GeneratorClean
Clean version of StyleGAN2 Generator. Args: out_size (int): The spatial size of outputs. num_style_feat (int): Channel number of
gfpgan/archs/stylegan2_clean_arch.py:195
ClassUNetDiscriminatorSN
Defines a U-Net discriminator with spectral normalization (SN) It is used in Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure
realesrgan/archs/discriminator_arch.py:8
ClassVideoCaptureThread
utils.py:222
ClassVideoCaptureThread
beta/utilities.py:167