Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RichardErkhov/FastFaceSwap
/ functions
Functions
417 in github.com/RichardErkhov/FastFaceSwap
⨍
Functions
417
◇
Types & classes
86
Method
forward
Forward function for StyleGAN2GeneratorSFT. Args: styles (list[Tensor]): Sample codes of styles. conditions (list[Ten
gfpgan/archs/gfpganv1_arch.py:46
Method
forward
(self, x)
gfpgan/archs/gfpganv1_arch.py:180
Method
forward
(self, x)
gfpgan/archs/gfpganv1_arch.py:212
Method
forward
Forward function for GFPGANv1. Args: x (Tensor): Input images. return_latents (bool): Whether to return style latents
gfpgan/archs/gfpganv1_arch.py:353
Method
forward
Forward function for FacialComponentDiscriminator. Args: x (Tensor): Input images. return_feats (bool): Whether to re
gfpgan/archs/gfpganv1_arch.py:419
Method
forward
Normalize the style codes. Args: x (Tensor): Style codes with shape (b, c). Returns: Tensor: Normalized tens
gfpgan/archs/stylegan2_bilinear_arch.py:12
Method
forward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:55
Method
forward
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
Method
forward
(self, x, style, noise=None)
gfpgan/archs/stylegan2_bilinear_arch.py:195
Method
forward
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
Method
forward
(self, batch)
gfpgan/archs/stylegan2_bilinear_arch.py:268
Method
forward
Forward function for StyleGAN2Generator. Args: styles (list[Tensor]): Sample codes of styles. input_is_latent (bool):
gfpgan/archs/stylegan2_bilinear_arch.py:388
Method
forward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:476
Method
forward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:511
Method
forward
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:608
Method
forward
Forward function for StyleGAN2GeneratorCSFT. Args: styles (list[Tensor]): Sample codes of styles. conditions (list[Te
gfpgan/archs/gfpganv1_clean_arch.py:34
Method
forward
(self, x)
gfpgan/archs/gfpganv1_clean_arch.py:140
Method
forward
Forward function for GFPGANv1Clean. Args: x (Tensor): Input images. return_latents (bool): Whether to return style la
gfpgan/archs/gfpganv1_clean_arch.py:277
Method
forward
Forward function for StyleGAN2GeneratorBilinearSFT. Args: styles (list[Tensor]): Sample codes of styles. conditions (
gfpgan/archs/gfpgan_bilinear_arch.py:45
Method
forward
Forward function for GFPGANBilinear. Args: x (Tensor): Input images. return_latents (bool): Whether to return style l
gfpgan/archs/gfpgan_bilinear_arch.py:264
Method
forward
Normalize the style codes. Args: x (Tensor): Style codes with shape (b, c). Returns: Tensor: Normalized tens
gfpgan/archs/stylegan2_clean_arch.py:12
Method
forward
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
Method
forward
(self, x, style, noise=None)
gfpgan/archs/stylegan2_clean_arch.py:126
Method
forward
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
Method
forward
(self, batch)
gfpgan/archs/stylegan2_clean_arch.py:189
Method
forward
Forward function for StyleGAN2GeneratorClean. Args: styles (list[Tensor]): Sample codes of styles. input_is_latent (b
gfpgan/archs/stylegan2_clean_arch.py:298
Method
get_codebook_entry
(self, indices, shape)
gfpgan/archs/restoreformer_arch.py:90
Function
get_face_restore_helper2
(upscale)
plugins/codeformer_app_cv2.py:162
Method
get_latent
(self, x)
gfpgan/archs/stylegan2_bilinear_arch.py:380
Method
get_latent
(self, x)
gfpgan/archs/stylegan2_clean_arch.py:290
Function
get_model
(name, **kwargs)
beta/swapperfp16 - Copy.py:139
Function
get_mouse_click
(event, x, y, flags, param)
beta/better.py:297
Function
get_single_image_processor
()
chain_img_processor/image.py:168
Function
get_single_video_processor
()
chain_img_processor/video.py:129
Function
get_system_usage
()
beta/utilities.py:26
Method
gradio_render_settings_interface
(self, title:str="Settings manager", required_fields_to_show_plugin:list=["default_options"])
jaa.py:226
Method
handler
(x,pluginname=pluginname,option=option)
jaa.py:278
Method
handler_save
(pluginname=pluginname)
jaa.py:283
Function
imread
(img_path)
plugins/codeformer_app_cv2.py:63
Method
init_plugin
(self)
plugins/plugin_codeformer.py:34
Method
init_plugin
(self)
plugins/plugin_to_grayscale.py:23
Method
init_plugin
(self)
plugins/plugin_blur.py:29
Method
init_plugin
(self)
plugins/plugin_resize_cv2.py:29
Function
is_picture_file
(filename)
beta/utilities.py:22
Function
is_video_file
(filename)
beta/utilities.py:18
Function
just_preload_them
(sw, frame)
main.py:727
Function
load
(sw,frame)
main.py:730
Function
load_options
(options_file=None,py_file=None,default_options={})
jaa.py:293
Method
make_noise
Make noise for noise injection.
gfpgan/archs/stylegan2_bilinear_arch.py:369
Method
make_noise
Make noise for noise injection.
gfpgan/archs/stylegan2_clean_arch.py:279
Method
mean_latent
(self, num_latent)
gfpgan/archs/stylegan2_bilinear_arch.py:383
Method
mean_latent
(self, num_latent)
gfpgan/archs/stylegan2_clean_arch.py:293
Function
merge_face
(temp_frame, original, alpha)
beta/utilities.py:56
Method
nondist_validation
(self, dataloader, current_iter, tb_logger, save_img)
realesrgan/models/realesrnet_model.py:184
Method
nondist_validation
(self, dataloader, current_iter, tb_logger, save_img)
realesrgan/models/realesrgan_model.py:185
Function
on_closing
()
main.py:177
Function
on_codeformer_slider_move
(value)
main.py:342
Function
on_image_click
(event)
main.py:508
Function
on_slider_change
(val)
beta/better.py:289
Function
on_slider_move
(value)
main.py:401
Function
open_codeformer_settings
()
beta/better.py:490
Function
open_second_window
()
main.py:769
Method
optimize_parameters
(self, current_iter)
realesrgan/models/realesrgan_model.py:191
Method
optimize_parameters
(self, current_iter)
gfpgan/models/gfpgan_model.py:287
Function
optimize_saver
()
main.py:743
Function
prepare_models
(args)
utils.py:290
Method
print_red
(self,txt)
chain_img_processor/image.py:152
Function
process
(frame)
beta/better.py:502
Function
process
(frame, sw)
beta/faceswap_experiment - Copy.py:77
Function
process
(frames, sw)
beta/faceswap_experiment.py:84
Method
process
(self, img, params:dict)
plugins/plugin_codeformer.py:38
Method
process
(self, img, params: dict)
plugins/plugin_to_grayscale.py:26
Method
process
(self, img, params:dict)
plugins/plugin_blur.py:31
Method
process
(self, img, params: dict)
plugins/plugin_resize_cv2.py:32
Function
process_image
(input_path, output_path, sw)
main.py:716
Method
process_plugin_manifest
(self, modname, manifest)
chain_img_processor/image.py:26
Function
queue_processor
()
beta/better.py:501
Function
restart_program
Restarts the current program.
utils.py:74
Method
run
(self)
realesrgan/utils.py:279
Method
run
(self)
realesrgan/utils.py:304
Method
run
(self)
chain_img_processor/video.py:17
Method
run
(self)
beta/faceswap_experiment - Copy.py:27
Method
run
(self)
beta/faceswap_experiment.py:27
Function
run_it_please
()
main.py:448
Method
run_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
Function
select_camera
()
main.py:155
Function
select_face
()
main.py:139
Function
select_output
()
main.py:159
Function
select_target
()
main.py:146
Function
set_adjust_value
()
main.py:231
Function
show_error
()
utils.py:320
Function
show_errorx
()
beta/utilities.py:277
Function
show_warning
()
utils.py:322
Function
show_warning
()
beta/utilities.py:279
Method
size_
(self)
beta/better.py:236
Function
source_face_creator
(input_face)
main.py:735
Function
start
(core:ChainImgProcessor)
plugins/core.py:7
Function
start
(core:ChainImgProcessor)
plugins/core_video.py:7
Function
start
(core:ChainImgProcessor)
plugins/plugin_codeformer.py:10
Function
start
(core:ChainImgProcessor)
plugins/plugin_to_grayscale.py:10
← previous
next →
301–400 of 417, ranked by callers