XENONNONE commited on
Commit
ef31a2c
·
verified ·
1 Parent(s): 5349d9e

Upload shortcut_rvqvae_128.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. shortcut_rvqvae_128.yaml +139 -0
shortcut_rvqvae_128.yaml ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ wandb_project: 'GestureLSM'
2
+ exp_name: 'shortcut_rvqvae_128'
3
+
4
+ wandb_entity: 'xxxx'
5
+ wandb_key: "xxxxxxx"
6
+ wandb_log_dir: './outputs/wandb'
7
+ output_dir: ./outputs/weights
8
+ log_period: 10
9
+ val_period: 20
10
+ gpus: [0]
11
+ seed: 42
12
+ ddp: false
13
+ debug: false
14
+
15
+ vqvae_upper_path: ./ckpt/net_300000_upper.pth
16
+ vqvae_hands_path: ./ckpt/net_300000_hands.pth
17
+ vqvae_lower_path: ./ckpt/net_300000_lower.pth
18
+
19
+
20
+
21
+ grad_ckpt: False # whether to use gradient checkpointing, for memory saving
22
+
23
+
24
+ pre_frames: 4
25
+ pose_length: 128
26
+ vqvae_squeeze_scale: 4
27
+ vqvae_latent_scale: 5
28
+ vae_length: 240
29
+ vae_test_len: 32
30
+ mean_pose_path: "./mean_std/rep15d_mean.npy"
31
+ std_pose_path: "./mean_std/rep15d_std.npy"
32
+
33
+ data:
34
+ name_pyfile: "dataloaders.beat_sep_lower"
35
+ class_name: "CustomDataset"
36
+ train_bs: 128
37
+ multi_length_training: [1.0]
38
+ root_path: ./
39
+ beat_align: True
40
+ pose_rep: smplxflame_30
41
+
42
+ pose_norm: True
43
+ pose_fps: 30
44
+ rot6d: True
45
+ pose_dims: 825
46
+ pose_length: 128
47
+ stride: 20
48
+ test_length: 128
49
+ audio_sr: 16000
50
+ audio_fps: 16000
51
+ audio_norm: False
52
+
53
+ data_path_1: ./datasets/hub/
54
+ data_path: ./datasets/BEAT_SMPL/beat_v2.0.0/beat_english_v2.0.0/
55
+ training_speakers: [2]
56
+ additional_data: False
57
+ cache_path: ./datasets/beat_cache/beat_smplx_en_emage_2_128/
58
+ new_cache: False
59
+ disable_filtering: False
60
+ clean_first_seconds: 0
61
+ clean_final_seconds: 0
62
+
63
+ audio_rep: onset+amplitude
64
+ word_rep: textgrid
65
+ t_pre_encoder: fasttext
66
+ facial_rep: smplxflame_30
67
+ id_rep: onehot
68
+ emo_rep: null
69
+ sem_rep: null
70
+ test_clip: False
71
+ onset_rep: True
72
+
73
+ model:
74
+ model_name: LSM
75
+ g_name: GestureLSM
76
+ do_classifier_free_guidance: False
77
+ guidance_scale: 2
78
+ n_steps: 2
79
+ use_exp: False
80
+
81
+ denoiser:
82
+ target: models.denoiser.GestureDenoiser
83
+ params:
84
+ input_dim: 128
85
+ latent_dim: 256
86
+ ff_size: 1024
87
+ num_layers: 8
88
+ num_heads: 4
89
+ dropout: 0.1
90
+ activation: "gelu"
91
+ n_seed: 8
92
+ seq_len: 32
93
+ flip_sin_to_cos: True
94
+ freq_shift: 0.0
95
+ cond_proj_dim: 256
96
+ use_exp: ${model.use_exp}
97
+
98
+ modality_encoder:
99
+ target: models.layers.modality_encoder.ModalityEncoder
100
+ params:
101
+ data_path: ./datasets/BEAT_SMPL/beat_v2.0.0/beat_english_v2.0.0/
102
+ t_fix_pre: False
103
+ audio_dim: 256
104
+ audio_in: 2
105
+ raw_audio: False
106
+ latent_dim: 256
107
+ audio_fps: 30
108
+ target_length: 128
109
+ spatial_temporal: True
110
+ use_exp: ${model.use_exp}
111
+
112
+
113
+ validation:
114
+ val_loss_steps: 200
115
+ validation_steps: 1000
116
+
117
+ solver:
118
+ opt: 'adam'
119
+ epochs: 1000
120
+ grad_norm: 1.0
121
+ momentum: 0.8
122
+ nesterov: True
123
+ amsgrad: False
124
+
125
+ # lr
126
+ lr_base: 2e-4
127
+ lr_policy: 'step'
128
+ decay_rate: 0.1
129
+ lr_warmup_steps: 50
130
+ decay_epochs: 500
131
+ warmup_epochs: 0
132
+ warmup_lr: 5e-4
133
+ lr_min: 1e-7
134
+ weight_decay: 0.0
135
+ opt_betas: [0.5, 0.999]
136
+
137
+
138
+
139
+