add eval.py with metrics
This commit is contained in:
1 parent
11277e478f
commit
baed1fffe3
53 files changed
+5844
-378
No files matched your search
@@ -0,0 +1,83 @@
|
||||
GPUS: '1'
|
||||
WORKERS: 4
|
||||
OUTPUT_DIR: 'experiments/audio2mesh'
|
||||
|
||||
DEBUG: False
|
||||
verbose: False
|
||||
|
||||
VISUAL:
|
||||
use_HTML: False
|
||||
use_visdom: True
|
||||
vsdm_port: 9930
|
||||
vsdm_ncol: 4
|
||||
vsdm_env: "audio2mesh-actor2-5h-1-1-closure-pretrain"
|
||||
|
||||
FREQ:
|
||||
epoch_save: 5
|
||||
epoch_valid: 1
|
||||
batch_print: 20
|
||||
epoch_test: 5
|
||||
|
||||
MODEL:
|
||||
name: 'audio2mesh'
|
||||
name_netG: "audio2mesh"
|
||||
|
||||
dim_motion: 53 # 68*2
|
||||
dim_speech: 1024
|
||||
num_vertices: 5023
|
||||
|
||||
pretrain: True
|
||||
path_checkpoint: "experiments/audio2mesh/train_audio2mesh_CN_20220312/20220321-15H10M14S"
|
||||
load_epoch: 25
|
||||
|
||||
DATASET:
|
||||
fps: 50
|
||||
sr: 16000
|
||||
name: "motion_live"
|
||||
flip: False
|
||||
shifting_speed: True
|
||||
|
||||
root: './data/Actor2/Actor2-raw-5h' # obama-deca-3-5-08-mini
|
||||
root_raw: '/yrfs/lsen/DATA/Actor2/processing'
|
||||
path_mean_dict: './data/Actor2/DECA_Actor2_mean.npy'
|
||||
filter: 'savgol'
|
||||
speech_extractor: 'wav2vec'
|
||||
|
||||
nwind_second_train: 3
|
||||
nwind_second_valid: 3
|
||||
nwind_second_test: 15
|
||||
|
||||
TEST:
|
||||
batch_size: 2
|
||||
|
||||
TRAIN:
|
||||
lr: 0.000001
|
||||
batch_size: 128
|
||||
shuffle: True
|
||||
|
||||
apply_testing: True
|
||||
apply_validation: True
|
||||
|
||||
optimizer: 'Adam'
|
||||
momentum: 0.9
|
||||
beta1: 0.5
|
||||
beta2: 0.999
|
||||
weight_decay: 0.0001
|
||||
nesterov: True
|
||||
grad_clip_norm: False
|
||||
# lr_policy: 'multistep'
|
||||
# lr_milestones: [20, 50]
|
||||
lr_policy: 'plateau'
|
||||
|
||||
resume: False
|
||||
reset_lr: False
|
||||
resume_suffix: "20220128-10H10M10S"
|
||||
epoch_begin: 0 # 5000 # 2300 # 2600
|
||||
epoch_end: 100
|
||||
|
||||
|
||||
LOSS:
|
||||
names: ["all", "rec_geo", "rec_geo_w", "vel_geo", "vel_geo_w", "closure"]
|
||||
lambda_rec_geo: 1
|
||||
lambda_vel_geo: 1
|
||||
lambda_closure: 1
|
||||
Reference in new issue
Block a user