aractingi commited on
Commit
d3dd37e
·
verified ·
1 Parent(s): 0684612

Upload policy weights, train config and readme

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