MCPcopy Create free account

hub / github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait / functions

Functions163 in github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait

Method__init__
(self, **kwargs)
LivePortrait/modules/motion_extractor.py:19
Method__init__
( self, in_chans=3, depths=[3, 3, 9, 3], dims=[96, 192, 384, 768], dro
LivePortrait/modules/convnextv2.py:60
Method__init__
(self, name='buffalo_l', root='~/.insightface', allowed_modules=None, **kwargs)
LivePortrait/utils/face_analysis_diy.py:35
Method__init__
(self)
LivePortrait/utils/timer.py:12
Method__init__
(self, **kwargs)
LivePortrait/utils/video.py:105
Method__init__
(self)
LivePortrait/config/inference_config.py:7
Method_init_weights
(self, m)
LivePortrait/modules/convnextv2.py:108
Functionbasename
a/b/c.jpg -> c
LivePortrait/utils/helper.py:38
Functionblend
(img: np.ndarray, mask: np.ndarray, background_color=(255, 255, 255))
LivePortrait/utils/video.py:76
Functioncalc_crop_limit
(center, img_size, crop_size)
nodes.py:64
Functioncalculate_transformation
(config, s_kp_info, t_0_kp_info, t_i_kp_info, R_s, R_t_0, R_t_i)
LivePortrait/utils/helper.py:89
Functionchange_video_fps
(input_file, output_file, fps=20, codec='libx264', crf=5)
LivePortrait/utils/video.py:132
Methodclear
(self)
LivePortrait/utils/timer.py:27
Functionconcat_frames
(I_p_lst, driving_rgb_lst, img_rgb)
LivePortrait/utils/video.py:84
Functionconvnextv2_tiny
(**kwargs)
LivePortrait/modules/convnextv2.py:147
Functiondct2cuda
(dct: dict, device_id: int)
LivePortrait/utils/helper.py:68
Methodforward
(self, x)
LivePortrait/modules/stitching_retargeting_network.py:37
Methodforward
(self, source_image)
LivePortrait/modules/appearance_feature_extractor.py:38
Methodforward
(self, feature)
LivePortrait/modules/spade_generator.py:41
Methodforward
(self, x)
LivePortrait/modules/util.py:72
Methodforward
(self, x)
LivePortrait/modules/util.py:91
Methodforward
(self, x)
LivePortrait/modules/util.py:114
Methodforward
(self, x)
LivePortrait/modules/util.py:133
Methodforward
(self, x)
LivePortrait/modules/util.py:157
Methodforward
(self, x)
LivePortrait/modules/util.py:179
Methodforward
(self, x)
LivePortrait/modules/util.py:199
Methodforward
(self, x)
LivePortrait/modules/util.py:227
Methodforward
(self, x)
LivePortrait/modules/util.py:250
Methodforward
(self, x, segmap)
LivePortrait/modules/util.py:267
Methodforward
(self, x, seg1)
LivePortrait/modules/util.py:301
Methodforward
(self, x)
LivePortrait/modules/util.py:337
Methodforward
(self, x)
LivePortrait/modules/util.py:360
Methodforward
(self, x)
LivePortrait/modules/util.py:436
Methodforward
(self, feature_3d, kp_driving, kp_source)
LivePortrait/modules/warping_network.py:49
Methodforward
(self, feature, kp_driving, kp_source)
LivePortrait/modules/dense_motion.py:67
Methodforward
(self, x)
LivePortrait/modules/motion_extractor.py:33
Methodforward
(self, x)
LivePortrait/modules/convnextv2.py:33
Methodforward
(self, x)
LivePortrait/modules/convnextv2.py:119
Functionget_fps
(filepath)
LivePortrait/utils/video.py:137
Functionimages2video
(images, wfp, **kwargs)
LivePortrait/utils/video.py:22
Methodinitialize_weights_to_zero
(self)
LivePortrait/modules/stitching_retargeting_network.py:31
Functionis_template
(file_path)
LivePortrait/utils/helper.py:48
Functionis_video
(file_path)
LivePortrait/utils/helper.py:43
Functionload_description
(fp)
LivePortrait/utils/helper.py:101
Functionload_driving_info
(driving_info)
LivePortrait/utils/io.py:18
Functionload_img_online
(obj, mode="bgr", **kwargs)
LivePortrait/utils/io.py:78
Methodload_pretrained
(self, init_path: str)
LivePortrait/modules/motion_extractor.py:26
Functionlogging_time
(original_fn)
nodes.py:515
Functionmerge_audio_video
(video_fp, audio_fp, wfp)
LivePortrait/utils/video.py:67
Functionmkdir
(d, log=False)
LivePortrait/utils/helper.py:54
Functionresize_to_limit
(img, max_dim=1280, n=2)
LivePortrait/utils/helper.py:107
Functionrgb_crop_batch
(rgbs, region)
nodes.py:51
Methodrun
(self, file_name, save_exp:ExpressionSet=None)
nodes.py:545
Methodrun
(self, file_name, ratio)
nodes.py:569
Methodrun
(self, cut_noise, exp = None)
nodes.py:630
Methodrun
(self, retargeting_eyes, retargeting_mouth, turn_on, tracking_src_vid, animate_without_vid, command, crop_fact
nodes.py:726
Methodrun
(self, rotate_pitch, rotate_yaw, rotate_roll, blink, eyebrow, wink, pupil_x, pupil_y, aaa, eee, woo, smile,
nodes.py:884
Functionsqueeze_tensor_to_numpy
(tensor)
LivePortrait/utils/helper.py:63
Functionsuffix
a.jpg -> jpg
LivePortrait/utils/helper.py:22
Functiontensor2pil
(image)
nodes.py:44
Functionvideo2gif
(video_fp, fps=30, size=256)
LivePortrait/utils/video.py:51
Methodwarmup
(self)
LivePortrait/utils/face_analysis_diy.py:71
Functionwrapper_fn
(*args, **kwargs)
nodes.py:516
← previous101–163 of 163, ranked by callers