MCPcopy Create free account

hub / github.com/OpenTalker/StyleHEAT / functions

Functions1,100 in github.com/OpenTalker/StyleHEAT

Methodbackward
(ctx, grad_output)
models/stylegan2/op/fused_act.py:62
Methodbackward
(ctx, gradgrad_input)
models/stylegan2/op/upfirdn2d.py:60
Functionbatch_axis2euler
(theta)
third_part/decalib/utils/rotation_converter.py:325
Functionbatch_euler2matrix
(r)
third_part/decalib/utils/rotation_converter.py:303
Functionbatch_matrix2axis
(rot_mats)
third_part/decalib/utils/rotation_converter.py:315
Functionbatch_orth_proj
X is N x num_pquaternion_to_angle_axisoints x 3
third_part/decalib/utils/rotation_converter.py:332
Functionbatch_orth_proj
orthgraphic projection X: 3d vertices, [bz, n_point, 3] camera: scale and translation, [bz, 3], [scale, tx, ty]
third_part/decalib/utils/util.py:283
Functionbatchify_fn
(data)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/onnx_ijbc.py:59
Functionbinary_erosion
(tensor, kernel_size=5)
third_part/decalib/utils/util.py:478
Functionbootstrap
(in_vec,num_samples=100,bootfunc=np.mean)
third_part/PerceptualSimilarity/util/util.py:34
Functionbuild_dataloader
(config, is_train=True)
third_part/decalib/datasets/train_datasets.py:14
Functionbuild_inference_dataset
(args, opt)
utils/inference_util.py:124
Functionbuild_train
(config, is_train=True)
third_part/decalib/datasets/build_datasets.py:18
Functionbuild_val
(config, is_train=True)
third_part/decalib/datasets/build_datasets.py:36
Methodcalculate_from_disk
(self, gt_path, distorted_path, batch_size=64, verbose=False, for_deformation=True)
utils/lpips.py:62
Functioncheck_list
(rlms_list, rimgs_list, rmsks_list)
third_part/Deep3DFaceRecon_pytorch/util/generate_list.py:21
Functioncheck_mkdir
(path)
third_part/decalib/utils/util.py:527
Functioncheck_mkdirlist
(pathlist)
third_part/decalib/utils/util.py:532
Functioncompare_frames
(save_dir, origin_dir, target_dir, strs='Original,Projected,Manipulated', dim=1)
utils/video_util.py:68
Methodcompute_visuals
Calculate additional output images for visdom and HTML visualization
third_part/Deep3DFaceRecon_pytorch/models/base_model.py:165
Methodcompute_visuals
(self)
third_part/Deep3DFaceRecon_pytorch/models/facerecon_model.py:188
Functionconstruct_class_by_name
Finds the python class with the given name and constructs it with the given arguments.
dnnlib/util.py:301
Functionconvert_flow_to_deformation
r"""convert flow fields to deformations. Args: flow (tensor): Flow field obtained by the model Returns: deformation (tensor):
utils/flow_util.py:5
Methodconvert_output
(d0)
third_part/PerceptualSimilarity/models/dist_model.py:134
Functioncopy_files_and_create_dirs
Takes in a list of tuples of (src, dst) paths and copies files. Will create all necessary directories.
dnnlib/util.py:362
Functioncopy_state_dict
(cur_state_dict, pre_state_dict, prefix='', load_name=None)
third_part/decalib/utils/util.py:507
Functioncopyconf
(default_opt, **kwargs)
third_part/Deep3DFaceRecon_pytorch/util/util.py:25
Functioncorrect_resize
(t, size, mode=Image.BICUBIC)
third_part/Deep3DFaceRecon_pytorch/util/util.py:169
Functioncorrect_resize_label
(t, size)
third_part/Deep3DFaceRecon_pytorch/util/util.py:155
Functioncos_sim
(in0,in1)
third_part/PerceptualSimilarity/util/util.py:77
Functioncos_sim_blob
(in0,in1)
third_part/PerceptualSimilarity/util/util.py:65
Functioncreate_model
Create a model given the option. This function warps the class CustomDatasetDataLoader. This is the main interface between this package and '
third_part/Deep3DFaceRecon_pytorch/models/__init__.py:55
Functioncreate_video_multi_column
(image_folder_list, fps=25, video_format='.mp4', resize_ratio=1)
utils/video_util.py:147
Methodcrop
(self, image, points, points_scale=None)
third_part/decalib/utils/tensor_cropper.py:91
Methoddata_dependent_initialize
(self, data)
third_part/Deep3DFaceRecon_pytorch/models/base_model.py:138
Functiondatetime_str
()
third_part/PerceptualSimilarity/util/util.py:18
Functiondefine_net_recog
(net_recog, pretrained_path=None)
third_part/Deep3DFaceRecon_pytorch/models/networks.py:64
Functiondefine_net_recon
(net_recon, use_last_fc=False, init_path=None)
third_part/Deep3DFaceRecon_pytorch/models/networks.py:61
Functiondeg2rad
Function that converts angles from degrees to radians. See :class:`~torchgeometry.DegToRad` for details. Args: tensor (Tensor): Tens
third_part/decalib/utils/rotation_converter.py:44
Functiondiagnose_network
Calculate and print the mean of average absolute(gradients) Parameters: net (torch network) -- Torch network name (str) -- the na
third_part/Deep3DFaceRecon_pytorch/util/util.py:77
Functiondiagnose_network
(net, name='network')
third_part/PerceptualSimilarity/util/util.py:150
Functiondict2obj
(d)
third_part/decalib/utils/util.py:545
Methoddict_grad_hook_factory
(add_func=lambda x: x)
third_part/Deep3DFaceRecon_pytorch/models/base_model.py:49
Functiondict_tensor2npy
(tensor_dict)
third_part/decalib/utils/util.py:571
Methoddisplay_current_results
Display current results on tensorboad; save current results to an HTML file. Parameters: visuals (OrderedDict) - - dictionary of
third_part/Deep3DFaceRecon_pytorch/util/visualizer.py:82
Methoddisplay_current_results
Display current results on tensorboad; save current results to an HTML file. Parameters: visuals (OrderedDict) - - dictionary of
third_part/Deep3DFaceRecon_pytorch/util/visualizer.py:174
Methoddisplay_current_results
(self, visuals, epoch, nrows=None, res=256)
third_part/PerceptualSimilarity/util/visualizer.py:43
Functiondist_all_gather_tensor
r""" gather to all ranks
utils/distributed.py:79
Functiondist_all_reduce_tensor
r""" Reduce to all ranks
utils/distributed.py:68
Functiondist_reduce_tensor
r""" Reduce to rank 0
utils/distributed.py:56
FunctiondivideIntoNstrand
(listTemp, n)
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval_ijbc.py:113
Functiondraw_landmarks
Return: img -- numpy.array, (B, H, W, 3) img with landmark, RGB order, range (0, 255) Parameters: img
third_part/Deep3DFaceRecon_pytorch/util/util.py:180
Functiondssim
(p0, p1, range=255.)
third_part/PerceptualSimilarity/util/util.py:50
FunctiondumpR
(data_set, backbone, batch_size, name='', data_extra=None, l
third_part/Deep3DFaceRecon_pytorch/models/arcface_torch/eval/verification.py:275
Methode4e_inverse
(self, x)
models/hfgi/hfgi.py:123
Functioneyed_loss
(predicted_landmarks, landmarks_gt, weight=1.)
third_part/decalib/utils/lossfunc.py:165
Functionface_vertices
:param vertices: [batch size, number of vertices, 3] :param faces: [batch size, number of faces, 3] :return: [batch size, number of face
third_part/decalib/utils/util.py:229
Functionfind_class_in_module
(target_cls_name, module)
third_part/Deep3DFaceRecon_pytorch/util/util.py:43
Methodfind_crop_norm_ratio
(self, source_coeff, target_coeffs)
data/audio_dataset.py:350
Methodfind_crop_norm_ratio
(self, source_coeff, target_coeffs)
data/inference_dataset.py:160
Functionfind_dynamic_lmk_idx_and_bcoords
Compute the faces, barycentric coordinates for the dynamic landmarks To do so, we first compute the rotation of the neck around the y-axis
third_part/decalib/models/lbs.py:34
Methodfit
(self)
third_part/decalib/utils/trainer.py:262
Functionflatten_nested_list
(nested_list)
third_part/PerceptualSimilarity/util/util.py:379
Functionflip_image
purpose: flip a image given by src_image and the 2d keypoints flip_mode: 0: horizontal flip >0:
third_part/decalib/utils/util.py:488
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
dnnlib/util.py:139
Functionformat_time_brief
Convert the seconds to human readable string with days, hours, minutes and seconds.
dnnlib/util.py:153
Methodforward
(self, input)
models/e4e/helpers.py:12
Methodforward
(self, x)
models/e4e/helpers.py:66
Methodforward
(self, x)
models/e4e/helpers.py:92
Methodforward
(self, x)
models/e4e/helpers.py:117
Methodforward
(self, x)
models/e4e/e4e.py:49
Methodforward
(self, x)
models/e4e/e4e.py:105
Methodforward
(self, x)
models/e4e/e4e.py:141
Methodforward
(self, input_3dmm)
models/styleheat/calibration_net.py:30
Methodforward
(self, x)
models/styleheat/calibration_net.py:88
Methodforward
(self, x)
models/styleheat/calibration_net.py:119
Methodforward
( self, x, z, # 3dmm )
models/styleheat/calibration_net.py:205
Methodforward
(self, input_image, warp_image, descriptor)
models/styleheat/calibration_net.py:272
Methodforward
(self, x)
models/styleheat/base_function.py:18
Methodforward
(self, x, z)
models/styleheat/base_function.py:35
Methodforward
(self, x, z)
models/styleheat/base_function.py:51
Methodforward
(self, x, z)
models/styleheat/base_function.py:83
Methodforward
(self, x, z)
models/styleheat/base_function.py:105
Methodforward
(self, x, z)
models/styleheat/base_function.py:140
Methodforward
(self, x, feature)
models/styleheat/base_function.py:176
Methodforward
(self, x)
models/styleheat/base_function.py:208
Methodforward
(self, x, z)
models/styleheat/base_function.py:240
Methodforward
(self, x, z)
models/styleheat/base_function.py:276
Methodforward
(self, x)
models/styleheat/base_function.py:305
Methodforward
(self, x)
models/styleheat/base_function.py:323
Methodforward
(self, x)
models/styleheat/base_function.py:338
Methodforward
(self, x, z)
models/styleheat/base_function.py:352
Methodforward
(self, x)
models/styleheat/base_function.py:370
Methodforward
(self, x, z)
models/styleheat/base_function.py:392
Methodforward
(self, x)
models/styleheat/base_function.py:417
Methodforward
:param input_image: :param driving_source: :return: output: dict: {'warp_image', 'flow_field', 'descriptor'}
models/styleheat/warper.py:32
Methodforward
( self, input_image, driving_source )
models/styleheat/warper.py:67
Methodforward
(self, input_3dmm)
models/styleheat/warper.py:98
Methodforward
(self, input_image, descriptor)
models/styleheat/warper.py:135
Methodforward
(self, input_image, driven_3dmm, driven_audio=None, inv_data=None, imsize=512)
models/styleheat/styleheat.py:73
← previousnext →701–800 of 1,100, ranked by callers