Robotics
LeRobot
Safetensors
groot
nvkartik commited on
Commit
ef70e46
·
verified ·
1 Parent(s): 754b6db

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +91 -0
  3. model.safetensors +3 -0
  4. train_config.json +325 -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
+ - lerobot
9
+ - groot
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,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "nvkartik/groot-n17-libero_object-full-dit-success-object-a100x2-bs128-lr1e4-50k-mg2-bs128-50000",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "chunk_size": 40,
46
+ "n_action_steps": 40,
47
+ "max_state_dim": 132,
48
+ "max_action_dim": 132,
49
+ "normalization_mapping": {
50
+ "VISUAL": "IDENTITY",
51
+ "STATE": "MEAN_STD",
52
+ "ACTION": "MEAN_STD"
53
+ },
54
+ "image_size": [
55
+ 256,
56
+ 256
57
+ ],
58
+ "model_version": "n1.7",
59
+ "base_model_path": "nvidia/GR00T-N1.7-3B",
60
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
61
+ "n1_7_backbone_model": "nvidia/Cosmos-Reason2-2B",
62
+ "embodiment_tag": "libero_sim",
63
+ "tune_llm": false,
64
+ "tune_visual": false,
65
+ "tune_projector": true,
66
+ "tune_diffusion_model": true,
67
+ "lora_rank": 0,
68
+ "lora_alpha": 16,
69
+ "lora_dropout": 0.1,
70
+ "lora_full_model": false,
71
+ "optimizer_lr": 0.0001,
72
+ "optimizer_betas": [
73
+ 0.95,
74
+ 0.999
75
+ ],
76
+ "optimizer_eps": 1e-08,
77
+ "optimizer_weight_decay": 1e-05,
78
+ "warmup_ratio": 0.05,
79
+ "use_bf16": true,
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:6fa8968569e08d3d5694243fc8f02b8e46e40466c3e99c323be95d01d00d1bde
3
+ size 10579843072
train_config.json ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "return_uint8": false,
81
+ "streaming": false
82
+ },
83
+ "env": {
84
+ "type": "libero",
85
+ "task": "libero_object",
86
+ "fps": 30,
87
+ "features": {
88
+ "action": {
89
+ "type": "ACTION",
90
+ "shape": [
91
+ 7
92
+ ]
93
+ },
94
+ "pixels/agentview_image": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 360,
98
+ 360,
99
+ 3
100
+ ]
101
+ },
102
+ "pixels/robot0_eye_in_hand_image": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 360,
106
+ 360,
107
+ 3
108
+ ]
109
+ },
110
+ "robot_state/eef/pos": {
111
+ "type": "STATE",
112
+ "shape": [
113
+ 3
114
+ ]
115
+ },
116
+ "robot_state/eef/quat": {
117
+ "type": "STATE",
118
+ "shape": [
119
+ 4
120
+ ]
121
+ },
122
+ "robot_state/eef/mat": {
123
+ "type": "STATE",
124
+ "shape": [
125
+ 3,
126
+ 3
127
+ ]
128
+ },
129
+ "robot_state/gripper/qpos": {
130
+ "type": "STATE",
131
+ "shape": [
132
+ 2
133
+ ]
134
+ },
135
+ "robot_state/gripper/qvel": {
136
+ "type": "STATE",
137
+ "shape": [
138
+ 2
139
+ ]
140
+ },
141
+ "robot_state/joints/pos": {
142
+ "type": "STATE",
143
+ "shape": [
144
+ 7
145
+ ]
146
+ },
147
+ "robot_state/joints/vel": {
148
+ "type": "STATE",
149
+ "shape": [
150
+ 7
151
+ ]
152
+ }
153
+ },
154
+ "features_map": {
155
+ "action": "action",
156
+ "robot_state/eef/pos": "observation.state.eef_pos",
157
+ "robot_state/eef/quat": "observation.state.eef_quat",
158
+ "robot_state/eef/mat": "observation.state.eef_mat",
159
+ "robot_state/gripper/qpos": "observation.state.gripper_qpos",
160
+ "robot_state/gripper/qvel": "observation.state.gripper_qvel",
161
+ "robot_state/joints/pos": "observation.state.joint_pos",
162
+ "robot_state/joints/vel": "observation.state.joint_vel",
163
+ "pixels/agentview_image": "observation.images.image",
164
+ "pixels/robot0_eye_in_hand_image": "observation.images.image2"
165
+ },
166
+ "max_parallel_tasks": 1,
167
+ "disable_env_checker": true,
168
+ "task_ids": null,
169
+ "episode_length": null,
170
+ "obs_type": "pixels_agent_pos",
171
+ "render_mode": "rgb_array",
172
+ "camera_name": "agentview_image,robot0_eye_in_hand_image",
173
+ "init_states": true,
174
+ "camera_name_mapping": null,
175
+ "observation_height": 360,
176
+ "observation_width": 360,
177
+ "is_libero_plus": false,
178
+ "control_mode": "relative"
179
+ },
180
+ "policy": {
181
+ "type": "groot",
182
+ "n_obs_steps": 1,
183
+ "input_features": {
184
+ "observation.images.image": {
185
+ "type": "VISUAL",
186
+ "shape": [
187
+ 3,
188
+ 256,
189
+ 256
190
+ ]
191
+ },
192
+ "observation.images.image2": {
193
+ "type": "VISUAL",
194
+ "shape": [
195
+ 3,
196
+ 256,
197
+ 256
198
+ ]
199
+ },
200
+ "observation.state": {
201
+ "type": "STATE",
202
+ "shape": [
203
+ 8
204
+ ]
205
+ }
206
+ },
207
+ "output_features": {
208
+ "action": {
209
+ "type": "ACTION",
210
+ "shape": [
211
+ 7
212
+ ]
213
+ }
214
+ },
215
+ "device": "cuda",
216
+ "use_amp": false,
217
+ "use_peft": false,
218
+ "push_to_hub": true,
219
+ "repo_id": "nvkartik/groot-n17-libero_object-full-dit-success-object-a100x2-bs128-lr1e4-50k-mg2-bs128-50000",
220
+ "private": null,
221
+ "tags": null,
222
+ "license": null,
223
+ "pretrained_path": null,
224
+ "chunk_size": 40,
225
+ "n_action_steps": 40,
226
+ "max_state_dim": 132,
227
+ "max_action_dim": 132,
228
+ "normalization_mapping": {
229
+ "VISUAL": "IDENTITY",
230
+ "STATE": "MEAN_STD",
231
+ "ACTION": "MEAN_STD"
232
+ },
233
+ "image_size": [
234
+ 256,
235
+ 256
236
+ ],
237
+ "model_version": "n1.7",
238
+ "base_model_path": "nvidia/GR00T-N1.7-3B",
239
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
240
+ "n1_7_backbone_model": "nvidia/Cosmos-Reason2-2B",
241
+ "embodiment_tag": "libero_sim",
242
+ "tune_llm": false,
243
+ "tune_visual": false,
244
+ "tune_projector": true,
245
+ "tune_diffusion_model": true,
246
+ "lora_rank": 0,
247
+ "lora_alpha": 16,
248
+ "lora_dropout": 0.1,
249
+ "lora_full_model": false,
250
+ "optimizer_lr": 0.0001,
251
+ "optimizer_betas": [
252
+ 0.95,
253
+ 0.999
254
+ ],
255
+ "optimizer_eps": 1e-08,
256
+ "optimizer_weight_decay": 1e-05,
257
+ "warmup_ratio": 0.05,
258
+ "use_bf16": true,
259
+ "video_backend": "decord",
260
+ "balance_dataset_weights": true,
261
+ "balance_trajectory_weights": true,
262
+ "dataset_paths": null,
263
+ "output_dir": "./tmp/gr00t",
264
+ "save_steps": 1000,
265
+ "max_steps": 10000,
266
+ "batch_size": 32,
267
+ "dataloader_num_workers": 8,
268
+ "report_to": "wandb",
269
+ "resume": false
270
+ },
271
+ "reward_model": null,
272
+ "output_dir": "/ephemeral/scratch/lerobot-outputs/groot-n17-libero_object-full-dit-success-object-a100x2-bs128-lr1e4-50k-full-batch128-20260518-125925",
273
+ "job_name": "groot-n17-libero_object-full-dit-success-object-a100x2-bs128-lr1e4-50k-full-batch128-20260518-125925",
274
+ "resume": false,
275
+ "seed": 1000,
276
+ "cudnn_deterministic": false,
277
+ "num_workers": 8,
278
+ "batch_size": 128,
279
+ "prefetch_factor": 2,
280
+ "persistent_workers": true,
281
+ "steps": 50000,
282
+ "eval_freq": 0,
283
+ "log_freq": 20,
284
+ "tolerance_s": 0.0001,
285
+ "save_checkpoint": true,
286
+ "save_freq": 5000,
287
+ "use_policy_training_preset": false,
288
+ "optimizer": {
289
+ "type": "adamw",
290
+ "lr": 0.0001,
291
+ "weight_decay": 1e-05,
292
+ "grad_clip_norm": 10.0,
293
+ "betas": [
294
+ 0.95,
295
+ 0.999
296
+ ],
297
+ "eps": 1e-08
298
+ },
299
+ "scheduler": {
300
+ "type": "cosine_decay_with_warmup",
301
+ "num_warmup_steps": 2500,
302
+ "num_decay_steps": 50000,
303
+ "peak_lr": 0.0001,
304
+ "decay_lr": 1e-05
305
+ },
306
+ "eval": {
307
+ "n_episodes": 50,
308
+ "batch_size": 21,
309
+ "use_async_envs": true
310
+ },
311
+ "wandb": {
312
+ "enable": true,
313
+ "disable_artifact": true,
314
+ "project": "lerobot",
315
+ "entity": null,
316
+ "notes": null,
317
+ "run_id": "ydxk866e",
318
+ "mode": null,
319
+ "add_tags": true
320
+ },
321
+ "peft": null,
322
+ "sample_weighting": null,
323
+ "rename_map": {},
324
+ "checkpoint_path": null
325
+ }