HyeonseokE commited on
Commit
4ce3c2b
·
verified ·
1 Parent(s): 777c534

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 18
9
+ ]
10
+ },
11
+ "observation.images.robot1_front": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 240,
16
+ 424
17
+ ]
18
+ },
19
+ "observation.images.robot1_top": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 240,
24
+ 424
25
+ ]
26
+ },
27
+ "observation.images.robot2_front": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 240,
32
+ 424
33
+ ]
34
+ },
35
+ "observation.images.robot2_top": {
36
+ "type": "VISUAL",
37
+ "shape": [
38
+ 3,
39
+ 240,
40
+ 424
41
+ ]
42
+ },
43
+ "observation.images.robot3_front": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 240,
48
+ 424
49
+ ]
50
+ }
51
+ },
52
+ "output_features": {
53
+ "action": {
54
+ "type": "ACTION",
55
+ "shape": [
56
+ 18
57
+ ]
58
+ }
59
+ },
60
+ "device": "cuda",
61
+ "use_amp": false,
62
+ "push_to_hub": true,
63
+ "repo_id": "your-hf-user/groot-finetune",
64
+ "private": null,
65
+ "tags": null,
66
+ "license": null,
67
+ "pretrained_path": null,
68
+ "chunk_size": 50,
69
+ "n_action_steps": 50,
70
+ "max_state_dim": 64,
71
+ "max_action_dim": 32,
72
+ "normalization_mapping": {
73
+ "VISUAL": "IDENTITY",
74
+ "STATE": "MEAN_STD",
75
+ "ACTION": "MEAN_STD"
76
+ },
77
+ "image_size": [
78
+ 224,
79
+ 224
80
+ ],
81
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
82
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
83
+ "embodiment_tag": "new_embodiment",
84
+ "tune_llm": false,
85
+ "tune_visual": false,
86
+ "tune_projector": true,
87
+ "tune_diffusion_model": false,
88
+ "lora_rank": 16,
89
+ "lora_alpha": 16,
90
+ "lora_dropout": 0.1,
91
+ "lora_full_model": false,
92
+ "optimizer_lr": 0.001,
93
+ "optimizer_betas": [
94
+ 0.95,
95
+ 0.999
96
+ ],
97
+ "optimizer_eps": 1e-08,
98
+ "optimizer_weight_decay": 1e-05,
99
+ "warmup_ratio": 0.05,
100
+ "use_bf16": true,
101
+ "video_backend": "decord",
102
+ "balance_dataset_weights": true,
103
+ "balance_trajectory_weights": true,
104
+ "dataset_paths": null,
105
+ "output_dir": "./tmp/gr00t",
106
+ "save_steps": 1000,
107
+ "max_steps": 10000,
108
+ "batch_size": 32,
109
+ "dataloader_num_workers": 8,
110
+ "report_to": "wandb",
111
+ "resume": false
112
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ada55c9ca04202570954cec1e413a1461b58fb27dfac355943d8eda6c3554584
3
+ size 7651562640
policy_postprocessor.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "groot_action_unpack_unnormalize_v1",
6
+ "config": {
7
+ "env_action_dim": 18,
8
+ "normalize_min_max": true
9
+ },
10
+ "state_file": "policy_postprocessor_step_0_groot_action_unpack_unnormalize_v1.safetensors"
11
+ },
12
+ {
13
+ "registry_name": "device_processor",
14
+ "config": {
15
+ "device": "cpu",
16
+ "float_dtype": null
17
+ }
18
+ }
19
+ ]
20
+ }
policy_postprocessor_step_0_groot_action_unpack_unnormalize_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6796be25496f0b7d5e68c00b1391ec364b30b483b0a347c5f3fd611ab362f4b2
3
+ size 13832
policy_preprocessor.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "rename_observations_processor",
6
+ "config": {
7
+ "rename_map": {}
8
+ }
9
+ },
10
+ {
11
+ "registry_name": "to_batch_processor",
12
+ "config": {}
13
+ },
14
+ {
15
+ "registry_name": "groot_pack_inputs_v3",
16
+ "config": {
17
+ "state_horizon": 1,
18
+ "action_horizon": 16,
19
+ "max_state_dim": 64,
20
+ "max_action_dim": 32,
21
+ "language_key": "task",
22
+ "formalize_language": false,
23
+ "embodiment_tag": "new_embodiment",
24
+ "embodiment_mapping": {
25
+ "new_embodiment": 31,
26
+ "oxe_droid": 17,
27
+ "agibot_genie1": 26,
28
+ "gr1": 24,
29
+ "so100": 2,
30
+ "unitree_g1": 3
31
+ },
32
+ "normalize_min_max": true
33
+ },
34
+ "state_file": "policy_preprocessor_step_2_groot_pack_inputs_v3.safetensors"
35
+ },
36
+ {
37
+ "registry_name": "groot_eagle_encode_v3",
38
+ "config": {}
39
+ },
40
+ {
41
+ "registry_name": "groot_eagle_collate_v3",
42
+ "config": {}
43
+ },
44
+ {
45
+ "registry_name": "device_processor",
46
+ "config": {
47
+ "device": "cuda",
48
+ "float_dtype": null
49
+ }
50
+ }
51
+ ]
52
+ }
policy_preprocessor_step_2_groot_pack_inputs_v3.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6796be25496f0b7d5e68c00b1391ec364b30b483b0a347c5f3fd611ab362f4b2
3
+ size 13832
train_config.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "CSI-Agent/merged_final",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": null,
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "torchcodec",
80
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "groot",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 18
91
+ ]
92
+ },
93
+ "observation.images.robot1_front": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 240,
98
+ 424
99
+ ]
100
+ },
101
+ "observation.images.robot1_top": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 240,
106
+ 424
107
+ ]
108
+ },
109
+ "observation.images.robot2_front": {
110
+ "type": "VISUAL",
111
+ "shape": [
112
+ 3,
113
+ 240,
114
+ 424
115
+ ]
116
+ },
117
+ "observation.images.robot2_top": {
118
+ "type": "VISUAL",
119
+ "shape": [
120
+ 3,
121
+ 240,
122
+ 424
123
+ ]
124
+ },
125
+ "observation.images.robot3_front": {
126
+ "type": "VISUAL",
127
+ "shape": [
128
+ 3,
129
+ 240,
130
+ 424
131
+ ]
132
+ }
133
+ },
134
+ "output_features": {
135
+ "action": {
136
+ "type": "ACTION",
137
+ "shape": [
138
+ 18
139
+ ]
140
+ }
141
+ },
142
+ "device": "cuda",
143
+ "use_amp": false,
144
+ "push_to_hub": true,
145
+ "repo_id": "your-hf-user/groot-finetune",
146
+ "private": null,
147
+ "tags": null,
148
+ "license": null,
149
+ "pretrained_path": null,
150
+ "chunk_size": 50,
151
+ "n_action_steps": 50,
152
+ "max_state_dim": 64,
153
+ "max_action_dim": 32,
154
+ "normalization_mapping": {
155
+ "VISUAL": "IDENTITY",
156
+ "STATE": "MEAN_STD",
157
+ "ACTION": "MEAN_STD"
158
+ },
159
+ "image_size": [
160
+ 224,
161
+ 224
162
+ ],
163
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
164
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
165
+ "embodiment_tag": "new_embodiment",
166
+ "tune_llm": false,
167
+ "tune_visual": false,
168
+ "tune_projector": true,
169
+ "tune_diffusion_model": false,
170
+ "lora_rank": 16,
171
+ "lora_alpha": 16,
172
+ "lora_dropout": 0.1,
173
+ "lora_full_model": false,
174
+ "optimizer_lr": 0.001,
175
+ "optimizer_betas": [
176
+ 0.95,
177
+ 0.999
178
+ ],
179
+ "optimizer_eps": 1e-08,
180
+ "optimizer_weight_decay": 1e-05,
181
+ "warmup_ratio": 0.05,
182
+ "use_bf16": true,
183
+ "video_backend": "decord",
184
+ "balance_dataset_weights": true,
185
+ "balance_trajectory_weights": true,
186
+ "dataset_paths": null,
187
+ "output_dir": "./tmp/gr00t",
188
+ "save_steps": 1000,
189
+ "max_steps": 10000,
190
+ "batch_size": 32,
191
+ "dataloader_num_workers": 8,
192
+ "report_to": "wandb",
193
+ "resume": false
194
+ },
195
+ "output_dir": "outputs/groot_train_multi_lora_20251105_055232",
196
+ "job_name": "groot_train_multi_lora",
197
+ "resume": false,
198
+ "seed": 1000,
199
+ "num_workers": 4,
200
+ "batch_size": 6,
201
+ "steps": 21000,
202
+ "eval_freq": 20000,
203
+ "log_freq": 100,
204
+ "save_checkpoint": true,
205
+ "save_freq": 3000,
206
+ "use_policy_training_preset": true,
207
+ "optimizer": {
208
+ "type": "adamw",
209
+ "lr": 0.001,
210
+ "weight_decay": 1e-05,
211
+ "grad_clip_norm": 10.0,
212
+ "betas": [
213
+ 0.95,
214
+ 0.999
215
+ ],
216
+ "eps": 1e-08
217
+ },
218
+ "scheduler": {
219
+ "type": "cosine_decay_with_warmup",
220
+ "num_warmup_steps": 500,
221
+ "num_decay_steps": 10000,
222
+ "peak_lr": 0.001,
223
+ "decay_lr": 0.0001
224
+ },
225
+ "eval": {
226
+ "n_episodes": 50,
227
+ "batch_size": 50,
228
+ "use_async_envs": false
229
+ },
230
+ "wandb": {
231
+ "enable": true,
232
+ "disable_artifact": true,
233
+ "project": "lerobot",
234
+ "entity": null,
235
+ "notes": null,
236
+ "run_id": "yh6391ig",
237
+ "mode": null
238
+ },
239
+ "checkpoint_path": null,
240
+ "rename_map": {}
241
+ }