yu-qing
commited on
Commit
•
561907f
1
Parent(s):
429f5ef
initial commit
Browse files- HumanML3D/.hydra/config.yaml +35 -0
- HumanML3D/.hydra/hydra.yaml +156 -0
- HumanML3D/.hydra/overrides.yaml +1 -0
- HumanML3D/best_model.pt +3 -0
- KIT-ML/.hydra/config.yaml +32 -0
- KIT-ML/.hydra/hydra.yaml +156 -0
- KIT-ML/.hydra/overrides.yaml +1 -0
- KIT-ML/best_model.pt +3 -0
- README.md +9 -0
HumanML3D/.hydra/config.yaml
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
exp_name: pretrained
|
2 |
+
checkpoints_dir: ./checkpoints/${exp_name}/${dataset.dataset_name}
|
3 |
+
preprocess:
|
4 |
+
padding: true
|
5 |
+
use_kinematic: true
|
6 |
+
model:
|
7 |
+
motion_encoder: vit_base_patch16_224_in21k
|
8 |
+
text_encoder: distilbert-base-uncased
|
9 |
+
train:
|
10 |
+
batch_size: 128
|
11 |
+
epoch: 50
|
12 |
+
optimizer:
|
13 |
+
motion_lr: 1.0e-05
|
14 |
+
text_lr: 1.0e-05
|
15 |
+
head_lr: 1.0e-05
|
16 |
+
train_motion_encoder: true
|
17 |
+
train_text_encoder: true
|
18 |
+
motion_encoder_pretrained: true
|
19 |
+
patch_size: 16
|
20 |
+
seed: 42
|
21 |
+
eval:
|
22 |
+
eval_train: false
|
23 |
+
use_best_model: true
|
24 |
+
dataset:
|
25 |
+
dataset_name: HumanML3D
|
26 |
+
data_root: ./data/HumanML3D
|
27 |
+
motion_dir: ${dataset.data_root}/new_joints
|
28 |
+
text_dir: ${dataset.data_root}/texts
|
29 |
+
joints_num: 22
|
30 |
+
max_motion_length: 224
|
31 |
+
times: 1
|
32 |
+
fps: 20
|
33 |
+
motion_lr_factor: 10.0
|
34 |
+
text_lr_factor: 1.0
|
35 |
+
head_lr_factor: 10.0
|
HumanML3D/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: ./checkpoints/${exp_name}/${dataset.dataset_name}
|
4 |
+
sweep:
|
5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
6 |
+
subdir: ${hydra.job.num}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
formatters:
|
71 |
+
simple:
|
72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
73 |
+
handlers:
|
74 |
+
console:
|
75 |
+
class: logging.StreamHandler
|
76 |
+
formatter: simple
|
77 |
+
stream: ext://sys.stdout
|
78 |
+
root:
|
79 |
+
level: INFO
|
80 |
+
handlers:
|
81 |
+
- console
|
82 |
+
loggers:
|
83 |
+
logging_example:
|
84 |
+
level: DEBUG
|
85 |
+
disable_existing_loggers: false
|
86 |
+
job_logging:
|
87 |
+
version: 1
|
88 |
+
formatters:
|
89 |
+
simple:
|
90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
91 |
+
handlers:
|
92 |
+
console:
|
93 |
+
class: logging.StreamHandler
|
94 |
+
formatter: simple
|
95 |
+
stream: ext://sys.stdout
|
96 |
+
file:
|
97 |
+
class: logging.FileHandler
|
98 |
+
formatter: simple
|
99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
100 |
+
root:
|
101 |
+
level: INFO
|
102 |
+
handlers:
|
103 |
+
- console
|
104 |
+
- file
|
105 |
+
disable_existing_loggers: false
|
106 |
+
env: {}
|
107 |
+
mode: RUN
|
108 |
+
searchpath: []
|
109 |
+
callbacks: {}
|
110 |
+
output_subdir: .hydra
|
111 |
+
overrides:
|
112 |
+
hydra:
|
113 |
+
- hydra.mode=RUN
|
114 |
+
task:
|
115 |
+
- dataset=HumanML3D
|
116 |
+
job:
|
117 |
+
name: train
|
118 |
+
chdir: null
|
119 |
+
override_dirname: dataset=HumanML3D
|
120 |
+
id: ???
|
121 |
+
num: ???
|
122 |
+
config_name: config
|
123 |
+
env_set: {}
|
124 |
+
env_copy: []
|
125 |
+
config:
|
126 |
+
override_dirname:
|
127 |
+
kv_sep: '='
|
128 |
+
item_sep: ','
|
129 |
+
exclude_keys: []
|
130 |
+
runtime:
|
131 |
+
version: 1.3.2
|
132 |
+
version_base: '1.3'
|
133 |
+
cwd: /workspace/vhdatalarge/yu/MotionPatches
|
134 |
+
config_sources:
|
135 |
+
- path: hydra.conf
|
136 |
+
schema: pkg
|
137 |
+
provider: hydra
|
138 |
+
- path: /workspace/vhdatalarge/yu/MotionPatches/conf
|
139 |
+
schema: file
|
140 |
+
provider: main
|
141 |
+
- path: ''
|
142 |
+
schema: structured
|
143 |
+
provider: schema
|
144 |
+
output_dir: /workspace/vhdatalarge/yu/MotionPatches/checkpoints/exp1/HumanML3D
|
145 |
+
choices:
|
146 |
+
dataset: HumanML3D
|
147 |
+
hydra/env: default
|
148 |
+
hydra/callbacks: null
|
149 |
+
hydra/job_logging: default
|
150 |
+
hydra/hydra_logging: default
|
151 |
+
hydra/hydra_help: default
|
152 |
+
hydra/help: default
|
153 |
+
hydra/sweeper: basic
|
154 |
+
hydra/launcher: basic
|
155 |
+
hydra/output: default
|
156 |
+
verbose: false
|
HumanML3D/.hydra/overrides.yaml
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
- dataset=HumanML3D
|
HumanML3D/best_model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aed37f69010402b59b19f65d504a0178b884451ac49e0fe765168f954a08900a
|
3 |
+
size 610478414
|
KIT-ML/.hydra/config.yaml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
exp_name: pretrained
|
2 |
+
checkpoints_dir: ./checkpoints/${exp_name}/${dataset.dataset_name}
|
3 |
+
preprocess:
|
4 |
+
padding: true
|
5 |
+
use_kinematic: true
|
6 |
+
model:
|
7 |
+
motion_encoder: vit_base_patch16_224_in21k
|
8 |
+
text_encoder: distilbert-base-uncased
|
9 |
+
train:
|
10 |
+
batch_size: 256
|
11 |
+
epoch: 50
|
12 |
+
optimizer:
|
13 |
+
motion_lr: 1.0e-05
|
14 |
+
text_lr: 1.0e-05
|
15 |
+
head_lr: 1.0e-05
|
16 |
+
train_motion_encoder: true
|
17 |
+
train_text_encoder: true
|
18 |
+
motion_encoder_pretrained: true
|
19 |
+
patch_size: 16
|
20 |
+
seed: 42
|
21 |
+
eval:
|
22 |
+
eval_train: false
|
23 |
+
use_best_model: true
|
24 |
+
dataset:
|
25 |
+
dataset_name: KIT-ML
|
26 |
+
data_root: ./data/KIT-ML
|
27 |
+
motion_dir: ${dataset.data_root}/new_joints
|
28 |
+
text_dir: ${dataset.data_root}/texts
|
29 |
+
joints_num: 21
|
30 |
+
max_motion_length: 224
|
31 |
+
times: 1
|
32 |
+
fps: 12.5
|
KIT-ML/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: ./checkpoints/${exp_name}/${dataset.dataset_name}
|
4 |
+
sweep:
|
5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
6 |
+
subdir: ${hydra.job.num}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
formatters:
|
71 |
+
simple:
|
72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
73 |
+
handlers:
|
74 |
+
console:
|
75 |
+
class: logging.StreamHandler
|
76 |
+
formatter: simple
|
77 |
+
stream: ext://sys.stdout
|
78 |
+
root:
|
79 |
+
level: INFO
|
80 |
+
handlers:
|
81 |
+
- console
|
82 |
+
loggers:
|
83 |
+
logging_example:
|
84 |
+
level: DEBUG
|
85 |
+
disable_existing_loggers: false
|
86 |
+
job_logging:
|
87 |
+
version: 1
|
88 |
+
formatters:
|
89 |
+
simple:
|
90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
91 |
+
handlers:
|
92 |
+
console:
|
93 |
+
class: logging.StreamHandler
|
94 |
+
formatter: simple
|
95 |
+
stream: ext://sys.stdout
|
96 |
+
file:
|
97 |
+
class: logging.FileHandler
|
98 |
+
formatter: simple
|
99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
100 |
+
root:
|
101 |
+
level: INFO
|
102 |
+
handlers:
|
103 |
+
- console
|
104 |
+
- file
|
105 |
+
disable_existing_loggers: false
|
106 |
+
env: {}
|
107 |
+
mode: RUN
|
108 |
+
searchpath: []
|
109 |
+
callbacks: {}
|
110 |
+
output_subdir: .hydra
|
111 |
+
overrides:
|
112 |
+
hydra:
|
113 |
+
- hydra.mode=RUN
|
114 |
+
task:
|
115 |
+
- dataset=KIT-ML
|
116 |
+
job:
|
117 |
+
name: train
|
118 |
+
chdir: null
|
119 |
+
override_dirname: dataset=KIT-ML
|
120 |
+
id: ???
|
121 |
+
num: ???
|
122 |
+
config_name: config
|
123 |
+
env_set: {}
|
124 |
+
env_copy: []
|
125 |
+
config:
|
126 |
+
override_dirname:
|
127 |
+
kv_sep: '='
|
128 |
+
item_sep: ','
|
129 |
+
exclude_keys: []
|
130 |
+
runtime:
|
131 |
+
version: 1.3.2
|
132 |
+
version_base: '1.3'
|
133 |
+
cwd: /workspace/vhdatalarge/yu/MotionPatches
|
134 |
+
config_sources:
|
135 |
+
- path: hydra.conf
|
136 |
+
schema: pkg
|
137 |
+
provider: hydra
|
138 |
+
- path: /workspace/vhdatalarge/yu/MotionPatches/conf
|
139 |
+
schema: file
|
140 |
+
provider: main
|
141 |
+
- path: ''
|
142 |
+
schema: structured
|
143 |
+
provider: schema
|
144 |
+
output_dir: /workspace/vhdatalarge/yu/MotionPatches/checkpoints/exp1/KIT-ML
|
145 |
+
choices:
|
146 |
+
dataset: KIT-ML
|
147 |
+
hydra/env: default
|
148 |
+
hydra/callbacks: null
|
149 |
+
hydra/job_logging: default
|
150 |
+
hydra/hydra_logging: default
|
151 |
+
hydra/hydra_help: default
|
152 |
+
hydra/help: default
|
153 |
+
hydra/sweeper: basic
|
154 |
+
hydra/launcher: basic
|
155 |
+
hydra/output: default
|
156 |
+
verbose: false
|
KIT-ML/.hydra/overrides.yaml
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
- dataset=KIT-ML
|
KIT-ML/best_model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08459d4b99ebbaabc9789b4c6cab9207fafe444b44d10ec2a087ae06956b8e16
|
3 |
+
size 610478853
|
README.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Motion Patches
|
2 |
+
|
3 |
+
Pretrained weights of the paper "Exploring Vision Transformers for 3D Human Motion-Language Models with Motion Patches" (CVPR 2024).
|
4 |
+
|
5 |
+
Please refer to [project page](https://yu1ut.com/MotionPatches-HP/) for details.
|
6 |
+
|
7 |
+
|
8 |
+
## License
|
9 |
+
[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
|