MCPcopy Create free account

hub / github.com/RichardErkhov/FastFaceSwap / functions

Functions417 in github.com/RichardErkhov/FastFaceSwap

↓ 122 callersMethodget
(self, img, target_face, source_face, paste_back=True)
swapperfp16.py:46
↓ 37 callersMethodjoin
(self, *args)
utils.py:218
↓ 25 callersMethodget
(self, imgs, target_faces, source_faces, paste_back=True)
beta/swapperfp16.py:46
↓ 13 callersMethodstart
(self)
utils.py:242
↓ 9 callersMethod__init__
(self, in_channels, num_style_feat, upsample=True, interpolation_mode='bilinear')
gfpgan/archs/stylegan2_bilinear_arch.py:217
↓ 8 callersMethod__init__
(self, in_channels, with_conv)
gfpgan/archs/restoreformer_arch.py:120
↓ 8 callersMethodread
(self)
utils.py:279
↓ 8 callersMethodrun
(self)
beta/utilities.py:160
↓ 7 callersFunctionNormalize
(in_channels)
gfpgan/archs/restoreformer_arch.py:114
↓ 7 callersFunctioncprint
(p,color=None)
jaa.py:52
↓ 7 callersMethodread
(self)
beta/utilities.py:223
↓ 7 callersMethodrun
(self)
utils.py:215
↓ 7 callersMethodstart
(self)
beta/utilities.py:186
↓ 6 callersMethodclose
(self)
chain_img_processor/ffmpeg_writer.py:189
↓ 6 callersFunctionnonlinearity
(x)
gfpgan/archs/restoreformer_arch.py:109
↓ 5 callersMethodjoin
(self, *args)
beta/utilities.py:163
↓ 5 callersMethodplugin_options
(self,pluginname)
jaa.py:200
↓ 4 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None, use_se=True)
gfpgan/archs/arcface_arch.py:68
↓ 4 callersMethod__init__
( self, out_size, num_style_feat=512, channel_multiplier=1,
gfpgan/archs/gfpganv1_arch.py:243
↓ 4 callersMethod__init__
(self, in_channels, num_style_feat, upsample=True)
gfpgan/archs/stylegan2_clean_arch.py:150
↓ 4 callersMethod_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 callersMethod_make_layer
(self, block, planes, num_blocks, stride=1)
gfpgan/archs/arcface_arch.py:214
↓ 4 callersFunctionconv3x3
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 callersMethodjoin
(self, *args)
chain_img_processor/video.py:22
↓ 4 callersMethodprint_error
(self,p)
jaa.py:166
↓ 3 callersFunction_on_mousewheel
(event, widget)
beta/better.py:262
↓ 3 callersFunction_on_shiftmouse
(event, widget)
beta/better.py:273
↓ 3 callersFunctionchange_frame_index
(value)
beta/better.py:680
↓ 3 callersFunctionchange_frame_move
(value)
beta/better.py:686
↓ 3 callersFunctionedit_play
(amount)
main.py:411
↓ 3 callersMethodenhance
(self, img, has_aligned=False, only_center_face=False, paste_back=True, weight=0.5)
gfpgan/utils.py:102
↓ 3 callersMethodget_model
(self, **kwargs)
swapperfp16.py:127
↓ 3 callersMethodinit_processor
(self, processor_id: str)
chain_img_processor/image.py:119
↓ 3 callersFunctionprepare_models
(det_size='auto', prepare='all', custom_return=False)
beta/utilities.py:234
↓ 3 callersFunctionrestorer_enhance
(facer)
utils.py:458
↓ 3 callersMethodsave
(self, epoch, current_iter)
gfpgan/models/gfpgan_model.py:569
↓ 3 callersMethodwrite_frame
Writes one frame in the file.
chain_img_processor/ffmpeg_writer.py:139
↓ 2 callersMethod__init__
(self, master)
beta/better.py:175
↓ 2 callersMethod__init__
(self, in_channels, out_channels, mode='down')
gfpgan/archs/gfpganv1_clean_arch.py:129
↓ 2 callersMethod_autoscroll
Hide and show scrollbar as needed.
beta/better.py:205
↓ 2 callersFunctionadd_audio_from_video
(video_path, audio_video_path, output_path)
utils.py:104
↓ 2 callersMethodadd_processor_to_list
(self, processor_id: str)
chain_img_processor/image.py:113
↓ 2 callersFunctioncv2_image_to_tkinter
Convert a cv2 image to a tkinter compatible format and resize it to fit target dimensions.
main.py:665
↓ 2 callersMethoddecode
(self, quant, hs)
gfpgan/archs/restoreformer_arch.py:648
↓ 2 callersMethoddisplay_init_info
(self)
chain_img_processor/image.py:138
↓ 2 callersFunctionedit_index
(amount)
main.py:405
↓ 2 callersMethodencode
(self, x)
gfpgan/archs/restoreformer_arch.py:641
↓ 2 callersFunctionface_analyser_thread
(frame, sw)
main.py:582
↓ 2 callersMethodforward
(self, img, latent)
swapperfp16.py:42
↓ 2 callersMethodget
(self, img, target_face, source_face, paste_back=True)
beta/swapperfp16 - Copy.py:46
↓ 2 callersFunctionget_embedding
(face_image)
main.py:710
↓ 2 callersFunctionget_face_boxes
(image)
beta/better.py:310
↓ 2 callersFunctionget_model
(name, **kwargs)
swapperfp16.py:159
↓ 2 callersFunctionget_model
(name, **kwargs)
beta/swapperfp16.py:160
↓ 2 callersMethodget_model
(self, **kwargs)
beta/swapperfp16.py:146
↓ 2 callersFunctionget_source_face
()
main.py:87
↓ 2 callersFunctionget_system_usage
()
utils.py:86
↓ 2 callersMethodgray_resize_for_identity
(self, out, size=128)
gfpgan/models/gfpgan_model.py:281
↓ 2 callersMethodinit_plugin
(self,modname)
jaa.py:91
↓ 2 callersMethodinit_plugins
(self, list_first_plugins = [])
jaa.py:70
↓ 2 callersFunctionload_generator
()
utils.py:337
↓ 2 callersFunctionload_gfpganonnx
()
utils.py:453
↓ 2 callersFunctionmake_swap
(frame, face, source_face, paste_back=True)
beta/utilities.py:295
↓ 2 callersMethodpost_process
(self)
realesrgan/utils.py:182
↓ 2 callersMethodpre_process
Pre-process, such as pre-pad and mod pad, so that the images can be divisible
realesrgan/utils.py:88
↓ 2 callersFunctionprepare
()
utils.py:5
↓ 2 callersFunctionprepare_swappers_and_analysers
(args)
utils.py:588
↓ 2 callersMethodprint_blue
(self, txt)
chain_img_processor/image.py:155
↓ 2 callersMethodprocess
(self)
realesrgan/utils.py:113
↓ 2 callersFunctionrealesrgan_enhance
(image)
utils.py:417
↓ 2 callersFunctionrelease_face_restore_helper
(face_helper)
plugins/codeformer_app_cv2.py:187
↓ 2 callersFunctionresize_image
(image, max_width, max_height)
beta/better.py:551
↓ 2 callersMethodsave_plugin_options
(self,modname,options)
jaa.py:180
↓ 2 callersFunctionswap_frame
(frame)
beta/utilities.py:297
↓ 2 callersMethodtile_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 callersFunctionupscale_image
(image, generator )
utils.py:312
↓ 1 callersMethod__init__
(self, model_file=None, session=None)
swapperfp16.py:15
↓ 1 callersMethod__init__
(self, model_path, **kwargs)
swapperfp16.py:112
↓ 1 callersMethod__init__
(self, **kwargs)
utils.py:9
↓ 1 callersMethod__init__
(self, opt, que, qid)
realesrgan/utils.py:298
↓ 1 callersMethod__init__
(self, core: ChainImgProcessor)
chain_img_processor/image.py:159
↓ 1 callersMethod__init__
(self)
chain_img_processor/video.py:29
↓ 1 callersMethod__init__
(self, **kwargs)
beta/utilities.py:132
↓ 1 callersMethod__init__
(self, model_file=None, session=None)
beta/swapperfp16.py:13
↓ 1 callersMethod__init__
(self, model_path, **kwargs)
beta/swapperfp16.py:131
↓ 1 callersMethod__init__
(self, model_file=None, session=None)
beta/swapperfp16 - Copy.py:13
↓ 1 callersMethod__init__
(self, model_path, **kwargs)
beta/swapperfp16 - Copy.py:110
↓ 1 callersMethod__init__
( self, out_size, num_style_feat=512, channel_multiplier=1,
gfpgan/archs/gfpgan_bilinear_arch.py:156
↓ 1 callersMethod__len__
(self)
realesrgan/data/realesrgan_dataset.py:191
↓ 1 callersFunction_bound_to_mousewheel
(event, widget)
beta/better.py:241
↓ 1 callersMethod_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 callersMethod_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 callersMethod_log_validation_metric_values
(self, current_iter, dataset_name, tb_logger)
gfpgan/models/gfpgan_model.py:554
↓ 1 callersFunction_unbound_to_mousewheel
(event, widget)
beta/better.py:252
↓ 1 callersFunctionbenchmark
(command: str)
benchmark.py:7
↓ 1 callersFunctioncheck_or_download
(filename)
swapperfp16.py:155
↓ 1 callersMethodcolor_jitter
jitter color: randomly jitter the RGB values, in numpy formats
gfpgan/data/ffhq_degradation_dataset.py:91
↓ 1 callersMethodcolor_jitter_pt
jitter color: randomly jitter the brightness, contrast, saturation, and hue, in torch Tensor formats
gfpgan/data/ffhq_degradation_dataset.py:99
↓ 1 callersFunctioncompute_cosine_distance
(emb1, emb2, allowed_distance)
utils.py:327
↓ 1 callersFunctioncompute_cosine_distance
(emb1, emb2, allowed_distance)
beta/utilities.py:282
next →1–100 of 417, ranked by callers