MCPcopy Create free account

hub / github.com/RichardErkhov/FastFaceSwap / functions

Functions417 in github.com/RichardErkhov/FastFaceSwap

Methodforward
Forward function for StyleGAN2GeneratorSFT. Args: styles (list[Tensor]): Sample codes of styles. conditions (list[Ten
gfpgan/archs/gfpganv1_arch.py:46
Methodforward
(self, x)
gfpgan/archs/gfpganv1_arch.py:180
Methodforward
(self, x)
gfpgan/archs/gfpganv1_arch.py:212
Methodforward
Forward function for GFPGANv1. Args: x (Tensor): Input images. return_latents (bool): Whether to return style latents
gfpgan/archs/gfpganv1_arch.py:353
Methodforward
Forward function for FacialComponentDiscriminator. Args: x (Tensor): Input images. return_feats (bool): Whether to re
gfpgan/archs/gfpganv1_arch.py:419
Methodforward
Normalize the style codes. Args: x (Tensor): Style codes with shape (b, c). Returns: Tensor: Normalized tens
gfpgan/archs/stylegan2_bilinear_arch.py:12
Methodforward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:55
Methodforward
Forward function. Args: x (Tensor): Tensor with shape (b, c, h, w). style (Tensor): Tensor with shape (b, num_style_f
gfpgan/archs/stylegan2_bilinear_arch.py:120
Methodforward
(self, x, style, noise=None)
gfpgan/archs/stylegan2_bilinear_arch.py:195
Methodforward
Forward function. Args: x (Tensor): Feature tensor with shape (b, c, h, w). style (Tensor): Tensor with shape (b, num
gfpgan/archs/stylegan2_bilinear_arch.py:235
Methodforward
(self, batch)
gfpgan/archs/stylegan2_bilinear_arch.py:268
Methodforward
Forward function for StyleGAN2Generator. Args: styles (list[Tensor]): Sample codes of styles. input_is_latent (bool):
gfpgan/archs/stylegan2_bilinear_arch.py:388
Methodforward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:476
Methodforward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:511
Methodforward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:608
Methodforward
Forward function for StyleGAN2GeneratorCSFT. Args: styles (list[Tensor]): Sample codes of styles. conditions (list[Te
gfpgan/archs/gfpganv1_clean_arch.py:34
Methodforward
(self, x)
gfpgan/archs/gfpganv1_clean_arch.py:140
Methodforward
Forward function for GFPGANv1Clean. Args: x (Tensor): Input images. return_latents (bool): Whether to return style la
gfpgan/archs/gfpganv1_clean_arch.py:277
Methodforward
Forward function for StyleGAN2GeneratorBilinearSFT. Args: styles (list[Tensor]): Sample codes of styles. conditions (
gfpgan/archs/gfpgan_bilinear_arch.py:45
Methodforward
Forward function for GFPGANBilinear. Args: x (Tensor): Input images. return_latents (bool): Whether to return style l
gfpgan/archs/gfpgan_bilinear_arch.py:264
Methodforward
Normalize the style codes. Args: x (Tensor): Style codes with shape (b, c). Returns: Tensor: Normalized tens
gfpgan/archs/stylegan2_clean_arch.py:12
Methodforward
Forward function. Args: x (Tensor): Tensor with shape (b, c, h, w). style (Tensor): Tensor with shape (b, num_style_f
gfpgan/archs/stylegan2_clean_arch.py:65
Methodforward
(self, x, style, noise=None)
gfpgan/archs/stylegan2_clean_arch.py:126
Methodforward
Forward function. Args: x (Tensor): Feature tensor with shape (b, c, h, w). style (Tensor): Tensor with shape (b, num
gfpgan/archs/stylegan2_clean_arch.py:157
Methodforward
(self, batch)
gfpgan/archs/stylegan2_clean_arch.py:189
Methodforward
Forward function for StyleGAN2GeneratorClean. Args: styles (list[Tensor]): Sample codes of styles. input_is_latent (b
gfpgan/archs/stylegan2_clean_arch.py:298
Methodget_codebook_entry
(self, indices, shape)
gfpgan/archs/restoreformer_arch.py:90
Functionget_face_restore_helper2
(upscale)
plugins/codeformer_app_cv2.py:162
Methodget_latent
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:380
Methodget_latent
(self, x)
gfpgan/archs/stylegan2_clean_arch.py:290
Functionget_model
(name, **kwargs)
beta/swapperfp16 - Copy.py:139
Functionget_mouse_click
(event, x, y, flags, param)
beta/better.py:297
Functionget_single_image_processor
()
chain_img_processor/image.py:168
Functionget_single_video_processor
()
chain_img_processor/video.py:129
Functionget_system_usage
()
beta/utilities.py:26
Methodgradio_render_settings_interface
(self, title:str="Settings manager", required_fields_to_show_plugin:list=["default_options"])
jaa.py:226
Methodhandler
(x,pluginname=pluginname,option=option)
jaa.py:278
Methodhandler_save
(pluginname=pluginname)
jaa.py:283
Functionimread
(img_path)
plugins/codeformer_app_cv2.py:63
Methodinit_plugin
(self)
plugins/plugin_codeformer.py:34
Methodinit_plugin
(self)
plugins/plugin_to_grayscale.py:23
Methodinit_plugin
(self)
plugins/plugin_blur.py:29
Methodinit_plugin
(self)
plugins/plugin_resize_cv2.py:29
Functionis_picture_file
(filename)
beta/utilities.py:22
Functionis_video_file
(filename)
beta/utilities.py:18
Functionjust_preload_them
(sw, frame)
main.py:727
Functionload
(sw,frame)
main.py:730
Functionload_options
(options_file=None,py_file=None,default_options={})
jaa.py:293
Methodmake_noise
Make noise for noise injection.
gfpgan/archs/stylegan2_bilinear_arch.py:369
Methodmake_noise
Make noise for noise injection.
gfpgan/archs/stylegan2_clean_arch.py:279
Methodmean_latent
(self, num_latent)
gfpgan/archs/stylegan2_bilinear_arch.py:383
Methodmean_latent
(self, num_latent)
gfpgan/archs/stylegan2_clean_arch.py:293
Functionmerge_face
(temp_frame, original, alpha)
beta/utilities.py:56
Methodnondist_validation
(self, dataloader, current_iter, tb_logger, save_img)
realesrgan/models/realesrnet_model.py:184
Methodnondist_validation
(self, dataloader, current_iter, tb_logger, save_img)
realesrgan/models/realesrgan_model.py:185
Functionon_closing
()
main.py:177
Functionon_codeformer_slider_move
(value)
main.py:342
Functionon_image_click
(event)
main.py:508
Functionon_slider_change
(val)
beta/better.py:289
Functionon_slider_move
(value)
main.py:401
Functionopen_codeformer_settings
()
beta/better.py:490
Functionopen_second_window
()
main.py:769
Methodoptimize_parameters
(self, current_iter)
realesrgan/models/realesrgan_model.py:191
Methodoptimize_parameters
(self, current_iter)
gfpgan/models/gfpgan_model.py:287
Functionoptimize_saver
()
main.py:743
Functionprepare_models
(args)
utils.py:290
Methodprint_red
(self,txt)
chain_img_processor/image.py:152
Functionprocess
(frame)
beta/better.py:502
Functionprocess
(frame, sw)
beta/faceswap_experiment - Copy.py:77
Functionprocess
(frames, sw)
beta/faceswap_experiment.py:84
Methodprocess
(self, img, params:dict)
plugins/plugin_codeformer.py:38
Methodprocess
(self, img, params: dict)
plugins/plugin_to_grayscale.py:26
Methodprocess
(self, img, params:dict)
plugins/plugin_blur.py:31
Methodprocess
(self, img, params: dict)
plugins/plugin_resize_cv2.py:32
Functionprocess_image
(input_path, output_path, sw)
main.py:716
Methodprocess_plugin_manifest
(self, modname, manifest)
chain_img_processor/image.py:26
Functionqueue_processor
()
beta/better.py:501
Functionrestart_program
Restarts the current program.
utils.py:74
Methodrun
(self)
realesrgan/utils.py:279
Methodrun
(self)
realesrgan/utils.py:304
Methodrun
(self)
chain_img_processor/video.py:17
Methodrun
(self)
beta/faceswap_experiment - Copy.py:27
Methodrun
(self)
beta/faceswap_experiment.py:27
Functionrun_it_please
()
main.py:448
Methodrun_video_chain
(self, source_video, target_video, fps, threads:int = 1, chain = None, params_frame_gen_func = None, video_aud
chain_img_processor/video.py:43
Functionselect_camera
()
main.py:155
Functionselect_face
()
main.py:139
Functionselect_output
()
main.py:159
Functionselect_target
()
main.py:146
Functionset_adjust_value
()
main.py:231
Functionshow_error
()
utils.py:320
Functionshow_errorx
()
beta/utilities.py:277
Functionshow_warning
()
utils.py:322
Functionshow_warning
()
beta/utilities.py:279
Methodsize_
(self)
beta/better.py:236
Functionsource_face_creator
(input_face)
main.py:735
Functionstart
(core:ChainImgProcessor)
plugins/core.py:7
Functionstart
(core:ChainImgProcessor)
plugins/core_video.py:7
Functionstart
(core:ChainImgProcessor)
plugins/plugin_codeformer.py:10
Functionstart
(core:ChainImgProcessor)
plugins/plugin_to_grayscale.py:10
← previousnext →301–400 of 417, ranked by callers