MCPcopy Create free account

hub / github.com/OpenTalker/StyleHEAT / functions

Functions1,100 in github.com/OpenTalker/StyleHEAT

↓ 1 callersFunctionpreprocess_path_for_deform_task
(gt_path, distorted_path)
utils/lpips.py:31
↓ 1 callersMethodprint_options
Print and save options It will print both current options and default values(if different). It will save options into a text file / [
third_part/Deep3DFaceRecon_pytorch/options/base_options.py:92
↓ 1 callersMethodrandom_select_frames
(self, video_item)
data/audio_dataset.py:331
↓ 1 callersMethodrandom_select_frames
(self, video_item)
data/video_dataset.py:133
↓ 1 callersMethodrandom_select_frames
(self, video_item)
data/vox_dataset.py:122
↓ 1 callersFunctionread_template_media_list
(path)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval_ijbc.py:120
↓ 1 callersFunctionread_template_media_list
(path)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_ijbc.py:78
↓ 1 callersFunctionread_template_pair_list
(path)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval_ijbc.py:131
↓ 1 callersFunctionread_template_pair_list
(path)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_ijbc.py:85
↓ 1 callersFunctionread_template_pair_list
(path)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/utils/plot.py:19
↓ 1 callersFunctionread_video
(filename, uplimit=100)
utils/video_preprocess/crop_videos.py:164
↓ 1 callersFunctionrecursive_update
Recursively update AttrDict d with AttrDict u
configs/config.py:203
↓ 1 callersMethodreset
r"""Reset the meter values
utils/meters.py:119
↓ 1 callersFunctionresize_n_crop
(image, M, dsize=112)
third_part/Deep3DFaceRecon_pytorch/models/networks.py:21
↓ 1 callersFunctionresize_n_crop_img
(img, lm, t, s, target_size=224., mask=None)
third_part/Deep3DFaceRecon_pytorch/util/preprocess.py:136
↓ 1 callersFunctionresnet50
Constructs a ResNet-50 model.
third_part/decalib/models/frnet.py:149
↓ 1 callersFunctionrgetattr
Recursively find object and return value
configs/config.py:193
↓ 1 callersFunctionrotation_matrix_to_quaternion
Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is based on algorithm described in https://github.com/KieranWynn/pyquatern
third_part/decalib/utils/rotation_converter.py:88
↓ 1 callersMethodsample
Sample all positive class centers in each rank, and random select neg class centers to filling a fixed `num_sample`. total_l
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/partial_fc.py:100
↓ 1 callersMethodsave_fs_latent
(self, save_path, image, w_latent, f_latent)
models/hfgi/hfgi.py:172
↓ 1 callersMethodsave_params
Save softmax weight for each rank on prefix
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/partial_fc.py:93
↓ 1 callersMethodscale
Multiplies ('scales') a tensor or list of tensors by the scale factor. Returns scaled outputs. If this instance of :class:`GradScal
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/utils/utils_amp.py:46
↓ 1 callersMethodscale_clip
(self)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/utils/utils_amp.py:37
↓ 1 callersMethodseletec_3d68
(self, vertices)
third_part/decalib/models/FLAME.py:169
↓ 1 callersMethodset_input
(self, data)
third_part/PerceptualSimilarity/models/dist_model.py:175
↓ 1 callersFunctionset_random_seed
r"""Set random seeds for everything. Args: seed (int): Random seed. by_rank (bool):
utils/trainer.py:22
↓ 1 callersFunctionset_rasterizer
(type = 'pytorch3d')
third_part/decalib/utils/renderer.py:24
↓ 1 callersFunctionset_summary_writer
r"""Set summary writer Args: log_dir (str): Log directory.
utils/meters.py:51
↓ 1 callersMethodsetup
Load and print networks; create schedulers Parameters: opt (Option class) -- stores all the experiment flags; needs to be a subcl
third_part/Deep3DFaceRecon_pytorch/models/base_model.py:91
↓ 1 callersMethodshortcut
(self, x, z)
models/styleheat/base_function.py:147
↓ 1 callersFunctionskinmask
(imbgr)
third_part/Deep3DFaceRecon_pytorch/util/skin_mask.py:90
↓ 1 callersFunctionsn_reshape_weight_to_matrix
r"""Reshape weight to obtain the matrix form. Args: weight (Parameters): pytorch layer parameter tensor.
utils/meters.py:16
↓ 1 callersFunctionstandard_rasterize
third_part/decalib/utils/rasterizer/standard_rasterize_cuda.cpp:13
↓ 1 callersMethodsum_normalize
(self, featmaps)
third_part/decalib/utils/lossfunc.py:384
↓ 1 callersMethodsum_normalize
(self, featmaps)
third_part/decalib/utils/lossfunc.py:565
↓ 1 callersFunctiontensor2im
Converts a Tensor array into a numpy image array. Parameters: input_image (tensor) -- the input image tensor array, range(0, 1)
third_part/Deep3DFaceRecon_pytorch/util/util.py:56
↓ 1 callersFunctiontensor2im
(image_tensor, imtype=np.uint8, cent=1., factor=255./2.)
third_part/PerceptualSimilarity/util/util.py:136
↓ 1 callersFunctiontensor2img
(var)
utils/common.py:43
↓ 1 callersFunctiontensor2np
(tensor_obj)
third_part/PerceptualSimilarity/util/util.py:89
↓ 1 callersMethodtest
Forward function used in test time. This function wraps <forward> function in no_grad() so we don't save intermediate steps for backprop
third_part/Deep3DFaceRecon_pytorch/models/base_model.py:155
↓ 1 callersMethodtest_everything
r"""Test the functions defined in the models. by default, we will test the training function, the inference function, the visualization functi
trainers/base_trainer.py:148
↓ 1 callersMethodto_camera
(self, face_shape)
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:210
↓ 1 callersMethodto_image
Return: face_proj -- torch.tensor, size (B, N, 2), y direction is opposite to v direction Parameters:
third_part/Deep3DFaceRecon_pytorch/models/bfm.py:214
↓ 1 callersMethodtraining_step
(self, batch, batch_nb, training_type='coarse')
third_part/decalib/trainer.py:110
↓ 1 callersMethodtraining_step
(self, batch, batch_nb)
third_part/decalib/utils/trainer.py:101
↓ 1 callersFunctiontransferBFM09
(bfm_folder='BFM')
third_part/Deep3DFaceRecon_pytorch/util/load_mats.py:32
↓ 1 callersFunctiontransform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of
third_part/decalib/models/lbs.py:308
↓ 1 callersFunctiontransform_semantic
(semantic, frame_index)
inference.py:154
↓ 1 callersMethodtransform_semantic
(self, semantic, frame_index)
data/inference_dataset.py:148
↓ 1 callersFunctionupdate_cfg
(cfg, cfg_file)
third_part/decalib/utils/config.py:123
↓ 1 callersMethodvalidation_step
(self)
third_part/decalib/trainer.py:296
↓ 1 callersMethodvalidation_step
(self)
third_part/decalib/utils/trainer.py:194
↓ 1 callersMethodver_test
(self, backbone: torch.nn.Module, global_step: int)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/utils/utils_callbacks.py:23
↓ 1 callersFunctionverification
(template_norm_feats=None, unique_templates=None, p1=None,
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval_ijbc.py:252
↓ 1 callersFunctionverification
(template_norm_feats=None, unique_templates=None, p1=None,
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_ijbc.py:125
↓ 1 callersFunctionvertices2joints
Calculates the 3D joint locations from the vertices Parameters ---------- J_regressor : torch.tensor JxV The regressor array tha
third_part/decalib/models/lbs.py:230
↓ 1 callersFunctionvideo2sequence
(video_path)
third_part/decalib/datasets/datasets.py:31
↓ 1 callersFunctionvis_flow
(flow)
utils/flow_util.py:178
↓ 1 callersMethodvisofp
visibility of keypoints, based on the normal direction
third_part/decalib/deca.py:131
↓ 1 callersMethodwrite
Write text to stdout (and a file) and optionally flush.
dnnlib/util.py:78
↓ 1 callersMethodwrite_image
r"""Write the value in the tensorboard. Args: img_grid: step (int): Epoch or iteration number.
utils/meters.py:144
↓ 1 callersFunctionwrite_summary
Utility function for write summary to log_writer.
utils/meters.py:63
↓ 1 callersMethodz_score
(self, x: torch.Tensor)
loss/lpips.py:62
FunctionPYBIND11_MODULE
models/stylegan2/op/fused_bias_act.cpp:19
FunctionPYBIND11_MODULE
models/stylegan2/op/upfirdn2d.cpp:21
FunctionPYBIND11_MODULE
third_part/decalib/utils/rasterizer/standard_rasterize_cuda.cpp:43
Method__call__
image_1: images with size (n, 3, w, h) with value [-1, 1] image_2: images with size (n, 3, w, h) with value [-1, 1]
utils/lpips.py:54
Method__call__
(self, num_update, backbone: torch.nn.Module)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/utils/utils_callbacks.py:44
Method__call__
(self, global_step: int, loss: AverageMeter, epoch: int,
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/utils/utils_callbacks.py:64
Method__call__
(self, global_step, backbone, partial_fc, )
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/utils/utils_callbacks.py:110
Method__call__
(self, module)
third_part/PerceptualSimilarity/util/util.py:373
Method__delattr__
(self, name: str)
dnnlib/util.py:52
Method__enter__
(self)
dnnlib/util.py:72
Method__exit__
(self, exc_type: Any, exc_value: Any, traceback: Any)
dnnlib/util.py:75
Method__getitem__
(self, index)
data/audio_dataset.py:113
Method__getitem__
(self, index)
data/video_dataset.py:84
Method__getitem__
(self, index)
data/vox_dataset.py:84
Method__getitem__
(self, idx)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_ijbc.py:37
Method__getitem__
(self, index)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/dataset.py:93
Method__getitem__
(self, index)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/dataset.py:120
Method__getitem__
(self, idx)
third_part/decalib/datasets/vox.py:74
Method__getitem__
(self, index)
third_part/decalib/datasets/aflw2000.py:37
Method__getitem__
(self, index)
third_part/decalib/datasets/datasets.py:99
Method__getitem__
(self, idx)
third_part/decalib/datasets/train_datasets.py:113
Method__getitem__
(self, idx)
third_part/decalib/datasets/train_datasets.py:223
Method__getitem__
(self, idx)
third_part/decalib/datasets/train_datasets.py:316
Method__getitem__
(self, index)
third_part/decalib/datasets/train_datasets.py:444
Method__getitem__
(self, index)
third_part/decalib/datasets/train_datasets.py:531
Method__getitem__
(self, index)
third_part/decalib/datasets/now.py:31
Method__getitem__
(self, idx)
third_part/decalib/datasets/ethnicity.py:37
Method__getitem__
(self, idx)
third_part/decalib/datasets/vggface.py:39
Method__getitem__
(self, idx)
third_part/decalib/datasets/vggface.py:149
Method__init__
(self, *args, **kwargs)
configs/config.py:12
Method__init__
(self, name)
utils/meters.py:114
Method__init__
(self, use_gpu=True)
utils/lpips.py:49
Method__init__
(self)
utils/video_preprocess/extract_3dmm.py:22
Method__init__
(self)
utils/video_preprocess/crop_videos.py:36
Method__init__
(self)
utils/video_preprocess/crop_videos_inference.py:20
Method__init__
(self, opt, is_inference)
data/audio_dataset.py:24
Method__init__
(self, opt, is_inference)
data/video_dataset.py:25
← previousnext →401–500 of 1,100, ranked by callers