Robotics
LeRobot
Safetensors
groot
raymondlo84-nvidia commited on
Commit
8cd4916
·
verified ·
1 Parent(s): 5fd28ba

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +166 -0
  2. config.json +93 -0
  3. model.safetensors +3 -0
  4. train_config.json +244 -0
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: raymondlo84-nvidia/baseline_green_2_20260702_121511
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: groot
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - robotics
10
+ - groot
11
+ ---
12
+
13
+ # Model Card for groot
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ [GR00T N1.7](https://github.com/NVIDIA/Isaac-GR00T) is an open, cross-embodiment foundation model from NVIDIA for generalized humanoid robot reasoning and skills. It uses a Cosmos-Reason2/Qwen3-VL backbone and a flow-matching action transformer to predict actions conditioned on vision, language, and proprioception.
19
+
20
+
21
+
22
+ <p align="center">
23
+ <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/lerobot-groot-paper1%20(1).png" alt="groot architecture" width="85%"/>
24
+ </p>
25
+
26
+
27
+ <!-- A short demo is worth more than any description! Record a GIF/video of the policy
28
+ running on your robot, upload it to this repo, and embed it here:
29
+ <p align="center">
30
+ <img src="https://huggingface.co/<hf_user>/<policy_repo_id>/resolve/main/demo.gif" width="60%"/>
31
+ </p>
32
+ -->
33
+
34
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
35
+
36
+ Learn how to train and run it in the [LeRobot groot guide](https://huggingface.co/docs/lerobot/main/en/groot), or browse the [full documentation](https://huggingface.co/docs/lerobot/index).
37
+
38
+
39
+ ---
40
+
41
+ ## Model Details
42
+
43
+ - **License:** apache-2.0
44
+ - **Robot type:** `so_follower`
45
+ - **Cameras:** `front`
46
+
47
+
48
+ ## Inputs & Outputs
49
+
50
+ The policy consumes these observation features and produces these action features.
51
+
52
+ **Inputs**
53
+
54
+ | Feature | Type | Shape |
55
+ | --- | --- | --- |
56
+ | `observation.state` | STATE | `(6,)` |
57
+ | `observation.images.front` | VISUAL | `(3, 480, 640)` |
58
+
59
+ **Outputs**
60
+
61
+ | Feature | Type | Shape |
62
+ | --- | --- | --- |
63
+ | `action` | ACTION | `(6,)` |
64
+
65
+
66
+ ## Training Dataset
67
+
68
+ - **Repository:** [raymondlo84-nvidia/baseline_green_2_20260702_121511](https://huggingface.co/datasets/raymondlo84-nvidia/baseline_green_2_20260702_121511)
69
+ - **Episodes:** 7
70
+ - **Frames:** 4193
71
+ - **Frame rate:** 30 FPS
72
+ - **Task(s):** "Pick up the cube and place it in the box"
73
+
74
+ <a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=raymondlo84-nvidia/baseline_green_2_20260702_121511">
75
+ <img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl.svg"/>
76
+ <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl-dark.svg"/>
77
+ </a>
78
+
79
+
80
+ ## Training Configuration
81
+
82
+ | Setting | Value |
83
+ | --- | --- |
84
+ | Training steps | 10000 |
85
+ | Batch size | 8 |
86
+ | Optimizer | adamw |
87
+ | Learning rate | 0.0001 |
88
+ | Seed | 1000 |
89
+ | LeRobot version | 0.6.1 |
90
+
91
+ ---
92
+
93
+ ## How to Get Started with the Model
94
+
95
+ New to LeRobot? These guides cover the full workflow:
96
+
97
+ - **[Install LeRobot](https://huggingface.co/docs/lerobot/main/en/installation)** — set up the `lerobot` package.
98
+ - **[Hardware setup](https://huggingface.co/docs/lerobot/main/en/hardware_guide)** — assemble, wire, and calibrate your robot and cameras.
99
+ - **[Record data & train a policy](https://huggingface.co/docs/lerobot/en/il_robots)** — the end-to-end imitation-learning walkthrough.
100
+ - **[CLI cheat-sheet](https://huggingface.co/docs/lerobot/main/en/cheat-sheet)** — quick reference for the `lerobot-*` commands.
101
+
102
+ The short version to run and train this policy:
103
+
104
+ ### Run the policy on your robot
105
+
106
+ ```bash
107
+ lerobot-rollout \
108
+ --strategy.type=base \
109
+ --robot.type=so_follower \
110
+ --robot.port=<your_robot_port> \
111
+ --robot.cameras="{ <camera_1>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}, <camera_2>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}}" \
112
+ --policy.path=raymondlo84-nvidia/gr00t_n17_baseline_green_2_thor \
113
+ --task="Pick up the cube and place it in the box" \
114
+ --duration=60
115
+ ```
116
+
117
+ Replace the remaining `<...>` placeholders with your own values: `--robot.port` and the camera names/indices are specific to your machine, and the camera names must match the observation keys this policy was trained on.
118
+
119
+ When `--strategy.type=base` is used the script doesn't record the episodes. Skipping duration will make the policy run indefinitely. For more information look at [rollout documentation](https://huggingface.co/docs/lerobot/main/en/inference).
120
+
121
+ ### Train your own policy
122
+
123
+ ```bash
124
+ lerobot-train \
125
+ --dataset.repo_id=${HF_USER}/<dataset> \
126
+ --policy.type=groot \
127
+ --output_dir=outputs/train/<policy_repo_id> \
128
+ --job_name=lerobot_training \
129
+ --policy.device=cuda \
130
+ --policy.repo_id=${HF_USER}/<policy_repo_id> \
131
+ --wandb.enable=true
132
+ ```
133
+
134
+ _Writes checkpoints to `outputs/train/<policy_repo_id>/checkpoints/`._
135
+
136
+ ---
137
+
138
+ ## Evaluation
139
+
140
+ <!-- Report real-robot results here: run the policy several times per task and count the
141
+ successes. Delete the "No evaluation results" line and fill in this table instead:
142
+
143
+ | Task | Trials | Successes | Success rate |
144
+ | ---- | ------ | --------- | ------------ |
145
+ | pick the lego brick | 10 | 8 | 80% |
146
+
147
+ Also worth noting: anything that affects difficulty (new object positions, lighting,
148
+ distractors, a different robot of the same type, ...).
149
+ -->
150
+
151
+ _No evaluation results have been provided for this policy yet._
152
+
153
+ ---
154
+
155
+ ## Citation
156
+
157
+ If you use this policy, please cite the method linked in the description above, along with LeRobot:
158
+
159
+ ```bibtex
160
+ @misc{cadene2024lerobot,
161
+ author = {Cadene, Remi and Alibert, Simon and Soare, Alexander and Gallouedec, Quentin and Zouitine, Adil and Palma, Steven and Kooijmans, Pepijn and Aractingi, Michel and Shukor, Mustafa and Aubakirova, Dana and Russi, Martino and Capuano, Francesco and Pascal, Caroline and Choghari, Jade and Moss, Jess and Wolf, Thomas},
162
+ title = {LeRobot: State-of-the-art Machine Learning for Real-World Robotics in Pytorch},
163
+ howpublished = "\url{https://github.com/huggingface/lerobot}",
164
+ year = {2024}
165
+ }
166
+ ```
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.front": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {
21
+ "action": {
22
+ "type": "ACTION",
23
+ "shape": [
24
+ 6
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": false,
30
+ "use_peft": false,
31
+ "push_to_hub": true,
32
+ "repo_id": "raymondlo84-nvidia/gr00t_n17_baseline_green_2_thor",
33
+ "private": null,
34
+ "tags": null,
35
+ "license": null,
36
+ "pretrained_path": "outputs/train/groot_n17_baseline_green_2_thor/checkpoints/last/pretrained_model",
37
+ "pretrained_revision": null,
38
+ "chunk_size": 16,
39
+ "n_action_steps": 16,
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": true,
60
+ "relative_exclude_joints": [
61
+ "gripper"
62
+ ],
63
+ "optimizer_lr": 0.0001,
64
+ "optimizer_betas": [
65
+ 0.9,
66
+ 0.999
67
+ ],
68
+ "optimizer_eps": 1e-08,
69
+ "optimizer_weight_decay": 1e-05,
70
+ "warmup_ratio": 0.05,
71
+ "use_bf16": true,
72
+ "model_params_fp32": true,
73
+ "image_size": [
74
+ 256,
75
+ 256
76
+ ],
77
+ "tokenizer_assets_repo": null,
78
+ "lora_rank": 0,
79
+ "lora_alpha": 16,
80
+ "lora_dropout": 0.1,
81
+ "lora_full_model": false,
82
+ "video_backend": "decord",
83
+ "balance_dataset_weights": true,
84
+ "balance_trajectory_weights": true,
85
+ "dataset_paths": null,
86
+ "output_dir": "./tmp/gr00t",
87
+ "save_steps": 1000,
88
+ "max_steps": 10000,
89
+ "batch_size": 32,
90
+ "dataloader_num_workers": 8,
91
+ "report_to": "wandb",
92
+ "resume": false
93
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bba14ebc8323c16421a95f8e2736fd4c5791aca890cb0ab35b350d15f7bdf186
3
+ size 12576215296
train_config.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "raymondlo84-nvidia/baseline_green_2_20260702_121511",
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
+ "depth_output_unit": "mm",
82
+ "streaming": false,
83
+ "eval_split": 0.0
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "groot",
88
+ "n_obs_steps": 1,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 6
94
+ ]
95
+ },
96
+ "observation.images.front": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 480,
101
+ 640
102
+ ]
103
+ }
104
+ },
105
+ "output_features": {
106
+ "action": {
107
+ "type": "ACTION",
108
+ "shape": [
109
+ 6
110
+ ]
111
+ }
112
+ },
113
+ "device": "cuda",
114
+ "use_amp": false,
115
+ "use_peft": false,
116
+ "push_to_hub": true,
117
+ "repo_id": "raymondlo84-nvidia/gr00t_n17_baseline_green_2_thor",
118
+ "private": null,
119
+ "tags": null,
120
+ "license": null,
121
+ "pretrained_path": "outputs/train/groot_n17_baseline_green_2_thor/checkpoints/last/pretrained_model",
122
+ "pretrained_revision": null,
123
+ "chunk_size": 16,
124
+ "n_action_steps": 16,
125
+ "max_state_dim": 132,
126
+ "max_action_dim": 132,
127
+ "normalization_mapping": {
128
+ "VISUAL": "IDENTITY",
129
+ "STATE": "IDENTITY",
130
+ "ACTION": "IDENTITY"
131
+ },
132
+ "base_model_path": "nvidia/GR00T-N1.7-3B",
133
+ "action_decode_transform": null,
134
+ "embodiment_tag": "new_embodiment",
135
+ "tune_llm": false,
136
+ "tune_visual": false,
137
+ "tune_projector": true,
138
+ "tune_diffusion_model": true,
139
+ "tune_vlln": true,
140
+ "tune_top_llm_layers": 0,
141
+ "num_inference_timesteps": null,
142
+ "rtc_ramp_rate": null,
143
+ "use_flash_attention": false,
144
+ "use_relative_actions": true,
145
+ "relative_exclude_joints": [
146
+ "gripper"
147
+ ],
148
+ "optimizer_lr": 0.0001,
149
+ "optimizer_betas": [
150
+ 0.9,
151
+ 0.999
152
+ ],
153
+ "optimizer_eps": 1e-08,
154
+ "optimizer_weight_decay": 1e-05,
155
+ "warmup_ratio": 0.05,
156
+ "use_bf16": true,
157
+ "model_params_fp32": true,
158
+ "image_size": [
159
+ 256,
160
+ 256
161
+ ],
162
+ "tokenizer_assets_repo": null,
163
+ "lora_rank": 0,
164
+ "lora_alpha": 16,
165
+ "lora_dropout": 0.1,
166
+ "lora_full_model": false,
167
+ "video_backend": "decord",
168
+ "balance_dataset_weights": true,
169
+ "balance_trajectory_weights": true,
170
+ "dataset_paths": null,
171
+ "output_dir": "./tmp/gr00t",
172
+ "save_steps": 1000,
173
+ "max_steps": 10000,
174
+ "batch_size": 32,
175
+ "dataloader_num_workers": 8,
176
+ "report_to": "wandb",
177
+ "resume": false
178
+ },
179
+ "reward_model": null,
180
+ "output_dir": "outputs/train/groot_n17_baseline_green_2_thor",
181
+ "job_name": "raymondlo84-nvidia/baseline_green_2_20260702_121511",
182
+ "resume": true,
183
+ "seed": 1000,
184
+ "cudnn_deterministic": false,
185
+ "num_workers": 4,
186
+ "batch_size": 8,
187
+ "prefetch_factor": 4,
188
+ "persistent_workers": true,
189
+ "steps": 10000,
190
+ "env_eval_freq": 0,
191
+ "log_freq": 10,
192
+ "eval_steps": 0,
193
+ "max_eval_samples": 0,
194
+ "tolerance_s": 0.0001,
195
+ "save_checkpoint": true,
196
+ "save_freq": 5000,
197
+ "use_policy_training_preset": true,
198
+ "optimizer": {
199
+ "type": "adamw",
200
+ "lr": 0.0001,
201
+ "weight_decay": 1e-05,
202
+ "grad_clip_norm": 1.0,
203
+ "betas": [
204
+ 0.9,
205
+ 0.999
206
+ ],
207
+ "eps": 1e-08
208
+ },
209
+ "scheduler": {
210
+ "type": "diffuser",
211
+ "num_warmup_steps": 500,
212
+ "name": "cosine"
213
+ },
214
+ "eval": {
215
+ "n_episodes": 50,
216
+ "batch_size": 9,
217
+ "use_async_envs": true,
218
+ "recording": false,
219
+ "recording_repo_id": null,
220
+ "recording_private": false
221
+ },
222
+ "wandb": {
223
+ "enable": false,
224
+ "disable_artifact": false,
225
+ "project": "lerobot",
226
+ "entity": null,
227
+ "notes": null,
228
+ "run_id": null,
229
+ "mode": null,
230
+ "add_tags": true
231
+ },
232
+ "peft": null,
233
+ "job": {
234
+ "target": null,
235
+ "image": "huggingface/lerobot-gpu:latest",
236
+ "timeout": "2d",
237
+ "detach": false,
238
+ "tags": []
239
+ },
240
+ "save_checkpoint_to_hub": false,
241
+ "sample_weighting": null,
242
+ "rename_map": {},
243
+ "checkpoint_path": "outputs/train/groot_n17_baseline_green_2_thor/checkpoints/last"
244
+ }