MCPcopy Create free account

hub / github.com/OpenTalker/StyleHEAT / functions

Functions1,100 in github.com/OpenTalker/StyleHEAT

↓ 1 callersMethod_find_dynamic_lmk_idx_and_bcoords
Selects the face contour depending on the reletive position of the head Input: vertices: N X num_of_vertices
third_part/decalib/models/FLAME.py:93
↓ 1 callersMethod_forward_impl
(self, x: Tensor)
third_part/Deep3DFaceRecon_pytorch/models/networks.py:356
↓ 1 callersFunction_get_params
(key)
third_part/decalib/utils/util.py:508
↓ 1 callersMethod_get_visualizations
r"""Compute visualization outputs. Args: data (dict): Data used for the current iteration.
trainers/base_trainer.py:515
↓ 1 callersFunction_inception_v3
r"""Get inception v3 layers
loss/perceptual.py:254
↓ 1 callersMethod_init_hparams
r"""Initialize a dictionary of hyperparameters that we want to monitor in the HParams dashboard in tensorBoard.
trainers/base_trainer.py:115
↓ 1 callersMethod_init_loss
r"""Every trainer should implement its own init loss function.
trainers/base_trainer.py:523
↓ 1 callersMethod_init_tensorboard
r"""Initialize the tensorboard. Different algorithms might require different performance metrics. Hence, custom tensorboard initializa
trainers/base_trainer.py:100
↓ 1 callersMethod_initialize_weights
(self)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/backbones/mobilefacenet.py:107
↓ 1 callersFunction_iresnet
(arch, block, layers, pretrained, progress, **kwargs)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/backbones/iresnet2060.py:168
↓ 1 callersMethod_load_checkpoint
(self, checkpoint_path, resume=True)
trainers/base_trainer.py:239
↓ 1 callersMethod_loss_l2
(self, gen_im, ref_im, **kwargs)
loss/iterative_inversion_loss.py:27
↓ 1 callersMethod_loss_lpips
(self, gen_im, ref_im, **kwargs)
loss/iterative_inversion_loss.py:30
↓ 1 callersMethod_pre_save_checkpoint
r"""Implement the things you want to do before saving a checkpoint. For example, you can compute the K-mean features (pix2pixHD) before
trainers/base_trainer.py:195
↓ 1 callersFunction_resnet50
r"""Get resnet50 layers
loss/perceptual.py:283
↓ 1 callersFunction_rgb2ycbcr
(rgb)
third_part/Deep3DFaceRecon_pytorch/util/skin_mask.py:42
↓ 1 callersFunction_robust_resnet50
r"""Get robust resnet50 layers
loss/perceptual.py:302
↓ 1 callersFunction_save_checkpoint
( opt, net_G, net_G_ema, opt_G, sch_G, current_epoch, current_iteration )
trainers/base_trainer.py:543
↓ 1 callersMethod_set_custom_debug_parameter
r"""Set custom debug parame.
trainers/base_trainer.py:172
↓ 1 callersMethod_setup_renderer
(self, model_cfg)
third_part/decalib/deca.py:52
↓ 1 callersMethod_start_of_epoch
r"""Operations to do before starting an epoch. Args: current_epoch (int): Current number of epoch.
trainers/base_trainer.py:475
↓ 1 callersMethod_start_of_iteration
r"""Operations to do before starting an iteration. Args: data (dict): Data used for the current iteration. current_it
trainers/base_trainer.py:483
↓ 1 callersFunction_vgg16
r"""Get vgg16 layers
loss/perceptual.py:221
↓ 1 callersFunction_vgg19
r"""Get vgg19 layers
loss/perceptual.py:202
↓ 1 callersFunction_vgg_face_dag
r"""Get vgg face layers
loss/perceptual.py:328
↓ 1 callersMethod_write_custom_meters
r"""Dummy member function to be overloaded by the child class. In the child class, you can write down whatever you want to track.
trainers/base_trainer.py:178
↓ 1 callersMethod_write_loss_meters
r"""Write all loss values to tensorboard.
trainers/base_trainer.py:139
↓ 1 callersFunctionadd_hparams
r"""Add a set of hyperparameters to be compared in tensorboard. Args: hparam_dict (dictionary): Each key-value pair in the dictionary is
utils/meters.py:77
↓ 1 callersMethodadd_pointlight
vertices: [bz, nv, 3] lights: [bz, nlight, 6] returns: shading: [bz, nv, 3]
third_part/decalib/utils/renderer.py:308
↓ 1 callersMethodadd_table
(self, border=1)
third_part/PerceptualSimilarity/util/html.py:31
↓ 1 callersMethodalign_face
:param filepath: str :return: PIL Image
utils/video_preprocess/crop_videos.py:63
↓ 1 callersMethodalign_face
:param filepath: str :return: PIL Image
utils/video_preprocess/crop_videos_inference.py:23
↓ 1 callersFunctionalign_image_pil
Input: images PIL list lms batch tensor
utils/video_preprocess/align_face.py:113
↓ 1 callersFunctionalign_img
Return: transparams --numpy.array (raw_W, raw_H, scale, tx, ty) img_new --PIL.Image (target_size, target_size
third_part/Deep3DFaceRecon_pytorch/util/preprocess.py:168
↓ 1 callersFunctionangle_axis_to_quaternion
Convert an angle axis to a quaternion. Adapted from ceres C++ library: ceres-solver/include/ceres/rotation.h Args: angle_axis (torch
third_part/decalib/utils/rotation_converter.py:178
↓ 1 callersFunctionattribute_edit
(generator, data)
inference.py:187
↓ 1 callersFunctionaudio_reenactment
(generator, data, audio_path)
inference.py:77
↓ 1 callersFunctionaugment_bbox
(center, bbox_size, scale=[1.0, 1.0], trans_scale=0.)
third_part/decalib/utils/tensor_cropper.py:30
↓ 1 callersMethodbackward
(ctx, grad_output)
models/stylegan2/op/upfirdn2d.py:124
↓ 1 callersMethodbackward_train
(self)
third_part/PerceptualSimilarity/models/dist_model.py:202
↓ 1 callersFunctionbatch_axis2matrix
(theta)
third_part/decalib/utils/rotation_converter.py:318
↓ 1 callersFunctionbatch_euler2axis
(r)
third_part/decalib/utils/rotation_converter.py:300
↓ 1 callersFunctionbatch_matrix2euler
(rot_mats)
third_part/decalib/utils/rotation_converter.py:306
↓ 1 callersFunctionbatch_rigid_transform
Applies a batch of rigid transformations to the joints Parameters ---------- rot_mats : torch.tensor BxNx3x3 Tensor of rotat
third_part/decalib/models/lbs.py:321
↓ 1 callersFunctionbatch_rodrigues
same as batch_matrix2axis Calculates the rotation matrices for a batch of rotation vectors Parameters ---------- rot_vec
third_part/decalib/utils/rotation_converter.py:342
↓ 1 callersMethodbenchmark
(self, img)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_helper.py:222
↓ 1 callersFunctionblend_shapes
Calculates the per vertex displacement due to the blend shapes Parameters ---------- betas : torch.tensor Bx(num_betas) Blend s
third_part/decalib/models/lbs.py:250
↓ 1 callersMethodcal_l_F
(self, latent_F, F_init)
loss/iterative_inversion_loss.py:56
↓ 1 callersMethodcal_p_norm_loss
(self, latent_in)
loss/iterative_inversion_loss.py:60
↓ 1 callersFunctioncalculate_roc
(thresholds, embeddings1, embeddings2, actual_issame,
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval/verification.py:54
↓ 1 callersFunctioncalculate_val
(thresholds, embeddings1, embeddings2, actual_issame,
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval/verification.py:124
↓ 1 callersFunctioncall_func_by_name
Finds the python object with the given name and calls it as a function.
dnnlib/util.py:293
↓ 1 callersMethodcheck_batch
(self, img)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_helper.py:184
↓ 1 callersMethodclamp_weights
(self)
third_part/PerceptualSimilarity/models/dist_model.py:170
↓ 1 callersFunctioncomputeColor
(u, v)
utils/flow_util.py:142
↓ 1 callersMethodcompute_accuracy
d0, d1 are Variables, judge is a Tensor
third_part/PerceptualSimilarity/models/dist_model.py:205
↓ 1 callersMethodcompute_color
Return: face_color -- torch.tensor, size (B, N, 3), range (0, 1.) Parameters: face_texture -- torc
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:140
↓ 1 callersMethodcompute_for_render
Return: face_vertex -- torch.tensor, size (B, N, 3), in camera coordinate face_color -- torch.tensor, size (
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:274
↓ 1 callersMethodcompute_losses
Calculate losses, gradients, and update network weights; called in every training iteration
third_part/Deep3DFaceRecon_pytorch/models/facerecon_model.py:147
↓ 1 callersMethodcompute_norm
Return: vertex_norm -- torch.tensor, size (B, N, 3) Parameters: face_shape -- torch.tensor, size
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:117
↓ 1 callersMethodcompute_relative_distances
(self, cdist)
third_part/decalib/utils/lossfunc.py:397
↓ 1 callersMethodcompute_relative_distances
(self, cdist)
third_part/decalib/utils/lossfunc.py:578
↓ 1 callersMethodcompute_rotation
Return: rot -- torch.tensor, size (B, 3, 3) pts @ trans_mat Parameters: angles -- tor
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:174
↓ 1 callersMethodcompute_shape
Return: face_shape -- torch.tensor, size (B, N, 3) Parameters: id_coeff -- torch.tensor, size
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:86
↓ 1 callersMethodcompute_texture
Return: face_texture -- torch.tensor, size (B, N, 3), in RGB order, range (0, 1.) Parameters: tex_coeff
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:102
↓ 1 callersMethodconfigure_optimizers
(self)
third_part/decalib/trainer.py:75
↓ 1 callersMethodconfigure_optimizers
(self)
third_part/decalib/utils/trainer.py:72
↓ 1 callersFunctionconv1x1
1x1 convolution
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/backbones/iresnet.py:19
↓ 1 callersFunctionconv1x1
1x1 convolution
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/backbones/iresnet2060.py:22
↓ 1 callersFunctionconvert_onnx
(net, path_module, output, opset=11, simplify=False)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/torch2onnx.py:6
↓ 1 callersFunctioncreate_model
(opt)
third_part/PerceptualSimilarity/models/models.py:3
↓ 1 callersFunctioncreate_video
(image_folder, fps=25, video_format='.mp4', resize_ratio=1)
utils/video_util.py:129
↓ 1 callersFunctioncreate_video
(video_name, frames, fps=25, video_format='.mp4', resize_ratio=1)
utils/video_preprocess/crop_videos.py:183
↓ 1 callersMethodcrop
(self, frame_pils, lm_np)
utils/video_preprocess/crop_videos_inference.py:121
↓ 1 callersMethodcrop
(self, image, kpt)
third_part/decalib/datasets/train_datasets.py:168
↓ 1 callersMethodcrop
(self, image, kpt)
third_part/decalib/datasets/train_datasets.py:261
↓ 1 callersMethodcrop
(self, image, kpt)
third_part/decalib/datasets/train_datasets.py:353
↓ 1 callersMethodcrop
(self, image, kpt)
third_part/decalib/datasets/ethnicity.py:90
↓ 1 callersMethodcrop
(self, image, kpt)
third_part/decalib/datasets/vggface.py:85
↓ 1 callersMethodcrop
(self, image, kpt)
third_part/decalib/datasets/vggface.py:194
↓ 1 callersFunctioncrop_tensor
for batch image Args: image (torch.Tensor): the reference tensor of shape BXHxWXC. center: [bz, 2] bboxsize: [bz, 1]
third_part/decalib/utils/tensor_cropper.py:38
↓ 1 callersFunctiondata_sampler
(dataset, shuffle, distributed)
data/__init__.py:46
↓ 1 callersMethoddecompose_code
Convert a flattened parameter vector to a dictionary of parameters code_dict.keys() = ['shape', 'tex', 'exp', 'pose', 'cam', 'light']
third_part/decalib/deca.py:102
↓ 1 callersMethodedit
(self, x, factor=2, choice='age', wx=None, res=None, output_size=256)
models/hfgi/hfgi.py:101
↓ 1 callersMethodedit_style_code
(self, wx, factor, choice)
models/hfgi/editing.py:52
↓ 1 callersFunctionestimate_norm
Return: trans_m --numpy.array (2, 3) Parameters: lm --numpy.array (68, 2), y direction is opposi
third_part/Deep3DFaceRecon_pytorch/util/preprocess.py:200
↓ 1 callersFunctionestimate_norm_torch
(lm_68p, H)
third_part/Deep3DFaceRecon_pytorch/util/preprocess.py:223
↓ 1 callersFunctionevaluate
(embeddings, actual_issame, nrof_folds=10, pca=0)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval/verification.py:179
↓ 1 callersMethodevaluate
NOW validation
third_part/decalib/trainer.py:312
↓ 1 callersMethodevaluate
NOW validation
third_part/decalib/utils/trainer.py:208
↓ 1 callersMethodexp_norm_relative_dist
(self, relative_dist)
third_part/decalib/utils/lossfunc.py:403
↓ 1 callersMethodexp_norm_relative_dist
(self, relative_dist)
third_part/decalib/utils/lossfunc.py:584
↓ 1 callersFunctionextract
(model_root, dataset)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_ijbc.py:54
↓ 1 callersFunctionfilter_state_dict
(state_dict, remove_name='fc')
third_part/Deep3DFaceRecon_pytorch/models/networks.py:26
↓ 1 callersMethodfit
(self)
third_part/decalib/trainer.py:377
↓ 1 callersMethodforward
Run forward pass; called by both functions <optimize_parameters> and <test>.
third_part/Deep3DFaceRecon_pytorch/models/base_model.py:82
↓ 1 callersMethodforward
Run forward pass. This will be called by both functions <optimize_parameters> and <test>.
third_part/Deep3DFaceRecon_pytorch/models/template_model.py:84
↓ 1 callersMethodforward
(self)
third_part/Deep3DFaceRecon_pytorch/models/facerecon_model.py:136
↓ 1 callersMethodforward
Partial fc forward, `logits = X * sample(W)`
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/partial_fc.py:125
↓ 1 callersMethodforward
(self, x)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/backbones/iresnet.py:140
← previousnext →201–300 of 1,100, ranked by callers