Files
audio-driven-face-animation/configs/model/model_audio2render.yaml
T
2022-05-14 23:20:55 +08:00

61 lines
1.2 KiB
YAML

_target_: src.models.module_audio2render.Audio2RenderModel
lr: 0.001
weight_decay: 0.0005
opt:
speech_extractor: wav2vec
sr: 16000
fps: 50
num_vertices: 5023
lambda_rec_geo: 1
lambda_vel_geo: 10
path_mean_dict: xxx/DECA_actor_mean.npy
path_init_expression_basis: ${path_cwd}/checkpoints/init_expression_basis.npy
opt_LOSS:
useSeg: True
lambda_lmk: 1
lambda_eyed: 1
lambda_lipd: 1
lambda_photo: 1
lambda_reg: 0.01
opt_netF:
n_shape: 100
n_exp: 50
flame_model_path: ${path_cwd}/data/mesh/generic_model.pkl
flame_lmk_embedding_path: ${path_cwd}/data/mesh/landmark_embedding.npy
opt_netT:
tex_type: 'BFM'
tex_path: ${path_cwd}/data/mesh/FLAME_albedo_from_BFM.npz
n_tex: 50
opt_netR:
rasterizer_type: pytorch3d
image_size: 512
uv_size: 512 #256
topology_path: ${path_cwd}/data/mesh/head_template.obj
face_mask_path: ${path_cwd}/data/mesh/uv_face_mask.png
face_eye_mask_path: ${path_cwd}/data/mesh/uv_face_eye_mask.png
mean_tex_path: ${path_cwd}/data/mesh/mean_texture.jpg
opt_netW:
path_ckpt_wav2vec: ${path_cwd}/checkpoints/wav2vec2
netG:
_target_: src.models.components.audio2motion.Audio2Motion
nc_motion: 53
nc_condit: 1024