Robotics
LeRobot
Safetensors
groot
mjung11 commited on
Commit
11d4e06
·
verified ·
1 Parent(s): 0da8c50

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +97 -0
  3. model.safetensors +3 -0
  4. train_config.json +238 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: mjung11/pp_fold
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,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 14
9
+ ]
10
+ },
11
+ "observation.images.top": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.left_hand": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ },
27
+ "observation.images.right_hand": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 480,
32
+ 640
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 14
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": true,
48
+ "repo_id": "mjung11/groot_pp_fold",
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": null,
53
+ "chunk_size": 50,
54
+ "n_action_steps": 10,
55
+ "max_state_dim": 64,
56
+ "max_action_dim": 32,
57
+ "normalization_mapping": {
58
+ "VISUAL": "IDENTITY",
59
+ "STATE": "MEAN_STD",
60
+ "ACTION": "MEAN_STD"
61
+ },
62
+ "image_size": [
63
+ 224,
64
+ 224
65
+ ],
66
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
67
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
68
+ "embodiment_tag": "new_embodiment",
69
+ "tune_llm": false,
70
+ "tune_visual": false,
71
+ "tune_projector": true,
72
+ "tune_diffusion_model": false,
73
+ "lora_rank": 0,
74
+ "lora_alpha": 16,
75
+ "lora_dropout": 0.1,
76
+ "lora_full_model": false,
77
+ "optimizer_lr": 0.0001,
78
+ "optimizer_betas": [
79
+ 0.95,
80
+ 0.999
81
+ ],
82
+ "optimizer_eps": 1e-08,
83
+ "optimizer_weight_decay": 1e-05,
84
+ "warmup_ratio": 0.05,
85
+ "use_bf16": true,
86
+ "video_backend": "decord",
87
+ "balance_dataset_weights": true,
88
+ "balance_trajectory_weights": true,
89
+ "dataset_paths": null,
90
+ "output_dir": "./tmp/gr00t",
91
+ "save_steps": 1000,
92
+ "max_steps": 10000,
93
+ "batch_size": 32,
94
+ "dataloader_num_workers": 8,
95
+ "report_to": "wandb",
96
+ "resume": false
97
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:588515845d4634d0b6a1f22800a2f56ee1b6c5c7d4d352015944562e7107e7f7
3
+ size 5448472032
train_config.json ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "mjung11/pp_fold",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": true,
8
+ "max_num_transforms": 3,
9
+ "random_order": true,
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": "pyav",
80
+ "return_uint8": false,
81
+ "streaming": false
82
+ },
83
+ "env": null,
84
+ "policy": {
85
+ "type": "groot",
86
+ "n_obs_steps": 1,
87
+ "input_features": {
88
+ "observation.state": {
89
+ "type": "STATE",
90
+ "shape": [
91
+ 14
92
+ ]
93
+ },
94
+ "observation.images.top": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 480,
99
+ 640
100
+ ]
101
+ },
102
+ "observation.images.left_hand": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 3,
106
+ 480,
107
+ 640
108
+ ]
109
+ },
110
+ "observation.images.right_hand": {
111
+ "type": "VISUAL",
112
+ "shape": [
113
+ 3,
114
+ 480,
115
+ 640
116
+ ]
117
+ }
118
+ },
119
+ "output_features": {
120
+ "action": {
121
+ "type": "ACTION",
122
+ "shape": [
123
+ 14
124
+ ]
125
+ }
126
+ },
127
+ "device": "cuda",
128
+ "use_amp": false,
129
+ "use_peft": false,
130
+ "push_to_hub": true,
131
+ "repo_id": "mjung11/groot_pp_fold",
132
+ "private": null,
133
+ "tags": null,
134
+ "license": null,
135
+ "pretrained_path": null,
136
+ "chunk_size": 50,
137
+ "n_action_steps": 10,
138
+ "max_state_dim": 64,
139
+ "max_action_dim": 32,
140
+ "normalization_mapping": {
141
+ "VISUAL": "IDENTITY",
142
+ "STATE": "MEAN_STD",
143
+ "ACTION": "MEAN_STD"
144
+ },
145
+ "image_size": [
146
+ 224,
147
+ 224
148
+ ],
149
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
150
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
151
+ "embodiment_tag": "new_embodiment",
152
+ "tune_llm": false,
153
+ "tune_visual": false,
154
+ "tune_projector": true,
155
+ "tune_diffusion_model": false,
156
+ "lora_rank": 0,
157
+ "lora_alpha": 16,
158
+ "lora_dropout": 0.1,
159
+ "lora_full_model": false,
160
+ "optimizer_lr": 0.0001,
161
+ "optimizer_betas": [
162
+ 0.95,
163
+ 0.999
164
+ ],
165
+ "optimizer_eps": 1e-08,
166
+ "optimizer_weight_decay": 1e-05,
167
+ "warmup_ratio": 0.05,
168
+ "use_bf16": true,
169
+ "video_backend": "decord",
170
+ "balance_dataset_weights": true,
171
+ "balance_trajectory_weights": true,
172
+ "dataset_paths": null,
173
+ "output_dir": "./tmp/gr00t",
174
+ "save_steps": 1000,
175
+ "max_steps": 10000,
176
+ "batch_size": 32,
177
+ "dataloader_num_workers": 8,
178
+ "report_to": "wandb",
179
+ "resume": false
180
+ },
181
+ "output_dir": "/mnt/fast/huggingface/lerobot/mjung11/outputs/groot_pp_fold",
182
+ "job_name": "groot",
183
+ "resume": false,
184
+ "seed": 1000,
185
+ "cudnn_deterministic": false,
186
+ "num_workers": 4,
187
+ "batch_size": 128,
188
+ "prefetch_factor": 4,
189
+ "persistent_workers": true,
190
+ "steps": 1200,
191
+ "eval_freq": 0,
192
+ "log_freq": 200,
193
+ "tolerance_s": 0.0001,
194
+ "save_checkpoint": true,
195
+ "save_freq": 240,
196
+ "use_policy_training_preset": true,
197
+ "optimizer": {
198
+ "type": "adamw",
199
+ "lr": 0.0001,
200
+ "weight_decay": 1e-05,
201
+ "grad_clip_norm": 10.0,
202
+ "betas": [
203
+ 0.95,
204
+ 0.999
205
+ ],
206
+ "eps": 1e-08
207
+ },
208
+ "scheduler": {
209
+ "type": "cosine_decay_with_warmup",
210
+ "num_warmup_steps": 500,
211
+ "num_decay_steps": 10000,
212
+ "peak_lr": 0.0001,
213
+ "decay_lr": 1e-05
214
+ },
215
+ "eval": {
216
+ "n_episodes": 50,
217
+ "batch_size": 50,
218
+ "use_async_envs": true
219
+ },
220
+ "wandb": {
221
+ "enable": true,
222
+ "disable_artifact": true,
223
+ "project": "lerobot",
224
+ "entity": null,
225
+ "notes": null,
226
+ "run_id": "hubzb56n",
227
+ "mode": null,
228
+ "add_tags": true
229
+ },
230
+ "peft": null,
231
+ "use_rabc": false,
232
+ "rabc_progress_path": null,
233
+ "rabc_kappa": 0.01,
234
+ "rabc_epsilon": 1e-06,
235
+ "rabc_head_mode": "sparse",
236
+ "rename_map": {},
237
+ "checkpoint_path": null
238
+ }