add eval.py with metrics

This commit is contained in:
Sen Liang committed 2022-04-01 11:30:24 +08:00
1 parent 11277e478f
commit baed1fffe3
53 files changed
+5844 -378

No files matched your search

@@ -1,11 +1,20 @@
GPUS: '9'
isTrain: False
DEBUG: False
GPUS: '8'
WORKERS: 4
OUTPUT_DIR: 'experiments/audio2mesh'
DEBUG: False
verbose: False
isTrain: False
FREQ:
epoch_save: 5
epoch_valid: 1
batch_print: 20
epoch_test: 5
MODEL:
# name: 'audio2mesh'
name: 'audio2mesh_specific'
name: 'audio2mesh2'
name_netG: "audio2mesh"
dim_motion: 53 # 68*2
@@ -13,18 +22,44 @@ MODEL:
num_vertices: 5023
pretrain: True
path_checkpoint: "experiments/audio2mesh/train_audio2mesh_CN_20220314/20220315-18H24M47S"
load_epoch: 10
# # # 1h 1:10
path_checkpoint: "experiments/audio2mesh/train_audio2mesh_CN_20220314/20220315-02H14M47S"
load_epoch: 100
# # # 2h 1:10
# path_checkpoint: "experiments/audio2mesh/train_audio2mesh_CN_20220314/20220315-18H22M47S"
# load_epoch: 100
# # 3h 1:100
# path_checkpoint: "experiments/audio2mesh/train_audio2mesh_CN_20220314/20220316-16H38M26S"
# load_epoch: 100
# # 5h
# path_checkpoint: "experiments/audio2mesh/train_audio2mesh_CN_20220314/20220321-17H42M19S"
# load_epoch: 100
DATASET:
fps: 50
sr: 16000
name: "motion_live"
path_mean_dict: './data/Actor1/DECA_Actor1_mean.npy'
# name: "motion_live"
name: "motion_eval"
root: './data/Actor1/Actor1-raw-1h' # obama-deca-3-5-08-mini
root_raw: '/yrfs/lsen/DATA/Actor1/processing'
path_mean_dict: './data/Actor1/DECA_Actor1_mean.npy'
filter: 'savgol'
speech_extractor: 'wav2vec'
nwind_second_train: 3
nwind_second_valid: 3
nwind_second_test: 15
TRAIN:
apply_testing: True
apply_validation: True
LOSS:
names: ["rec_geo", "vel_geo", "rec_ldmk", "closure_x", "closure_y"]