aractingi HF Staff commited on
Commit
93b9ffb
·
verified ·
1 Parent(s): b92702a

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +88 -0
  3. model.safetensors +3 -0
  4. train_config.json +267 -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
+ - robotics
9
+ - groot
10
+ - lerobot
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,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "push_to_hub": true,
39
+ "repo_id": "aractingi/libero-groot-1",
40
+ "private": null,
41
+ "tags": null,
42
+ "license": null,
43
+ "pretrained_path": null,
44
+ "chunk_size": 50,
45
+ "n_action_steps": 50,
46
+ "max_state_dim": 64,
47
+ "max_action_dim": 32,
48
+ "normalization_mapping": {
49
+ "VISUAL": "IDENTITY",
50
+ "STATE": "MEAN_STD",
51
+ "ACTION": "MEAN_STD"
52
+ },
53
+ "image_size": [
54
+ 224,
55
+ 224
56
+ ],
57
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
58
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
59
+ "embodiment_tag": "new_embodiment",
60
+ "tune_llm": false,
61
+ "tune_visual": false,
62
+ "tune_projector": true,
63
+ "tune_diffusion_model": false,
64
+ "lora_rank": 0,
65
+ "lora_alpha": 16,
66
+ "lora_dropout": 0.1,
67
+ "lora_full_model": false,
68
+ "optimizer_lr": 0.0001,
69
+ "optimizer_betas": [
70
+ 0.95,
71
+ 0.999
72
+ ],
73
+ "optimizer_eps": 1e-08,
74
+ "optimizer_weight_decay": 1e-05,
75
+ "warmup_ratio": 0.05,
76
+ "use_bf16": true,
77
+ "video_backend": "decord",
78
+ "balance_dataset_weights": true,
79
+ "balance_trajectory_weights": true,
80
+ "dataset_paths": null,
81
+ "output_dir": "./tmp/gr00t",
82
+ "save_steps": 1000,
83
+ "max_steps": 10000,
84
+ "batch_size": 32,
85
+ "dataloader_num_workers": 8,
86
+ "report_to": "wandb",
87
+ "resume": false
88
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b48fa267fae1d5cd2e281542d88ee7a79cd8ee296c1c4515d9879313a3acc368
3
+ size 6964802952
train_config.json ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_spatial,libero_object,libero_goal,libero_10",
85
+ "fps": 30,
86
+ "features": {
87
+ "action": {
88
+ "type": "ACTION",
89
+ "shape": [
90
+ 7
91
+ ]
92
+ },
93
+ "agent_pos": {
94
+ "type": "STATE",
95
+ "shape": [
96
+ 8
97
+ ]
98
+ },
99
+ "pixels/agentview_image": {
100
+ "type": "VISUAL",
101
+ "shape": [
102
+ 360,
103
+ 360,
104
+ 3
105
+ ]
106
+ },
107
+ "pixels/robot0_eye_in_hand_image": {
108
+ "type": "VISUAL",
109
+ "shape": [
110
+ 360,
111
+ 360,
112
+ 3
113
+ ]
114
+ }
115
+ },
116
+ "features_map": {
117
+ "action": "action",
118
+ "agent_pos": "observation.state",
119
+ "pixels/agentview_image": "observation.images.image",
120
+ "pixels/robot0_eye_in_hand_image": "observation.images.image2"
121
+ },
122
+ "max_parallel_tasks": 1,
123
+ "disable_env_checker": true,
124
+ "episode_length": 520,
125
+ "obs_type": "pixels_agent_pos",
126
+ "render_mode": "rgb_array",
127
+ "camera_name": "agentview_image,robot0_eye_in_hand_image",
128
+ "init_states": true,
129
+ "camera_name_mapping": null,
130
+ "observation_height": 360,
131
+ "observation_width": 360
132
+ },
133
+ "policy": {
134
+ "type": "groot",
135
+ "n_obs_steps": 1,
136
+ "input_features": {
137
+ "observation.images.image": {
138
+ "type": "VISUAL",
139
+ "shape": [
140
+ 3,
141
+ 256,
142
+ 256
143
+ ]
144
+ },
145
+ "observation.images.image2": {
146
+ "type": "VISUAL",
147
+ "shape": [
148
+ 3,
149
+ 256,
150
+ 256
151
+ ]
152
+ },
153
+ "observation.state": {
154
+ "type": "STATE",
155
+ "shape": [
156
+ 8
157
+ ]
158
+ }
159
+ },
160
+ "output_features": {
161
+ "action": {
162
+ "type": "ACTION",
163
+ "shape": [
164
+ 7
165
+ ]
166
+ }
167
+ },
168
+ "device": "cuda",
169
+ "use_amp": false,
170
+ "push_to_hub": true,
171
+ "repo_id": "aractingi/libero-groot-1",
172
+ "private": null,
173
+ "tags": null,
174
+ "license": null,
175
+ "pretrained_path": null,
176
+ "chunk_size": 50,
177
+ "n_action_steps": 50,
178
+ "max_state_dim": 64,
179
+ "max_action_dim": 32,
180
+ "normalization_mapping": {
181
+ "VISUAL": "IDENTITY",
182
+ "STATE": "MEAN_STD",
183
+ "ACTION": "MEAN_STD"
184
+ },
185
+ "image_size": [
186
+ 224,
187
+ 224
188
+ ],
189
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
190
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
191
+ "embodiment_tag": "new_embodiment",
192
+ "tune_llm": false,
193
+ "tune_visual": false,
194
+ "tune_projector": true,
195
+ "tune_diffusion_model": false,
196
+ "lora_rank": 0,
197
+ "lora_alpha": 16,
198
+ "lora_dropout": 0.1,
199
+ "lora_full_model": false,
200
+ "optimizer_lr": 0.0001,
201
+ "optimizer_betas": [
202
+ 0.95,
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
+ "video_backend": "decord",
210
+ "balance_dataset_weights": true,
211
+ "balance_trajectory_weights": true,
212
+ "dataset_paths": null,
213
+ "output_dir": "./tmp/gr00t",
214
+ "save_steps": 1000,
215
+ "max_steps": 10000,
216
+ "batch_size": 32,
217
+ "dataloader_num_workers": 8,
218
+ "report_to": "wandb",
219
+ "resume": false
220
+ },
221
+ "output_dir": "/fsx/michel_aractingi/outputs/train/libero-groot-1",
222
+ "job_name": "libero-groot-1",
223
+ "resume": false,
224
+ "seed": 1000,
225
+ "num_workers": 4,
226
+ "batch_size": 32,
227
+ "steps": 50000,
228
+ "eval_freq": 0,
229
+ "log_freq": 50,
230
+ "save_checkpoint": true,
231
+ "save_freq": 5000,
232
+ "use_policy_training_preset": true,
233
+ "optimizer": {
234
+ "type": "adamw",
235
+ "lr": 0.0001,
236
+ "weight_decay": 1e-05,
237
+ "grad_clip_norm": 10.0,
238
+ "betas": [
239
+ 0.95,
240
+ 0.999
241
+ ],
242
+ "eps": 1e-08
243
+ },
244
+ "scheduler": {
245
+ "type": "cosine_decay_with_warmup",
246
+ "num_warmup_steps": 500,
247
+ "num_decay_steps": 10000,
248
+ "peak_lr": 0.0001,
249
+ "decay_lr": 1e-05
250
+ },
251
+ "eval": {
252
+ "n_episodes": 1,
253
+ "batch_size": 1,
254
+ "use_async_envs": false
255
+ },
256
+ "wandb": {
257
+ "enable": true,
258
+ "disable_artifact": true,
259
+ "project": "groot",
260
+ "entity": null,
261
+ "notes": null,
262
+ "run_id": "ndy4uauv",
263
+ "mode": null
264
+ },
265
+ "checkpoint_path": null,
266
+ "rename_map": {}
267
+ }