MCPcopy Create free account

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

Functions163 in github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait

↓ 29 callersMethodget
(self, img_bgr, **kwargs)
LivePortrait/utils/face_analysis_diy.py:40
↓ 13 callersMethod__init__
(self, dim)
LivePortrait/modules/util.py:332
↓ 6 callersFunctionget_rgb_size
(rgb)
nodes.py:53
↓ 6 callersFunctionheadpose_pred_to_degree
pred: (bs, 66) or (bs, 1) or others
LivePortrait/utils/camera.py:14
↓ 5 callersFunctionget_model_dir
(m)
nodes.py:58
↓ 5 callersMethodload_model
(self, model_config, model_type)
nodes.py:144
↓ 4 callersMethodadd
(self, other)
nodes.py:497
↓ 4 callersFunctionexec_cmd
(cmd)
LivePortrait/utils/video.py:18
↓ 4 callersMethodget_pipeline
(self)
nodes.py:319
↓ 4 callersFunctionretargeting
(delta_out, driving_exp, factor, idxes)
nodes.py:79
↓ 3 callersFunctioncreate_transform_matrix
(x, y, s_x, s_y)
nodes.py:55
↓ 3 callersFunctionget_device
()
nodes.py:30
↓ 3 callersMethodget_kp_info
get the implicit keypoint information x: Bx3xHxW, normalized to 0~1 flag_refine_info: whether to trandform the pose to degrees and th
LivePortrait/live_portrait_wrapper.py:30
↓ 3 callersFunctionget_rotation_matrix
the input is in degree
LivePortrait/utils/camera.py:31
↓ 3 callersMethodprepare_source
(self, source_image, crop_factor, is_video = False, tracking = False)
nodes.py:360
↓ 3 callersMethodprepare_src_image
(self, img)
nodes.py:326
↓ 2 callersMethodactvn
(self, x)
LivePortrait/modules/util.py:315
↓ 2 callersMethodcalc_face_region
(self, square, dsize)
nodes.py:300
↓ 2 callersFunctioncontiguous
(obj)
LivePortrait/utils/io.py:37
↓ 2 callersMethoddetect_face
(self, image_rgb, crop_factor, sort = True)
nodes.py:225
↓ 2 callersMethoddiv
(self, value)
nodes.py:492
↓ 2 callersMethoddownload_model
(_, file_path, model_url)
nodes.py:106
↓ 2 callersMethodexpand_img
(self, rgb_img, square)
nodes.py:312
↓ 2 callersFunctionkp2gaussian
Transform a keypoint into gaussian like representation
LivePortrait/modules/util.py:16
↓ 2 callersFunctionmake_coordinate_grid
(spatial_size, ref, **kwargs)
LivePortrait/modules/util.py:40
↓ 2 callersFunctionnorm_cdf
(x)
LivePortrait/modules/util.py:374
↓ 2 callersMethodparse_output
construct the output as standard return: 1xHxWx3, uint8
LivePortrait/live_portrait_wrapper.py:142
↓ 2 callersFunctionpil2tensor
(image)
nodes.py:46
↓ 2 callersFunctionprefix
a.jpg -> a
LivePortrait/utils/helper.py:30
↓ 2 callersFunctionrgb_crop
(rgb, region)
nodes.py:48
↓ 2 callersMethodstitching
conduct the stitching kp_source: Bxnum_kpx3 kp_driving: Bxnum_kpx3
LivePortrait/live_portrait_wrapper.py:98
↓ 2 callersMethodwarp_decode
get the image after the warping of the implicit keypoints feature_3d: Bx32x16x64x64, feature volume kp_source: BxNx3 kp_drivi
LivePortrait/live_portrait_wrapper.py:121
↓ 1 callersMethodGetMaskImg
(self)
nodes.py:347
↓ 1 callersMethod__init__
(self, dim, drop_path=0.)
LivePortrait/modules/convnextv2.py:23
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
LivePortrait/modules/util.py:371
↓ 1 callersFunction_resize_to_limit
ajust the size of the image so that the maximum dimension does not exceed max_dim, and the width and the height of the image are multiples of n.
LivePortrait/utils/io.py:43
↓ 1 callersMethodcalc_fe
(_, x_d_new, eyes, eyebrow, wink, pupil_x, pupil_y, mouth, eee, woo, smile, rotate_pitch, rota
nodes.py:408
↓ 1 callersMethodclose
(self)
LivePortrait/utils/video.py:127
↓ 1 callersFunctionconcat_feat
kp_source: (bs, k, 3) kp_driving: (bs, k, 3) Return: (bs, 2k*3)
LivePortrait/utils/helper.py:74
↓ 1 callersMethodcreate_deformed_feature
(self, feature, sparse_motions)
LivePortrait/modules/dense_motion.py:45
↓ 1 callersMethodcreate_heatmap_representations
(self, feature, kp_driving, kp_source)
LivePortrait/modules/dense_motion.py:55
↓ 1 callersMethodcreate_sparse_motions
(self, feature, kp_driving, kp_source)
LivePortrait/modules/dense_motion.py:29
↓ 1 callersMethodcrop_face
(self, img_rgb, crop_factor)
nodes.py:353
↓ 1 callersMethoddeform_input
(self, inp, deformation)
LivePortrait/modules/warping_network.py:46
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created for
LivePortrait/modules/util.py:407
↓ 1 callersMethodextract_feature_3d
get the appearance feature of the image by F x: Bx3xHxW, normalized to 0~1
LivePortrait/live_portrait_wrapper.py:21
↓ 1 callersMethodfilter_for_model
(_, checkpoint, prefix)
nodes.py:139
↓ 1 callersFunctionfilter_state_dict
(state_dict, remove_name='fc')
LivePortrait/modules/util.py:319
↓ 1 callersMethodforward_features
(self, x)
LivePortrait/modules/convnextv2.py:113
↓ 1 callersMethodget_detect_model
(self)
nodes.py:209
↓ 1 callersMethodget_face_bboxes
(self, image_rgb)
nodes.py:220
↓ 1 callersMethodget_temp_img_name
(self)
nodes.py:102
↓ 1 callersFunctionload_image_rgb
(image_path: str)
LivePortrait/utils/io.py:11
↓ 1 callersFunctionload_images_from_directory
(directory)
LivePortrait/utils/io.py:21
↓ 1 callersFunctionload_images_from_video
(file_path)
LivePortrait/utils/io.py:25
↓ 1 callersMethodload_models
(self)
nodes.py:193
↓ 1 callersMethodmul
(self, value)
nodes.py:507
↓ 1 callersMethodparsing_command
(self, command, motoin_link)
nodes.py:691
↓ 1 callersMethodprepare_driving_video
(self, face_images)
nodes.py:395
↓ 1 callersMethodremove_ddp_dumplicate_key
(_, state_dict)
nodes.py:133
↓ 1 callersMethodrun
(self, code1, value1, code2, value2, code3, value3, code4, value4, code5, value5, add_exp=None)
nodes.py:600
↓ 1 callersMethodshortcut
(self, x, seg1)
LivePortrait/modules/util.py:308
↓ 1 callersFunctionsort_by_direction
(faces, direction: str = 'large-small', face_center=None)
LivePortrait/utils/face_analysis_diy.py:14
↓ 1 callersMethodstitch
kp_source: BxNx3 kp_driving: BxNx3 Return: Bx(3*num_kp+2)
LivePortrait/live_portrait_wrapper.py:85
↓ 1 callersMethodsub
(self, other)
nodes.py:502
↓ 1 callersMethodtic
(self)
LivePortrait/utils/timer.py:18
↓ 1 callersMethodtoc
(self, average=True)
LivePortrait/utils/timer.py:23
↓ 1 callersMethodtransform_keypoint
transform the implicit keypoints with the pose, shift, and expression deformation kp: BxNx3
LivePortrait/live_portrait_wrapper.py:55
↓ 1 callersFunctiontrunc_normal_
(tensor, mean=0., std=1., a=-2., b=2.)
LivePortrait/modules/util.py:440
↓ 1 callersMethodwrite
(self, image)
LivePortrait/utils/video.py:121
MethodINPUT_TYPES
(s)
nodes.py:532
MethodINPUT_TYPES
(s)
nodes.py:556
MethodINPUT_TYPES
(s)
nodes.py:578
MethodINPUT_TYPES
(s)
nodes.py:617
MethodINPUT_TYPES
(s)
nodes.py:662
MethodINPUT_TYPES
(s)
nodes.py:840
Method__init__
(self, src_rgb, crop_trans_m, x_s_info, f_s_user, x_s_user, mask_ori)
nodes.py:85
Method__init__
(self, erst = None, es = None)
nodes.py:476
Method__init__
(self, es, change, keep)
nodes.py:645
Method__init__
(self)
nodes.py:655
Method__init__
(self)
nodes.py:834
Method__init__
(self, cfg: InferenceConfig, appearance_feature_extractor, motion_extractor,
LivePortrait/live_portrait_wrapper.py:10
Method__init__
(self, input_size, hidden_sizes, output_size)
LivePortrait/modules/stitching_retargeting_network.py:19
Method__init__
(self, image_channel, block_expansion, num_down_blocks, max_features, reshape_channel, reshape_depth, num_resb
LivePortrait/modules/appearance_feature_extractor.py:14
Method__init__
(self, upscale=1, max_features=256, block_expansion=64, out_channels=64, num_down_blocks=2)
LivePortrait/modules/spade_generator.py:14
Method__init__
(self, in_features, out_features, kernel_size=3, stride=2, padding=1, output_padding=1)
LivePortrait/modules/util.py:65
Method__init__
(self, in_features, kernel_size, padding)
LivePortrait/modules/util.py:84
Method__init__
(self, in_features, out_features, kernel_size=3, padding=1, groups=1)
LivePortrait/modules/util.py:107
Method__init__
(self, in_features, out_features, kernel_size=3, padding=1, groups=1)
LivePortrait/modules/util.py:127
Method__init__
(self, in_features, out_features, kernel_size=3, padding=1, groups=1)
LivePortrait/modules/util.py:146
Method__init__
(self, in_features, out_features, groups=1, kernel_size=3, padding=1, lrelu=False)
LivePortrait/modules/util.py:170
Method__init__
(self, block_expansion, in_features, num_blocks=3, max_features=256)
LivePortrait/modules/util.py:191
Method__init__
(self, block_expansion, in_features, num_blocks=3, max_features=256)
LivePortrait/modules/util.py:211
Method__init__
(self, block_expansion, in_features, num_blocks=3, max_features=256)
LivePortrait/modules/util.py:244
Method__init__
(self, norm_nc, label_nc)
LivePortrait/modules/util.py:255
Method__init__
(self, fin, fout, norm_G, label_nc, use_se=False, dilation=1)
LivePortrait/modules/util.py:278
Method__init__
(self, normalized_shape, eps=1e-6, data_format="channels_last")
LivePortrait/modules/util.py:350
Method__init__
(self, drop_prob=None, scale_by_keep=True)
LivePortrait/modules/util.py:431
Method__init__
( self, num_kp, block_expansion, max_features, num_down_blocks,
LivePortrait/modules/warping_network.py:15
Method__init__
(self, block_expansion, num_blocks, max_features, num_kp, feature_channel, reshape_depth, compress, estimate_o
LivePortrait/modules/dense_motion.py:14
next →1–100 of 163, ranked by callers