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
↓ 122 callers
Method
get
(self, img, target_face, source_face, paste_back=True)
swapperfp16.py:46
↓ 37 callers
Method
join
(self, *args)
utils.py:218
↓ 25 callers
Method
get
(self, imgs, target_faces, source_faces, paste_back=True)
beta/swapperfp16.py:46
↓ 13 callers
Method
start
(self)
utils.py:242
↓ 9 callers
Method
__init__
(self, in_channels, num_style_feat, upsample=True, interpolation_mode='bilinear')
gfpgan/archs/stylegan2_bilinear_arch.py:217
↓ 8 callers
Method
__init__
(self, in_channels, with_conv)
gfpgan/archs/restoreformer_arch.py:120
↓ 8 callers
Method
read
(self)
utils.py:279
↓ 8 callers
Method
run
(self)
beta/utilities.py:160
↓ 7 callers
Function
Normalize
(in_channels)
gfpgan/archs/restoreformer_arch.py:114
↓ 7 callers
Function
cprint
(p,color=None)
jaa.py:52
↓ 7 callers
Method
read
(self)
beta/utilities.py:223
↓ 7 callers
Method
run
(self)
utils.py:215
↓ 7 callers
Method
start
(self)
beta/utilities.py:186
↓ 6 callers
Method
close
(self)
chain_img_processor/ffmpeg_writer.py:189
↓ 6 callers
Function
nonlinearity
(x)
gfpgan/archs/restoreformer_arch.py:109
↓ 5 callers
Method
join
(self, *args)
beta/utilities.py:163
↓ 5 callers
Method
plugin_options
(self,pluginname)
jaa.py:200
↓ 4 callers
Method
__init__
(self, inplanes, planes, stride=1, downsample=None, use_se=True)
gfpgan/archs/arcface_arch.py:68
↓ 4 callers
Method
__init__
( self, out_size, num_style_feat=512, channel_multiplier=1,
gfpgan/archs/gfpganv1_arch.py:243
↓ 4 callers
Method
__init__
(self, in_channels, num_style_feat, upsample=True)
gfpgan/archs/stylegan2_clean_arch.py:150
↓ 4 callers
Method
_gram_mat
Calculate Gram matrix. Args: x (torch.Tensor): Tensor with shape of (n, c, h, w). Returns: torch.Tensor: Gra
gfpgan/models/gfpgan_model.py:266
↓ 4 callers
Method
_make_layer
(self, block, planes, num_blocks, stride=1)
gfpgan/archs/arcface_arch.py:214
↓ 4 callers
Function
conv3x3
A simple wrapper for 3x3 convolution with padding. Args: inplanes (int): Channel number of inputs. outplanes (int): Channel numbe
gfpgan/archs/arcface_arch.py:5
↓ 4 callers
Method
join
(self, *args)
chain_img_processor/video.py:22
↓ 4 callers
Method
print_error
(self,p)
jaa.py:166
↓ 3 callers
Function
_on_mousewheel
(event, widget)
beta/better.py:262
↓ 3 callers
Function
_on_shiftmouse
(event, widget)
beta/better.py:273
↓ 3 callers
Function
change_frame_index
(value)
beta/better.py:680
↓ 3 callers
Function
change_frame_move
(value)
beta/better.py:686
↓ 3 callers
Function
edit_play
(amount)
main.py:411
↓ 3 callers
Method
enhance
(self, img, has_aligned=False, only_center_face=False, paste_back=True, weight=0.5)
gfpgan/utils.py:102
↓ 3 callers
Method
get_model
(self, **kwargs)
swapperfp16.py:127
↓ 3 callers
Method
init_processor
(self, processor_id: str)
chain_img_processor/image.py:119
↓ 3 callers
Function
prepare_models
(det_size='auto', prepare='all', custom_return=False)
beta/utilities.py:234
↓ 3 callers
Function
restorer_enhance
(facer)
utils.py:458
↓ 3 callers
Method
save
(self, epoch, current_iter)
gfpgan/models/gfpgan_model.py:569
↓ 3 callers
Method
write_frame
Writes one frame in the file.
chain_img_processor/ffmpeg_writer.py:139
↓ 2 callers
Method
__init__
(self, master)
beta/better.py:175
↓ 2 callers
Method
__init__
(self, in_channels, out_channels, mode='down')
gfpgan/archs/gfpganv1_clean_arch.py:129
↓ 2 callers
Method
_autoscroll
Hide and show scrollbar as needed.
beta/better.py:205
↓ 2 callers
Function
add_audio_from_video
(video_path, audio_video_path, output_path)
utils.py:104
↓ 2 callers
Method
add_processor_to_list
(self, processor_id: str)
chain_img_processor/image.py:113
↓ 2 callers
Function
cv2_image_to_tkinter
Convert a cv2 image to a tkinter compatible format and resize it to fit target dimensions.
main.py:665
↓ 2 callers
Method
decode
(self, quant, hs)
gfpgan/archs/restoreformer_arch.py:648
↓ 2 callers
Method
display_init_info
(self)
chain_img_processor/image.py:138
↓ 2 callers
Function
edit_index
(amount)
main.py:405
↓ 2 callers
Method
encode
(self, x)
gfpgan/archs/restoreformer_arch.py:641
↓ 2 callers
Function
face_analyser_thread
(frame, sw)
main.py:582
↓ 2 callers
Method
forward
(self, img, latent)
swapperfp16.py:42
↓ 2 callers
Method
get
(self, img, target_face, source_face, paste_back=True)
beta/swapperfp16 - Copy.py:46
↓ 2 callers
Function
get_embedding
(face_image)
main.py:710
↓ 2 callers
Function
get_face_boxes
(image)
beta/better.py:310
↓ 2 callers
Function
get_model
(name, **kwargs)
swapperfp16.py:159
↓ 2 callers
Function
get_model
(name, **kwargs)
beta/swapperfp16.py:160
↓ 2 callers
Method
get_model
(self, **kwargs)
beta/swapperfp16.py:146
↓ 2 callers
Function
get_source_face
()
main.py:87
↓ 2 callers
Function
get_system_usage
()
utils.py:86
↓ 2 callers
Method
gray_resize_for_identity
(self, out, size=128)
gfpgan/models/gfpgan_model.py:281
↓ 2 callers
Method
init_plugin
(self,modname)
jaa.py:91
↓ 2 callers
Method
init_plugins
(self, list_first_plugins = [])
jaa.py:70
↓ 2 callers
Function
load_generator
()
utils.py:337
↓ 2 callers
Function
load_gfpganonnx
()
utils.py:453
↓ 2 callers
Function
make_swap
(frame, face, source_face, paste_back=True)
beta/utilities.py:295
↓ 2 callers
Method
post_process
(self)
realesrgan/utils.py:182
↓ 2 callers
Method
pre_process
Pre-process, such as pre-pad and mod pad, so that the images can be divisible
realesrgan/utils.py:88
↓ 2 callers
Function
prepare
()
utils.py:5
↓ 2 callers
Function
prepare_swappers_and_analysers
(args)
utils.py:588
↓ 2 callers
Method
print_blue
(self, txt)
chain_img_processor/image.py:155
↓ 2 callers
Method
process
(self)
realesrgan/utils.py:113
↓ 2 callers
Function
realesrgan_enhance
(image)
utils.py:417
↓ 2 callers
Function
release_face_restore_helper
(face_helper)
plugins/codeformer_app_cv2.py:187
↓ 2 callers
Function
resize_image
(image, max_width, max_height)
beta/better.py:551
↓ 2 callers
Method
save_plugin_options
(self,modname,options)
jaa.py:180
↓ 2 callers
Function
swap_frame
(frame)
beta/utilities.py:297
↓ 2 callers
Method
tile_process
It will first crop input images to tiles, and then process each tile. Finally, all the processed tiles are merged into one images.
realesrgan/utils.py:117
↓ 2 callers
Function
upscale_image
(image, generator )
utils.py:312
↓ 1 callers
Method
__init__
(self, model_file=None, session=None)
swapperfp16.py:15
↓ 1 callers
Method
__init__
(self, model_path, **kwargs)
swapperfp16.py:112
↓ 1 callers
Method
__init__
(self, **kwargs)
utils.py:9
↓ 1 callers
Method
__init__
(self, opt, que, qid)
realesrgan/utils.py:298
↓ 1 callers
Method
__init__
(self, core: ChainImgProcessor)
chain_img_processor/image.py:159
↓ 1 callers
Method
__init__
(self)
chain_img_processor/video.py:29
↓ 1 callers
Method
__init__
(self, **kwargs)
beta/utilities.py:132
↓ 1 callers
Method
__init__
(self, model_file=None, session=None)
beta/swapperfp16.py:13
↓ 1 callers
Method
__init__
(self, model_path, **kwargs)
beta/swapperfp16.py:131
↓ 1 callers
Method
__init__
(self, model_file=None, session=None)
beta/swapperfp16 - Copy.py:13
↓ 1 callers
Method
__init__
(self, model_path, **kwargs)
beta/swapperfp16 - Copy.py:110
↓ 1 callers
Method
__init__
( self, out_size, num_style_feat=512, channel_multiplier=1,
gfpgan/archs/gfpgan_bilinear_arch.py:156
↓ 1 callers
Method
__len__
(self)
realesrgan/data/realesrgan_dataset.py:191
↓ 1 callers
Function
_bound_to_mousewheel
(event, widget)
beta/better.py:241
↓ 1 callers
Method
_dequeue_and_enqueue
It is the training pair pool for increasing the diversity in a batch. Batch processing limits the diversity of synthetic degradations in a
realesrgan/models/realesrnet_model.py:30
↓ 1 callers
Method
_dequeue_and_enqueue
It is the training pair pool for increasing the diversity in a batch. Batch processing limits the diversity of synthetic degradations in a
realesrgan/models/realesrgan_model.py:30
↓ 1 callers
Method
_log_validation_metric_values
(self, current_iter, dataset_name, tb_logger)
gfpgan/models/gfpgan_model.py:554
↓ 1 callers
Function
_unbound_to_mousewheel
(event, widget)
beta/better.py:252
↓ 1 callers
Function
benchmark
(command: str)
benchmark.py:7
↓ 1 callers
Function
check_or_download
(filename)
swapperfp16.py:155
↓ 1 callers
Method
color_jitter
jitter color: randomly jitter the RGB values, in numpy formats
gfpgan/data/ffhq_degradation_dataset.py:91
↓ 1 callers
Method
color_jitter_pt
jitter color: randomly jitter the brightness, contrast, saturation, and hue, in torch Tensor formats
gfpgan/data/ffhq_degradation_dataset.py:99
↓ 1 callers
Function
compute_cosine_distance
(emb1, emb2, allowed_distance)
utils.py:327
↓ 1 callers
Function
compute_cosine_distance
(emb1, emb2, allowed_distance)
beta/utilities.py:282
next →
1–100 of 417, ranked by callers