asterism45 commited on
Commit
2ce5c79
·
verified ·
1 Parent(s): c6aec48

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +82 -0
  3. model.safetensors +3 -0
  4. train_config.json +212 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: asterism45/bi_openarm_collect_tools_2_filtered
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: groot
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - robotics
10
+ - openarm
11
+ - groot
12
+ ---
13
+
14
+ # Model Card for groot
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+ _Model type not recognized — please update this template._
20
+
21
+
22
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
23
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
24
+
25
+ ---
26
+
27
+ ## How to Get Started with the Model
28
+
29
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
30
+ Below is the short version on how to train and run inference/eval:
31
+
32
+ ### Train from scratch
33
+
34
+ ```bash
35
+ lerobot-train \
36
+ --dataset.repo_id=${HF_USER}/<dataset> \
37
+ --policy.type=act \
38
+ --output_dir=outputs/train/<desired_policy_repo_id> \
39
+ --job_name=lerobot_training \
40
+ --policy.device=cuda \
41
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
42
+ --wandb.enable=true
43
+ ```
44
+
45
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
46
+
47
+ ### Evaluate the policy/run inference
48
+
49
+ ```bash
50
+ lerobot-record \
51
+ --robot.type=so100_follower \
52
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
53
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
54
+ --episodes=10
55
+ ```
56
+
57
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
58
+
59
+ ---
60
+
61
+ ## Model Details
62
+
63
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 30
9
+ ]
10
+ },
11
+ "observation.images.laptop": {
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
+ 15
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": false,
30
+ "push_to_hub": true,
31
+ "repo_id": "asterism45/gr00t_bi_openarm_collect_tools_2",
32
+ "private": null,
33
+ "tags": [
34
+ "openarm"
35
+ ],
36
+ "license": null,
37
+ "pretrained_path": null,
38
+ "chunk_size": 50,
39
+ "n_action_steps": 50,
40
+ "max_state_dim": 64,
41
+ "max_action_dim": 32,
42
+ "normalization_mapping": {
43
+ "VISUAL": "IDENTITY",
44
+ "STATE": "MEAN_STD",
45
+ "ACTION": "MEAN_STD"
46
+ },
47
+ "image_size": [
48
+ 224,
49
+ 224
50
+ ],
51
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
52
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
53
+ "embodiment_tag": "new_embodiment",
54
+ "tune_llm": false,
55
+ "tune_visual": false,
56
+ "tune_projector": true,
57
+ "tune_diffusion_model": false,
58
+ "lora_rank": 0,
59
+ "lora_alpha": 16,
60
+ "lora_dropout": 0.1,
61
+ "lora_full_model": false,
62
+ "optimizer_lr": 0.0001,
63
+ "optimizer_betas": [
64
+ 0.95,
65
+ 0.999
66
+ ],
67
+ "optimizer_eps": 1e-08,
68
+ "optimizer_weight_decay": 1e-05,
69
+ "warmup_ratio": 0.05,
70
+ "use_bf16": true,
71
+ "video_backend": "decord",
72
+ "balance_dataset_weights": true,
73
+ "balance_trajectory_weights": true,
74
+ "dataset_paths": null,
75
+ "output_dir": "./tmp/gr00t",
76
+ "save_steps": 1000,
77
+ "max_steps": 10000,
78
+ "batch_size": 32,
79
+ "dataloader_num_workers": 8,
80
+ "report_to": "wandb",
81
+ "resume": false
82
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:979cb198c4e14f62a1656ff6d9dc7649fb6ccd753f9d14bb5ccd4723463a3e95
3
+ size 6964802952
train_config.json ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "asterism45/bi_openarm_collect_tools_2_filtered",
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
+ "tolerance_s": 0.02
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
+ 30
92
+ ]
93
+ },
94
+ "observation.images.laptop": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 480,
99
+ 640
100
+ ]
101
+ }
102
+ },
103
+ "output_features": {
104
+ "action": {
105
+ "type": "ACTION",
106
+ "shape": [
107
+ 15
108
+ ]
109
+ }
110
+ },
111
+ "device": "cuda",
112
+ "use_amp": false,
113
+ "push_to_hub": true,
114
+ "repo_id": "asterism45/gr00t_bi_openarm_collect_tools_2",
115
+ "private": null,
116
+ "tags": [
117
+ "openarm"
118
+ ],
119
+ "license": null,
120
+ "pretrained_path": null,
121
+ "chunk_size": 50,
122
+ "n_action_steps": 50,
123
+ "max_state_dim": 64,
124
+ "max_action_dim": 32,
125
+ "normalization_mapping": {
126
+ "VISUAL": "IDENTITY",
127
+ "STATE": "MEAN_STD",
128
+ "ACTION": "MEAN_STD"
129
+ },
130
+ "image_size": [
131
+ 224,
132
+ 224
133
+ ],
134
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
135
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
136
+ "embodiment_tag": "new_embodiment",
137
+ "tune_llm": false,
138
+ "tune_visual": false,
139
+ "tune_projector": true,
140
+ "tune_diffusion_model": false,
141
+ "lora_rank": 0,
142
+ "lora_alpha": 16,
143
+ "lora_dropout": 0.1,
144
+ "lora_full_model": false,
145
+ "optimizer_lr": 0.0001,
146
+ "optimizer_betas": [
147
+ 0.95,
148
+ 0.999
149
+ ],
150
+ "optimizer_eps": 1e-08,
151
+ "optimizer_weight_decay": 1e-05,
152
+ "warmup_ratio": 0.05,
153
+ "use_bf16": true,
154
+ "video_backend": "decord",
155
+ "balance_dataset_weights": true,
156
+ "balance_trajectory_weights": true,
157
+ "dataset_paths": null,
158
+ "output_dir": "./tmp/gr00t",
159
+ "save_steps": 1000,
160
+ "max_steps": 10000,
161
+ "batch_size": 32,
162
+ "dataloader_num_workers": 8,
163
+ "report_to": "wandb",
164
+ "resume": false
165
+ },
166
+ "output_dir": "/home/kobiyama/gr00t/lerobot/outputs/train_gr00t/record-20251113-035709",
167
+ "job_name": "record-gr00t-20251113-035709",
168
+ "resume": false,
169
+ "seed": 1000,
170
+ "num_workers": 4,
171
+ "batch_size": 8,
172
+ "steps": 10000,
173
+ "eval_freq": 20000,
174
+ "log_freq": 200,
175
+ "save_checkpoint": true,
176
+ "save_freq": 1000,
177
+ "use_policy_training_preset": true,
178
+ "optimizer": {
179
+ "type": "adamw",
180
+ "lr": 0.0001,
181
+ "weight_decay": 1e-05,
182
+ "grad_clip_norm": 10.0,
183
+ "betas": [
184
+ 0.95,
185
+ 0.999
186
+ ],
187
+ "eps": 1e-08
188
+ },
189
+ "scheduler": {
190
+ "type": "cosine_decay_with_warmup",
191
+ "num_warmup_steps": 500,
192
+ "num_decay_steps": 10000,
193
+ "peak_lr": 0.0001,
194
+ "decay_lr": 1e-05
195
+ },
196
+ "eval": {
197
+ "n_episodes": 50,
198
+ "batch_size": 50,
199
+ "use_async_envs": false
200
+ },
201
+ "wandb": {
202
+ "enable": true,
203
+ "disable_artifact": false,
204
+ "project": "lerobot",
205
+ "entity": null,
206
+ "notes": null,
207
+ "run_id": "oucr0dml",
208
+ "mode": null
209
+ },
210
+ "checkpoint_path": null,
211
+ "rename_map": {}
212
+ }