Kasra99 commited on
Commit
47736bf
·
verified ·
1 Parent(s): 32c7c27

GR00T N1.7 action-expert fine-tune (dex-warehouse 20-DoF), EMA weights @ step 16000

Browse files
step_016000/config.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.base_0_rgb": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 480,
10
+ 640
11
+ ]
12
+ },
13
+ "observation.images.left_wrist_0_rgb": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 480,
18
+ 640
19
+ ]
20
+ },
21
+ "observation.images.right_wrist_0_rgb": {
22
+ "type": "VISUAL",
23
+ "shape": [
24
+ 3,
25
+ 480,
26
+ 640
27
+ ]
28
+ },
29
+ "observation.state": {
30
+ "type": "STATE",
31
+ "shape": [
32
+ 20
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 20
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": false,
48
+ "repo_id": null,
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": null,
53
+ "pretrained_revision": null,
54
+ "chunk_size": 40,
55
+ "n_action_steps": 40,
56
+ "max_state_dim": 132,
57
+ "max_action_dim": 132,
58
+ "normalization_mapping": {
59
+ "VISUAL": "IDENTITY",
60
+ "STATE": "IDENTITY",
61
+ "ACTION": "IDENTITY"
62
+ },
63
+ "base_model_path": "nvidia/GR00T-N1.7-3B",
64
+ "action_decode_transform": null,
65
+ "embodiment_tag": "new_embodiment",
66
+ "tune_llm": false,
67
+ "tune_visual": false,
68
+ "tune_projector": true,
69
+ "tune_diffusion_model": true,
70
+ "tune_vlln": true,
71
+ "tune_top_llm_layers": 0,
72
+ "num_inference_timesteps": null,
73
+ "rtc_ramp_rate": null,
74
+ "use_flash_attention": false,
75
+ "use_relative_actions": false,
76
+ "relative_exclude_joints": [],
77
+ "optimizer_lr": 0.0001,
78
+ "optimizer_betas": [
79
+ 0.9,
80
+ 0.999
81
+ ],
82
+ "optimizer_eps": 1e-08,
83
+ "optimizer_weight_decay": 1e-05,
84
+ "warmup_ratio": 0.05,
85
+ "use_bf16": true,
86
+ "model_params_fp32": true,
87
+ "image_size": [
88
+ 256,
89
+ 256
90
+ ],
91
+ "tokenizer_assets_repo": null,
92
+ "lora_rank": 0,
93
+ "lora_alpha": 16,
94
+ "lora_dropout": 0.1,
95
+ "lora_full_model": false,
96
+ "video_backend": "decord",
97
+ "balance_dataset_weights": true,
98
+ "balance_trajectory_weights": true,
99
+ "dataset_paths": null,
100
+ "output_dir": "./tmp/gr00t",
101
+ "save_steps": 1000,
102
+ "max_steps": 10000,
103
+ "batch_size": 32,
104
+ "dataloader_num_workers": 8,
105
+ "report_to": "wandb",
106
+ "resume": false
107
+ }
step_016000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7385584b4aad55a6929352a843a8339a069fc231e11f16334419d338ed99e40
3
+ size 12576215312
step_016000/policy_postprocessor.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "groot_action_unpack_unnormalize_v2",
6
+ "config": {
7
+ "env_action_dim": 20,
8
+ "normalize_min_max": true,
9
+ "clip_normalized_action": true,
10
+ "libero_gripper_action": false,
11
+ "libero_gripper_binarize": true
12
+ },
13
+ "state_file": "policy_postprocessor_step_0_groot_action_unpack_unnormalize_v2.safetensors"
14
+ },
15
+ {
16
+ "registry_name": "device_processor",
17
+ "config": {
18
+ "device": "cpu",
19
+ "float_dtype": null
20
+ }
21
+ }
22
+ ]
23
+ }
step_016000/policy_postprocessor_step_0_groot_action_unpack_unnormalize_v2.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f689899ef4c5e258d8c751f10c07d242d264516b21d7a304e1afca0d6c6daac
3
+ size 11896
step_016000/policy_preprocessor.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_n1_7_pack_inputs_v1",
16
+ "config": {
17
+ "state_horizon": 1,
18
+ "action_horizon": 40,
19
+ "valid_action_horizon": 40,
20
+ "video_horizon": null,
21
+ "max_state_dim": 132,
22
+ "max_action_dim": 132,
23
+ "language_key": "task",
24
+ "formalize_language": true,
25
+ "embodiment_tag": "new_embodiment",
26
+ "embodiment_mapping": {
27
+ "oxe_droid_relative_eef_relative_joint": 24,
28
+ "xdof_relative_eef_relative_joint": 27,
29
+ "xdof_relative_eef_relative_joint_subtask": 27,
30
+ "real_g1_relative_eef_relative_joints": 25,
31
+ "real_r1_pro_sharpa_relative_eef": 26,
32
+ "real_r1_pro_sharpa_relative_eef_human": 26,
33
+ "real_r1_pro_sharpa_relative_eef_maxinsights": 26,
34
+ "real_r1_pro_sharpa_relative_eef_mecka": 26,
35
+ "unitree_g1_full_body_with_waist_height_nav_cmd": 25,
36
+ "simpler_env_google": 0,
37
+ "simpler_env_widowx": 1,
38
+ "libero_sim": 2,
39
+ "new_embodiment": 10
40
+ },
41
+ "normalize_min_max": true,
42
+ "state_dropout_prob": 0.0,
43
+ "clip_outliers": true,
44
+ "use_percentiles": false,
45
+ "video_modality_keys": null,
46
+ "raw_stats": null,
47
+ "modality_config": null
48
+ },
49
+ "state_file": "policy_preprocessor_step_2_groot_n1_7_pack_inputs_v1.safetensors"
50
+ },
51
+ {
52
+ "registry_name": "groot_n1_7_vlm_encode_v1",
53
+ "config": {
54
+ "model_name": "nvidia/Cosmos-Reason2-2B",
55
+ "image_crop_size": [
56
+ 230,
57
+ 230
58
+ ],
59
+ "image_target_size": [
60
+ 256,
61
+ 256
62
+ ],
63
+ "shortest_image_edge": null,
64
+ "crop_fraction": null,
65
+ "use_albumentations": false,
66
+ "letter_box_transform": false,
67
+ "device": "cuda"
68
+ }
69
+ },
70
+ {
71
+ "registry_name": "device_processor",
72
+ "config": {
73
+ "device": "cuda",
74
+ "float_dtype": null
75
+ }
76
+ }
77
+ ]
78
+ }
step_016000/policy_preprocessor_step_2_groot_n1_7_pack_inputs_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f689899ef4c5e258d8c751f10c07d242d264516b21d7a304e1afca0d6c6daac
3
+ size 11896
step_016000/train_config.json ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Kasra99/dex-warehouse",
4
+ "repo_type": "dataset",
5
+ "root": "/home/ubuntu/lerobot_tuning/data/dex-warehouse-v2",
6
+ "episodes": null,
7
+ "exclude_episodes": null,
8
+ "image_transforms": {
9
+ "enable": true,
10
+ "max_num_transforms": 3,
11
+ "random_order": false,
12
+ "tfs": {
13
+ "brightness": {
14
+ "weight": 1.0,
15
+ "type": "ColorJitter",
16
+ "kwargs": {
17
+ "brightness": [
18
+ 0.8,
19
+ 1.2
20
+ ]
21
+ }
22
+ },
23
+ "contrast": {
24
+ "weight": 1.0,
25
+ "type": "ColorJitter",
26
+ "kwargs": {
27
+ "contrast": [
28
+ 0.8,
29
+ 1.2
30
+ ]
31
+ }
32
+ },
33
+ "saturation": {
34
+ "weight": 1.0,
35
+ "type": "ColorJitter",
36
+ "kwargs": {
37
+ "saturation": [
38
+ 0.6,
39
+ 1.4
40
+ ]
41
+ }
42
+ },
43
+ "hue": {
44
+ "weight": 1.0,
45
+ "type": "ColorJitter",
46
+ "kwargs": {
47
+ "hue": [
48
+ -0.04,
49
+ 0.04
50
+ ]
51
+ }
52
+ },
53
+ "sharpness": {
54
+ "weight": 1.0,
55
+ "type": "SharpnessJitter",
56
+ "kwargs": {
57
+ "sharpness": [
58
+ 0.6,
59
+ 1.4
60
+ ]
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "revision": null,
66
+ "use_imagenet_stats": true,
67
+ "video_backend": "torchcodec",
68
+ "return_uint8": false,
69
+ "depth_output_unit": "mm",
70
+ "streaming": false,
71
+ "eval_split": 0.0
72
+ },
73
+ "env": null,
74
+ "policy": {
75
+ "type": "groot",
76
+ "n_obs_steps": 1,
77
+ "input_features": {
78
+ "observation.images.base_0_rgb": {
79
+ "type": "VISUAL",
80
+ "shape": [
81
+ 3,
82
+ 480,
83
+ 640
84
+ ]
85
+ },
86
+ "observation.images.left_wrist_0_rgb": {
87
+ "type": "VISUAL",
88
+ "shape": [
89
+ 3,
90
+ 480,
91
+ 640
92
+ ]
93
+ },
94
+ "observation.images.right_wrist_0_rgb": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 480,
99
+ 640
100
+ ]
101
+ },
102
+ "observation.state": {
103
+ "type": "STATE",
104
+ "shape": [
105
+ 20
106
+ ]
107
+ }
108
+ },
109
+ "output_features": {
110
+ "action": {
111
+ "type": "ACTION",
112
+ "shape": [
113
+ 20
114
+ ]
115
+ }
116
+ },
117
+ "device": "cuda",
118
+ "use_amp": false,
119
+ "use_peft": false,
120
+ "push_to_hub": false,
121
+ "repo_id": null,
122
+ "private": null,
123
+ "tags": null,
124
+ "license": null,
125
+ "pretrained_path": null,
126
+ "pretrained_revision": null,
127
+ "chunk_size": 40,
128
+ "n_action_steps": 40,
129
+ "max_state_dim": 132,
130
+ "max_action_dim": 132,
131
+ "normalization_mapping": {
132
+ "VISUAL": "IDENTITY",
133
+ "STATE": "IDENTITY",
134
+ "ACTION": "IDENTITY"
135
+ },
136
+ "base_model_path": "nvidia/GR00T-N1.7-3B",
137
+ "action_decode_transform": null,
138
+ "embodiment_tag": "new_embodiment",
139
+ "tune_llm": false,
140
+ "tune_visual": false,
141
+ "tune_projector": true,
142
+ "tune_diffusion_model": true,
143
+ "tune_vlln": true,
144
+ "tune_top_llm_layers": 0,
145
+ "num_inference_timesteps": null,
146
+ "rtc_ramp_rate": null,
147
+ "use_flash_attention": false,
148
+ "use_relative_actions": false,
149
+ "relative_exclude_joints": [],
150
+ "optimizer_lr": 0.0001,
151
+ "optimizer_betas": [
152
+ 0.9,
153
+ 0.999
154
+ ],
155
+ "optimizer_eps": 1e-08,
156
+ "optimizer_weight_decay": 1e-05,
157
+ "warmup_ratio": 0.05,
158
+ "use_bf16": true,
159
+ "model_params_fp32": true,
160
+ "image_size": [
161
+ 256,
162
+ 256
163
+ ],
164
+ "tokenizer_assets_repo": null,
165
+ "lora_rank": 0,
166
+ "lora_alpha": 16,
167
+ "lora_dropout": 0.1,
168
+ "lora_full_model": false,
169
+ "video_backend": "decord",
170
+ "balance_dataset_weights": true,
171
+ "balance_trajectory_weights": true,
172
+ "dataset_paths": null,
173
+ "output_dir": "./tmp/gr00t",
174
+ "save_steps": 1000,
175
+ "max_steps": 10000,
176
+ "batch_size": 32,
177
+ "dataloader_num_workers": 8,
178
+ "report_to": "wandb",
179
+ "resume": false
180
+ },
181
+ "reward_model": null,
182
+ "output_dir": "/opt/dlami/nvme/lerobot_runs/groot17_dexwarehouse_ae",
183
+ "job_name": "groot17_dexwarehouse_ae",
184
+ "resume": false,
185
+ "seed": 1000,
186
+ "cudnn_deterministic": false,
187
+ "num_workers": 7,
188
+ "batch_size": 32,
189
+ "prefetch_factor": 2,
190
+ "persistent_workers": true,
191
+ "dataloader_multiprocessing_context": "spawn",
192
+ "steps": 40000,
193
+ "env_eval_freq": 20000,
194
+ "log_freq": 50,
195
+ "eval_steps": 0,
196
+ "max_eval_samples": 0,
197
+ "tolerance_s": 0.0001,
198
+ "save_checkpoint": true,
199
+ "save_freq": 8000,
200
+ "checkpoint_format": "safetensors",
201
+ "use_policy_training_preset": true,
202
+ "optimizer": {
203
+ "type": "adamw",
204
+ "lr": 0.0001,
205
+ "weight_decay": 1e-05,
206
+ "grad_clip_norm": 1.0,
207
+ "betas": [
208
+ 0.9,
209
+ 0.999
210
+ ],
211
+ "eps": 1e-08
212
+ },
213
+ "scheduler": {
214
+ "type": "diffuser",
215
+ "num_warmup_steps": 500,
216
+ "name": "cosine"
217
+ },
218
+ "parallelism": {
219
+ "dp_replicate": 1,
220
+ "dp_shard": 1,
221
+ "context_parallel": {
222
+ "ring_degree": 1,
223
+ "ulysses_degree": 1
224
+ },
225
+ "cfg_parallel": 1
226
+ },
227
+ "accelerator": {
228
+ "mixed_precision": "no",
229
+ "gradient_accumulation": {
230
+ "steps": 1
231
+ },
232
+ "fsdp": {
233
+ "reshard_after_forward": true,
234
+ "wrap_modules": null,
235
+ "min_num_params": null,
236
+ "cpu_offload": false,
237
+ "ignored_modules": null
238
+ },
239
+ "ddp": {
240
+ "find_unused_parameters": true,
241
+ "gradient_as_bucket_view": false,
242
+ "static_graph": false
243
+ },
244
+ "compile": {
245
+ "enabled": false,
246
+ "backend": "inductor",
247
+ "mode": null,
248
+ "regional": true
249
+ },
250
+ "activation_checkpointing": {
251
+ "mode": "none"
252
+ }
253
+ },
254
+ "eval": {
255
+ "n_episodes": 50,
256
+ "batch_size": 5,
257
+ "use_async_envs": true,
258
+ "recording": false,
259
+ "recording_repo_id": null,
260
+ "recording_private": false
261
+ },
262
+ "ema": {
263
+ "enable": true,
264
+ "decay": 0.99,
265
+ "update_after_step": 0,
266
+ "inv_gamma": 1.0,
267
+ "power": 0.75,
268
+ "min_decay": 0.0,
269
+ "max_decay": 0.9999,
270
+ "use_for_eval": true
271
+ },
272
+ "wandb": {
273
+ "enable": false,
274
+ "disable_artifact": false,
275
+ "project": "lerobot",
276
+ "entity": null,
277
+ "notes": null,
278
+ "run_id": null,
279
+ "mode": null,
280
+ "add_tags": true
281
+ },
282
+ "peft": null,
283
+ "job": {
284
+ "target": null,
285
+ "image": "huggingface/lerobot-gpu:latest",
286
+ "timeout": "2d",
287
+ "detach": false,
288
+ "tags": []
289
+ },
290
+ "save_checkpoint_to_hub": false,
291
+ "sample_weighting": null,
292
+ "rename_map": {},
293
+ "checkpoint_path": null
294
+ }