asterism45 commited on
Commit
ea42eec
·
verified ·
1 Parent(s): f32796b

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 +211 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: asterism45/bi_openarm_simple_task
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: groot
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - openarm
10
+ - groot
11
+ - robotics
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
+ 32
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
+ 16
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": false,
30
+ "push_to_hub": true,
31
+ "repo_id": "asterism45/gr00t_bi_openarm_simple_task",
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:62963ede60c1cac0393a91f430de4635bd12de94b37884df09f41eba0c9cdb54
3
+ size 6964802952
train_config.json ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "asterism45/bi_openarm_simple_task",
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": null,
83
+ "policy": {
84
+ "type": "groot",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 32
91
+ ]
92
+ },
93
+ "observation.images.laptop": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 480,
98
+ 640
99
+ ]
100
+ }
101
+ },
102
+ "output_features": {
103
+ "action": {
104
+ "type": "ACTION",
105
+ "shape": [
106
+ 16
107
+ ]
108
+ }
109
+ },
110
+ "device": "cuda",
111
+ "use_amp": false,
112
+ "push_to_hub": true,
113
+ "repo_id": "asterism45/gr00t_bi_openarm_simple_task",
114
+ "private": null,
115
+ "tags": [
116
+ "openarm"
117
+ ],
118
+ "license": null,
119
+ "pretrained_path": null,
120
+ "chunk_size": 50,
121
+ "n_action_steps": 50,
122
+ "max_state_dim": 64,
123
+ "max_action_dim": 32,
124
+ "normalization_mapping": {
125
+ "VISUAL": "IDENTITY",
126
+ "STATE": "MEAN_STD",
127
+ "ACTION": "MEAN_STD"
128
+ },
129
+ "image_size": [
130
+ 224,
131
+ 224
132
+ ],
133
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
134
+ "tokenizer_assets_repo": "lerobot/eagle2hg-processor-groot-n1p5",
135
+ "embodiment_tag": "new_embodiment",
136
+ "tune_llm": false,
137
+ "tune_visual": false,
138
+ "tune_projector": true,
139
+ "tune_diffusion_model": false,
140
+ "lora_rank": 0,
141
+ "lora_alpha": 16,
142
+ "lora_dropout": 0.1,
143
+ "lora_full_model": false,
144
+ "optimizer_lr": 0.0001,
145
+ "optimizer_betas": [
146
+ 0.95,
147
+ 0.999
148
+ ],
149
+ "optimizer_eps": 1e-08,
150
+ "optimizer_weight_decay": 1e-05,
151
+ "warmup_ratio": 0.05,
152
+ "use_bf16": true,
153
+ "video_backend": "decord",
154
+ "balance_dataset_weights": true,
155
+ "balance_trajectory_weights": true,
156
+ "dataset_paths": null,
157
+ "output_dir": "./tmp/gr00t",
158
+ "save_steps": 1000,
159
+ "max_steps": 10000,
160
+ "batch_size": 32,
161
+ "dataloader_num_workers": 8,
162
+ "report_to": "wandb",
163
+ "resume": false
164
+ },
165
+ "output_dir": "/home/kobiyama/gr00t/lerobot/outputs/train_gr00t/record-20251117-141848",
166
+ "job_name": "record-gr00t-20251117-141848",
167
+ "resume": false,
168
+ "seed": 1000,
169
+ "num_workers": 4,
170
+ "batch_size": 8,
171
+ "steps": 10000,
172
+ "eval_freq": 20000,
173
+ "log_freq": 200,
174
+ "save_checkpoint": true,
175
+ "save_freq": 1000,
176
+ "use_policy_training_preset": true,
177
+ "optimizer": {
178
+ "type": "adamw",
179
+ "lr": 0.0001,
180
+ "weight_decay": 1e-05,
181
+ "grad_clip_norm": 10.0,
182
+ "betas": [
183
+ 0.95,
184
+ 0.999
185
+ ],
186
+ "eps": 1e-08
187
+ },
188
+ "scheduler": {
189
+ "type": "cosine_decay_with_warmup",
190
+ "num_warmup_steps": 500,
191
+ "num_decay_steps": 10000,
192
+ "peak_lr": 0.0001,
193
+ "decay_lr": 1e-05
194
+ },
195
+ "eval": {
196
+ "n_episodes": 50,
197
+ "batch_size": 50,
198
+ "use_async_envs": false
199
+ },
200
+ "wandb": {
201
+ "enable": true,
202
+ "disable_artifact": false,
203
+ "project": "lerobot",
204
+ "entity": null,
205
+ "notes": null,
206
+ "run_id": "hhj6ucyy",
207
+ "mode": null
208
+ },
209
+ "checkpoint_path": null,
210
+ "rename_map": {}
211
+ }