Spaces:
Runtime error
Runtime error
Upload src/configs/base.yaml with huggingface_hub
Browse files- src/configs/base.yaml +47 -0
src/configs/base.yaml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# configs for all tasks
|
| 2 |
+
seq_len: 16
|
| 3 |
+
joints_num: 28
|
| 4 |
+
channels: 84
|
| 5 |
+
|
| 6 |
+
fix_mode: true
|
| 7 |
+
fixed_frame: 2
|
| 8 |
+
need_text_emb: true
|
| 9 |
+
use_cfg: true
|
| 10 |
+
|
| 11 |
+
diffusion:
|
| 12 |
+
fix_mode: ${fix_mode}
|
| 13 |
+
text_emb: ${need_text_emb}
|
| 14 |
+
fixed_frames: ${fixed_frame}
|
| 15 |
+
seq_len: ${seq_len}
|
| 16 |
+
timesteps: 100
|
| 17 |
+
beta_schedule: "linear"
|
| 18 |
+
|
| 19 |
+
train:
|
| 20 |
+
batchsize: 256
|
| 21 |
+
model_path: "../models" # all models trained are saved in this folder
|
| 22 |
+
total_epochs: 4000
|
| 23 |
+
# log_file: "ablation_64_frames.log"
|
| 24 |
+
learning_rate: 1e-4
|
| 25 |
+
|
| 26 |
+
unet:
|
| 27 |
+
dim_model: 512
|
| 28 |
+
num_heads: 16
|
| 29 |
+
num_layers: 8
|
| 30 |
+
dropout_p: 0.1
|
| 31 |
+
dim_input: ${channels}
|
| 32 |
+
dim_output: ${channels}
|
| 33 |
+
text_emb: ${need_text_emb}
|
| 34 |
+
|
| 35 |
+
dataset:
|
| 36 |
+
cfg_p: 0.10
|
| 37 |
+
seq_len: ${seq_len}
|
| 38 |
+
use_cfg: ${use_cfg}
|
| 39 |
+
scale: 2 # 20fps-> 10fps
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
# we only predict joints' positions, rather than full body mesh!
|
| 43 |
+
smplx:
|
| 44 |
+
model_path: "../smplx/models/" # smplx weights
|
| 45 |
+
model_type: "smplx_joint_only"
|
| 46 |
+
gender: "male"
|
| 47 |
+
ext: "npz"
|