usr256864 commited on
Commit
4bca66d
·
verified ·
1 Parent(s): 9ee552e

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.image": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 256,
10
+ 256
11
+ ]
12
+ },
13
+ "observation.state": {
14
+ "type": "STATE",
15
+ "shape": [
16
+ 32
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {
21
+ "action": {
22
+ "type": "ACTION",
23
+ "shape": [
24
+ 32
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": false,
30
+ "use_peft": false,
31
+ "push_to_hub": false,
32
+ "repo_id": "usr256864/pi0",
33
+ "private": null,
34
+ "tags": null,
35
+ "license": null,
36
+ "pretrained_path": null,
37
+ "pretrained_revision": null,
38
+ "chunk_size": 40,
39
+ "n_action_steps": 40,
40
+ "max_state_dim": 132,
41
+ "max_action_dim": 132,
42
+ "normalization_mapping": {
43
+ "VISUAL": "IDENTITY",
44
+ "STATE": "IDENTITY",
45
+ "ACTION": "IDENTITY"
46
+ },
47
+ "base_model_path": "nvidia/GR00T-N1.7-3B",
48
+ "action_decode_transform": null,
49
+ "embodiment_tag": "new_embodiment",
50
+ "tune_llm": false,
51
+ "tune_visual": false,
52
+ "tune_projector": true,
53
+ "tune_diffusion_model": true,
54
+ "tune_vlln": true,
55
+ "tune_top_llm_layers": 0,
56
+ "num_inference_timesteps": null,
57
+ "rtc_ramp_rate": null,
58
+ "use_flash_attention": false,
59
+ "use_relative_actions": false,
60
+ "relative_exclude_joints": [],
61
+ "optimizer_lr": 0.0001,
62
+ "optimizer_betas": [
63
+ 0.9,
64
+ 0.999
65
+ ],
66
+ "optimizer_eps": 1e-08,
67
+ "optimizer_weight_decay": 1e-05,
68
+ "warmup_ratio": 0.05,
69
+ "use_bf16": true,
70
+ "model_params_fp32": true,
71
+ "image_size": [
72
+ 256,
73
+ 256
74
+ ],
75
+ "tokenizer_assets_repo": null,
76
+ "lora_rank": 0,
77
+ "lora_alpha": 16,
78
+ "lora_dropout": 0.1,
79
+ "lora_full_model": false,
80
+ "video_backend": "decord",
81
+ "balance_dataset_weights": true,
82
+ "balance_trajectory_weights": true,
83
+ "dataset_paths": null,
84
+ "output_dir": "./tmp/gr00t",
85
+ "save_steps": 1000,
86
+ "max_steps": 10000,
87
+ "batch_size": 32,
88
+ "dataloader_num_workers": 8,
89
+ "report_to": "wandb",
90
+ "resume": false
91
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:421f3c99680fcf266cdbb68ebe490783d4b9b94000c209e2bca89927ccf4195b
3
+ size 12576215296
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": 32,
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
+ }
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:575e3e54c59eb5e1f1f6deae68caadca0e5bfe6e9404055d322bc2a942330ac9
3
+ size 11088
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
+ }
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:575e3e54c59eb5e1f1f6deae68caadca0e5bfe6e9404055d322bc2a942330ac9
3
+ size 11088
train_config.json ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "usr256864/lr_ds",
4
+ "root": "../datasets/RH5_dataset_threads_1000eps",
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
+ "return_uint8": false,
81
+ "depth_output_unit": "mm",
82
+ "streaming": false,
83
+ "eval_split": 0.0
84
+ },
85
+ "env": {
86
+ "type": "rh5",
87
+ "task": "walk",
88
+ "fps": 30,
89
+ "features": {
90
+ "action": {
91
+ "type": "ACTION",
92
+ "shape": [
93
+ 32
94
+ ]
95
+ },
96
+ "agent_pos": {
97
+ "type": "STATE",
98
+ "shape": [
99
+ 63
100
+ ]
101
+ },
102
+ "pixels/top": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 480,
106
+ 640,
107
+ 3
108
+ ]
109
+ }
110
+ },
111
+ "features_map": {
112
+ "action": "action",
113
+ "agent_pos": "observation.state",
114
+ "top": "observation.image",
115
+ "pixels/top": "observation.image"
116
+ },
117
+ "max_parallel_tasks": 1,
118
+ "disable_env_checker": true,
119
+ "num_envs": 1,
120
+ "episode_length": 2000,
121
+ "obs_type": "pixels_agent_pos",
122
+ "render_mode": "rgb_array",
123
+ "use_velocity": false,
124
+ "task_description": "rh5 task",
125
+ "tasks": null,
126
+ "horizons": null,
127
+ "play": false,
128
+ "add_distractor": false,
129
+ "seed": 42,
130
+ "ablation": null,
131
+ "render_success_only": 3,
132
+ "return_episode_data": false,
133
+ "eval_ds": "../datasets/RH5_dataset_threads_1000eps",
134
+ "num_eval_samples": 1,
135
+ "max_episodes_rendered": 1,
136
+ "absolute": false,
137
+ "has_distractor": false,
138
+ "episode_idx": null
139
+ },
140
+ "policy": {
141
+ "type": "groot",
142
+ "n_obs_steps": 1,
143
+ "input_features": {
144
+ "observation.image": {
145
+ "type": "VISUAL",
146
+ "shape": [
147
+ 3,
148
+ 256,
149
+ 256
150
+ ]
151
+ },
152
+ "observation.state": {
153
+ "type": "STATE",
154
+ "shape": [
155
+ 32
156
+ ]
157
+ }
158
+ },
159
+ "output_features": {
160
+ "action": {
161
+ "type": "ACTION",
162
+ "shape": [
163
+ 32
164
+ ]
165
+ }
166
+ },
167
+ "device": "cuda",
168
+ "use_amp": false,
169
+ "use_peft": false,
170
+ "push_to_hub": false,
171
+ "repo_id": "usr256864/pi0",
172
+ "private": null,
173
+ "tags": null,
174
+ "license": null,
175
+ "pretrained_path": null,
176
+ "pretrained_revision": null,
177
+ "chunk_size": 40,
178
+ "n_action_steps": 40,
179
+ "max_state_dim": 132,
180
+ "max_action_dim": 132,
181
+ "normalization_mapping": {
182
+ "VISUAL": "IDENTITY",
183
+ "STATE": "IDENTITY",
184
+ "ACTION": "IDENTITY"
185
+ },
186
+ "base_model_path": "nvidia/GR00T-N1.7-3B",
187
+ "action_decode_transform": null,
188
+ "embodiment_tag": "new_embodiment",
189
+ "tune_llm": false,
190
+ "tune_visual": false,
191
+ "tune_projector": true,
192
+ "tune_diffusion_model": true,
193
+ "tune_vlln": true,
194
+ "tune_top_llm_layers": 0,
195
+ "num_inference_timesteps": null,
196
+ "rtc_ramp_rate": null,
197
+ "use_flash_attention": false,
198
+ "use_relative_actions": false,
199
+ "relative_exclude_joints": [],
200
+ "optimizer_lr": 0.0001,
201
+ "optimizer_betas": [
202
+ 0.9,
203
+ 0.999
204
+ ],
205
+ "optimizer_eps": 1e-08,
206
+ "optimizer_weight_decay": 1e-05,
207
+ "warmup_ratio": 0.05,
208
+ "use_bf16": true,
209
+ "model_params_fp32": true,
210
+ "image_size": [
211
+ 256,
212
+ 256
213
+ ],
214
+ "tokenizer_assets_repo": null,
215
+ "lora_rank": 0,
216
+ "lora_alpha": 16,
217
+ "lora_dropout": 0.1,
218
+ "lora_full_model": false,
219
+ "video_backend": "decord",
220
+ "balance_dataset_weights": true,
221
+ "balance_trajectory_weights": true,
222
+ "dataset_paths": null,
223
+ "output_dir": "./tmp/gr00t",
224
+ "save_steps": 1000,
225
+ "max_steps": 10000,
226
+ "batch_size": 32,
227
+ "dataloader_num_workers": 8,
228
+ "report_to": "wandb",
229
+ "resume": false
230
+ },
231
+ "reward_model": null,
232
+ "output_dir": "outputs/train/2026-08-11/17-19-22_groot_training_delta",
233
+ "job_name": "groot_training_delta",
234
+ "resume": false,
235
+ "seed": 1000,
236
+ "cudnn_deterministic": false,
237
+ "num_workers": 4,
238
+ "batch_size": 32,
239
+ "prefetch_factor": 4,
240
+ "persistent_workers": true,
241
+ "dataloader_multiprocessing_context": "spawn",
242
+ "steps": 200000,
243
+ "env_eval_freq": 5000,
244
+ "log_freq": 1000,
245
+ "eval_steps": 0,
246
+ "max_eval_samples": 0,
247
+ "tolerance_s": 0.0001,
248
+ "save_checkpoint": true,
249
+ "save_freq": 5000,
250
+ "use_policy_training_preset": true,
251
+ "optimizer": {
252
+ "type": "adamw",
253
+ "lr": 0.0001,
254
+ "weight_decay": 1e-05,
255
+ "grad_clip_norm": 1.0,
256
+ "betas": [
257
+ 0.9,
258
+ 0.999
259
+ ],
260
+ "eps": 1e-08
261
+ },
262
+ "scheduler": {
263
+ "type": "diffuser",
264
+ "num_warmup_steps": 500,
265
+ "name": "cosine"
266
+ },
267
+ "eval": {
268
+ "n_episodes": 1,
269
+ "batch_size": 1,
270
+ "use_async_envs": false,
271
+ "recording": false,
272
+ "recording_repo_id": null,
273
+ "recording_private": false
274
+ },
275
+ "wandb": {
276
+ "enable": false,
277
+ "disable_artifact": true,
278
+ "project": "lerobot",
279
+ "entity": null,
280
+ "notes": null,
281
+ "run_id": null,
282
+ "mode": null,
283
+ "add_tags": true
284
+ },
285
+ "peft": null,
286
+ "job": {
287
+ "target": null,
288
+ "image": "huggingface/lerobot-gpu:latest",
289
+ "timeout": "2d",
290
+ "detach": false,
291
+ "tags": []
292
+ },
293
+ "save_checkpoint_to_hub": false,
294
+ "sample_weighting": null,
295
+ "rename_map": {},
296
+ "checkpoint_path": null
297
+ }