Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cvlab-kaist/ControlFace
/ functions
Functions
408 in github.com/cvlab-kaist/ControlFace
⨍
Functions
408
◇
Types & classes
83
↓ 1 callers
Method
load_mask
(self, maskpath, h, w)
decalib/datasets/train_datasets.py:192
↓ 1 callers
Method
load_mask
(self, maskpath, h, w)
decalib/datasets/ethnicity.py:114
↓ 1 callers
Method
load_mask
(self, maskpath, h, w)
decalib/datasets/vggface.py:109
↓ 1 callers
Method
load_mask
(self, maskpath, h, w)
decalib/datasets/vggface.py:218
↓ 1 callers
Function
load_model
(args)
sample.py:106
↓ 1 callers
Function
load_state_dict
Set parameters converted from Caffe models authors of VGGFace2 provide. See https://www.robots.ox.ac.uk/~vgg/data/vgg_face2/. Arguments:
decalib/models/frnet.py:156
↓ 1 callers
Method
load_weights
Function to load luatorch pretrained Args: path: path for the luatorch pretrained
decalib/utils/lossfunc.py:491
↓ 1 callers
Function
main
()
sample.py:186
↓ 1 callers
Method
patch_extraction
(self, featmaps)
decalib/utils/lossfunc.py:388
↓ 1 callers
Method
patch_extraction
(self, featmaps)
decalib/utils/lossfunc.py:569
↓ 1 callers
Function
plot_kpts
Draw 68 key points Args: image: the input image kpt: (68, 3).
decalib/utils/util.py:579
↓ 1 callers
Function
points2bbox
(points, points_scale=None)
decalib/utils/tensor_cropper.py:13
↓ 1 callers
Function
prepare_control
()
tools/download_weights.py:83
↓ 1 callers
Method
prepare_data
(self)
decalib/trainer.py:361
↓ 1 callers
Method
prepare_data
(self)
decalib/utils/trainer.py:247
↓ 1 callers
Method
prepare_extra_step_kwargs
(self, generator, eta)
src/pipelines/pipeline_point.py:146
↓ 1 callers
Method
prepare_latents
( self, batch_size, num_channels_latents, width, height, dtype
src/pipelines/pipeline_point.py:167
↓ 1 callers
Method
prepare_point_embeddings
( self, handle_points, target_points, )
src/pipelines/pipeline_point.py:220
↓ 1 callers
Function
read_frames
(video_path)
src/utils/util.py:141
↓ 1 callers
Method
register_reference_hooks
( self, mode, do_ref_guidance, attention_auto_machine_weight
src/models/mutual_self_attention_point.py:120
↓ 1 callers
Function
resnet50
Constructs a ResNet-50 model.
decalib/models/frnet.py:149
↓ 1 callers
Function
rotation_matrix_to_quaternion
Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is based on algorithm described in https://github.com/KieranWynn/pyquatern
decalib/utils/rotation_converter.py:88
↓ 1 callers
Function
save_videos_from_pil_
(pil_images, path, fps=8)
src/utils/util.py:85
↓ 1 callers
Method
seletec_3d68
(self, vertices)
decalib/models/FLAME.py:169
↓ 1 callers
Method
set_attention_slice
r""" Enable sliced attention computation. When this option is enabled, the attention module splits the input tensor in slices to comp
src/models/unet_2d_condition.py:761
↓ 1 callers
Method
set_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/models/unet_2d_condition.py:700
↓ 1 callers
Function
set_rasterizer
(type = 'pytorch3d')
decalib/utils/renderer.py:22
↓ 1 callers
Function
set_up_point_attn_processor
(denoising_unet,point_embedding)
src/models/mutual_self_attention_point.py:31
↓ 1 callers
Function
standard_rasterize
decalib/utils/rasterizer/standard_rasterize_cuda.cpp:13
↓ 1 callers
Method
sum_normalize
(self, featmaps)
decalib/utils/lossfunc.py:384
↓ 1 callers
Method
sum_normalize
(self, featmaps)
decalib/utils/lossfunc.py:565
↓ 1 callers
Method
training_step
(self, batch, batch_nb, training_type='coarse')
decalib/trainer.py:110
↓ 1 callers
Method
training_step
(self, batch, batch_nb)
decalib/utils/trainer.py:101
↓ 1 callers
Function
transform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of
decalib/models/lbs.py:308
↓ 1 callers
Function
update_cfg
(cfg, cfg_file)
decalib/utils/config.py:122
↓ 1 callers
Method
validation_step
(self)
decalib/trainer.py:296
↓ 1 callers
Method
validation_step
(self)
decalib/utils/trainer.py:194
↓ 1 callers
Function
vertices2joints
Calculates the 3D joint locations from the vertices Parameters ---------- J_regressor : torch.tensor JxV The regressor array tha
decalib/models/lbs.py:230
↓ 1 callers
Function
video2sequence
(video_path, sample_step=10)
decalib/datasets/datasets.py:30
Function
PYBIND11_MODULE
decalib/utils/rasterizer/standard_rasterize_cuda.cpp:43
Method
__call__
( self, ref_image, pose_image, width, height, num_inference_st
src/pipelines/pipeline_point.py:231
Method
__call__
( self, attn, hidden_states: torch.FloatTensor, encoder_hidden_states: Optiona
src/models/attn_proc.py:48
Method
__getitem__
(self, index)
src/training_utils.py:75
Method
__getitem__
(self, index)
src/training_utils.py:205
Method
__getitem__
(self, index)
src/training_utils.py:303
Method
__getitem__
(self, index)
src/training_utils.py:378
Method
__getitem__
(self, index)
src/training_utils.py:466
Method
__getitem__
(self, index)
src/training_utils.py:552
Method
__getitem__
(self, index)
src/training_utils.py:690
Method
__getitem__
(self, idx)
decalib/datasets/vox.py:74
Method
__getitem__
(self, index)
decalib/datasets/aflw2000.py:37
Method
__getitem__
(self, index)
decalib/datasets/datasets.py:122
Method
__getitem__
(self, idx)
decalib/datasets/train_datasets.py:113
Method
__getitem__
(self, idx)
decalib/datasets/train_datasets.py:223
Method
__getitem__
(self, idx)
decalib/datasets/train_datasets.py:316
Method
__getitem__
(self, index)
decalib/datasets/train_datasets.py:444
Method
__getitem__
(self, index)
decalib/datasets/train_datasets.py:528
Method
__getitem__
(self, index)
decalib/datasets/now.py:31
Method
__getitem__
(self, idx)
decalib/datasets/ethnicity.py:37
Method
__getitem__
(self, idx)
decalib/datasets/vggface.py:39
Method
__getitem__
(self, idx)
decalib/datasets/vggface.py:149
Method
__init__
( self, path, path_arc=None, )
src/training_utils.py:154
Method
__init__
( self, path, )
src/training_utils.py:254
Method
__init__
( self, path,num, arc=None )
src/training_utils.py:344
Method
__init__
( self, path, arc=None )
src/training_utils.py:424
Method
__init__
( self, path, arc=None )
src/training_utils.py:519
Method
__init__
( self, path, arc_path, path_code=None, stage=1, )
src/training_utils.py:627
Method
__init__
( self, vae, image_encoder, reference_unet, denoising_unet, po
src/pipelines/pipeline_point.py:63
Method
__init__
(self)
src/models/pointemb.py:60
Method
__init__
( self, input_dim=2, vae_downsample_scale=8, unet_downsample_scale=8,
src/models/pointemb.py:69
Method
__init__
( self, num_attention_heads: int = 16, attention_head_dim: int = 88, in_channe
src/models/transformer_2d.py:63
Method
__init__
( self, sample_size: Optional[int] = None, in_channels: int = 4, out_channels:
src/models/unet_2d_condition.py:160
Method
__init__
(self, embed_dim, hidden_size, use_norm=False)
src/models/attn_proc.py:33
Method
__init__
( self, dim: int, num_attention_heads: int, attention_head_dim: int, d
src/models/attention.py:298
Method
__init__
(self, unet, mode="write", do_ref_guidance=False,
src/models/mutual_self_attention_point.py:85
Method
__init__
(self, in_channels: int, out_channels: int, act_fn: str)
src/models/unet_2d_blocks.py:202
Method
__init__
( self, in_channels: int, temb_channels: int, dropout: float = 0.0, nu
src/models/unet_2d_blocks.py:254
Method
__init__
( self, in_channels: int, temb_channels: int, dropout: float = 0.0, nu
src/models/unet_2d_blocks.py:357
Method
__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
src/models/unet_2d_blocks.py:501
Method
__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
src/models/unet_2d_blocks.py:662
Method
__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
src/models/unet_2d_blocks.py:760
Method
__init__
( self, conditioning_embedding_channels: int, conditioning_channels: int = 3,
src/models/pose_guider.py:13
Method
__init__
( self, channels, use_conv=False, out_channels=None, padding=1, name="conv" )
src/models/resnet.py:94
Method
__init__
( self, *, in_channels, out_channels=None, conv_shortcut=False,
src/models/resnet.py:124
Method
__init__
( self, in_channels, num_attention_heads=8, num_transformer_block=2, a
src/models/motion_module.py:45
Method
__init__
( self, in_channels, num_attention_heads, attention_head_dim, num_laye
src/models/motion_module.py:95
Method
__init__
( self, dim, num_attention_heads, attention_head_dim, attention_block_
src/models/motion_module.py:186
Method
__init__
( self, attention_mode=None, cross_frame_attention_mode=None, temporal_positio
src/models/motion_module.py:281
Method
__init__
(self, config=None, device='cuda')
decalib/deca.py:39
Method
__init__
(self, model, config=None, device='cuda:0')
decalib/trainer.py:44
Method
__init__
use fixed raster_settings for rendering faces
decalib/utils/renderer.py:52
Method
__init__
use fixed raster_settings for rendering faces
decalib/utils/renderer.py:114
Method
__init__
(self)
decalib/utils/lossfunc.py:340
Method
__init__
(self, featlayer=VGG19FeatLayer)
decalib/utils/lossfunc.py:374
Method
__init__
(self)
decalib/utils/lossfunc.py:553
Method
__init__
(self, pretrained_model, pretrained_data='vggface2')
decalib/utils/lossfunc.py:641
Method
__init__
(self, crop_size, scale=[1,1], trans_scale = 0.)
decalib/utils/tensor_cropper.py:86
Method
__init__
(self, **kwargs)
decalib/utils/util.py:558
Method
__init__
(self, model, config=None, device='cuda:0')
decalib/utils/trainer.py:44
Method
__init__
(self, K, image_size, scale, trans_scale = 0, dataname='vox2', n_train=100000, isTemporal=False, isEval=False,
decalib/datasets/vox.py:13
← previous
next →
101–200 of 408, ranked by callers