Robotics
LeRobot
Safetensors
groot
ar0s commited on
Commit
4f324d2
·
verified ·
1 Parent(s): 522a938

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +89 -0
  3. model.safetensors +3 -0
  4. train_config.json +320 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: HuggingFaceVLA/libero
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: groot
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - groot
9
+ - lerobot
10
+ - robotics
11
+ ---
12
+
13
+ # Model Card for groot
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ _Model type not recognized — please update this template._
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.image": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 256,
10
+ 256
11
+ ]
12
+ },
13
+ "observation.images.image2": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 256,
18
+ 256
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 8
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "ar0s/groot_libero",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "chunk_size": 50,
46
+ "n_action_steps": 8,
47
+ "max_state_dim": 64,
48
+ "max_action_dim": 32,
49
+ "normalization_mapping": {
50
+ "VISUAL": "IDENTITY",
51
+ "STATE": "MEAN_STD",
52
+ "ACTION": "MEAN_STD"
53
+ },
54
+ "image_size": [
55
+ 224,
56
+ 224
57
+ ],
58
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
59
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
60
+ "embodiment_tag": "new_embodiment",
61
+ "tune_llm": false,
62
+ "tune_visual": false,
63
+ "tune_projector": true,
64
+ "tune_diffusion_model": true,
65
+ "lora_rank": 0,
66
+ "lora_alpha": 16,
67
+ "lora_dropout": 0.1,
68
+ "lora_full_model": false,
69
+ "optimizer_lr": 0.0001,
70
+ "optimizer_betas": [
71
+ 0.95,
72
+ 0.999
73
+ ],
74
+ "optimizer_eps": 1e-08,
75
+ "optimizer_weight_decay": 1e-05,
76
+ "warmup_ratio": 0.05,
77
+ "use_bf16": true,
78
+ "video_backend": "decord",
79
+ "balance_dataset_weights": true,
80
+ "balance_trajectory_weights": true,
81
+ "dataset_paths": null,
82
+ "output_dir": "./tmp/gr00t",
83
+ "save_steps": 1000,
84
+ "max_steps": 10000,
85
+ "batch_size": 32,
86
+ "dataloader_num_workers": 8,
87
+ "report_to": "wandb",
88
+ "resume": false
89
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af376fed108dd557a5fe562790d4206b901d7340d15d9f2b56fa6e37e912bac2
3
+ size 6964802952
train_config.json ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "HuggingFaceVLA/libero",
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": {
83
+ "type": "libero",
84
+ "task": "libero_object",
85
+ "fps": 10,
86
+ "features": {
87
+ "action": {
88
+ "type": "ACTION",
89
+ "shape": [
90
+ 7
91
+ ]
92
+ },
93
+ "pixels/agentview_image": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 360,
97
+ 360,
98
+ 3
99
+ ]
100
+ },
101
+ "pixels/robot0_eye_in_hand_image": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 360,
105
+ 360,
106
+ 3
107
+ ]
108
+ },
109
+ "robot_state/eef/pos": {
110
+ "type": "STATE",
111
+ "shape": [
112
+ 3
113
+ ]
114
+ },
115
+ "robot_state/eef/quat": {
116
+ "type": "STATE",
117
+ "shape": [
118
+ 4
119
+ ]
120
+ },
121
+ "robot_state/eef/mat": {
122
+ "type": "STATE",
123
+ "shape": [
124
+ 3,
125
+ 3
126
+ ]
127
+ },
128
+ "robot_state/gripper/qpos": {
129
+ "type": "STATE",
130
+ "shape": [
131
+ 2
132
+ ]
133
+ },
134
+ "robot_state/gripper/qvel": {
135
+ "type": "STATE",
136
+ "shape": [
137
+ 2
138
+ ]
139
+ },
140
+ "robot_state/joints/pos": {
141
+ "type": "STATE",
142
+ "shape": [
143
+ 7
144
+ ]
145
+ },
146
+ "robot_state/joints/vel": {
147
+ "type": "STATE",
148
+ "shape": [
149
+ 7
150
+ ]
151
+ }
152
+ },
153
+ "features_map": {
154
+ "action": "action",
155
+ "robot_state/eef/pos": "observation.state.eef_pos",
156
+ "robot_state/eef/quat": "observation.state.eef_quat",
157
+ "robot_state/eef/mat": "observation.state.eef_mat",
158
+ "robot_state/gripper/qpos": "observation.state.gripper_qpos",
159
+ "robot_state/gripper/qvel": "observation.state.gripper_qvel",
160
+ "robot_state/joints/pos": "observation.state.joint_pos",
161
+ "robot_state/joints/vel": "observation.state.joint_vel",
162
+ "pixels/agentview_image": "observation.images.image",
163
+ "pixels/robot0_eye_in_hand_image": "observation.images.image2"
164
+ },
165
+ "max_parallel_tasks": 1,
166
+ "disable_env_checker": true,
167
+ "task_ids": null,
168
+ "episode_length": null,
169
+ "obs_type": "pixels_agent_pos",
170
+ "render_mode": "rgb_array",
171
+ "camera_name": "agentview_image,robot0_eye_in_hand_image",
172
+ "init_states": true,
173
+ "camera_name_mapping": null,
174
+ "observation_height": 360,
175
+ "observation_width": 360,
176
+ "control_mode": "relative"
177
+ },
178
+ "policy": {
179
+ "type": "groot",
180
+ "n_obs_steps": 1,
181
+ "input_features": {
182
+ "observation.images.image": {
183
+ "type": "VISUAL",
184
+ "shape": [
185
+ 3,
186
+ 256,
187
+ 256
188
+ ]
189
+ },
190
+ "observation.images.image2": {
191
+ "type": "VISUAL",
192
+ "shape": [
193
+ 3,
194
+ 256,
195
+ 256
196
+ ]
197
+ },
198
+ "observation.state": {
199
+ "type": "STATE",
200
+ "shape": [
201
+ 8
202
+ ]
203
+ }
204
+ },
205
+ "output_features": {
206
+ "action": {
207
+ "type": "ACTION",
208
+ "shape": [
209
+ 7
210
+ ]
211
+ }
212
+ },
213
+ "device": "cuda",
214
+ "use_amp": false,
215
+ "use_peft": false,
216
+ "push_to_hub": true,
217
+ "repo_id": "ar0s/groot_libero",
218
+ "private": null,
219
+ "tags": null,
220
+ "license": null,
221
+ "pretrained_path": null,
222
+ "chunk_size": 50,
223
+ "n_action_steps": 8,
224
+ "max_state_dim": 64,
225
+ "max_action_dim": 32,
226
+ "normalization_mapping": {
227
+ "VISUAL": "IDENTITY",
228
+ "STATE": "MEAN_STD",
229
+ "ACTION": "MEAN_STD"
230
+ },
231
+ "image_size": [
232
+ 224,
233
+ 224
234
+ ],
235
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
236
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
237
+ "embodiment_tag": "new_embodiment",
238
+ "tune_llm": false,
239
+ "tune_visual": false,
240
+ "tune_projector": true,
241
+ "tune_diffusion_model": true,
242
+ "lora_rank": 0,
243
+ "lora_alpha": 16,
244
+ "lora_dropout": 0.1,
245
+ "lora_full_model": false,
246
+ "optimizer_lr": 0.0001,
247
+ "optimizer_betas": [
248
+ 0.95,
249
+ 0.999
250
+ ],
251
+ "optimizer_eps": 1e-08,
252
+ "optimizer_weight_decay": 1e-05,
253
+ "warmup_ratio": 0.05,
254
+ "use_bf16": true,
255
+ "video_backend": "decord",
256
+ "balance_dataset_weights": true,
257
+ "balance_trajectory_weights": true,
258
+ "dataset_paths": null,
259
+ "output_dir": "./tmp/gr00t",
260
+ "save_steps": 1000,
261
+ "max_steps": 10000,
262
+ "batch_size": 32,
263
+ "dataloader_num_workers": 8,
264
+ "report_to": "wandb",
265
+ "resume": false
266
+ },
267
+ "output_dir": "outputs/train/2026-03-20/13-35-17_libero_groot",
268
+ "job_name": "libero_groot",
269
+ "resume": false,
270
+ "seed": 1000,
271
+ "num_workers": 10,
272
+ "batch_size": 8,
273
+ "steps": 100000,
274
+ "eval_freq": 10000,
275
+ "log_freq": 200,
276
+ "tolerance_s": 0.0001,
277
+ "save_checkpoint": true,
278
+ "save_freq": 20000,
279
+ "use_policy_training_preset": true,
280
+ "optimizer": {
281
+ "type": "adamw",
282
+ "lr": 0.0001,
283
+ "weight_decay": 1e-05,
284
+ "grad_clip_norm": 10.0,
285
+ "betas": [
286
+ 0.95,
287
+ 0.999
288
+ ],
289
+ "eps": 1e-08
290
+ },
291
+ "scheduler": {
292
+ "type": "cosine_decay_with_warmup",
293
+ "num_warmup_steps": 500,
294
+ "num_decay_steps": 10000,
295
+ "peak_lr": 0.0001,
296
+ "decay_lr": 1e-05
297
+ },
298
+ "eval": {
299
+ "n_episodes": 1,
300
+ "batch_size": 1,
301
+ "use_async_envs": false
302
+ },
303
+ "wandb": {
304
+ "enable": true,
305
+ "disable_artifact": true,
306
+ "project": "lerobot",
307
+ "entity": null,
308
+ "notes": null,
309
+ "run_id": "qe1oilzb",
310
+ "mode": null
311
+ },
312
+ "peft": null,
313
+ "use_rabc": false,
314
+ "rabc_progress_path": null,
315
+ "rabc_kappa": 0.01,
316
+ "rabc_epsilon": 1e-06,
317
+ "rabc_head_mode": "sparse",
318
+ "rename_map": {},
319
+ "checkpoint_path": null
320
+ }