Robotics
LeRobot
Safetensors
groot
aractingi commited on
Commit
69f8323
·
verified ·
1 Parent(s): f789786

Upload policy weights, train config and readme

Browse files
Files changed (5) hide show
  1. README.md +62 -0
  2. config.json +93 -0
  3. groot_model_config.json +56 -0
  4. model.safetensors +3 -0
  5. train_config.json +206 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: aractingi/bimanual-so100-handover-cube-224
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: groot
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - robotics
10
+ - groot
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,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "groot",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 12
9
+ ]
10
+ },
11
+ "observation.images.left": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 224,
16
+ 224
17
+ ]
18
+ },
19
+ "observation.images.top": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 224,
24
+ 224
25
+ ]
26
+ },
27
+ "observation.images.right": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 224,
32
+ 224
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 12
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "push_to_hub": true,
47
+ "repo_id": "aractingi/groot-bimanual-224",
48
+ "private": null,
49
+ "tags": null,
50
+ "license": null,
51
+ "pretrained_path": null,
52
+ "chunk_size": 50,
53
+ "n_action_steps": 50,
54
+ "normalization_mapping": {
55
+ "VISUAL": "IDENTITY",
56
+ "STATE": "MEAN_STD",
57
+ "ACTION": "MEAN_STD"
58
+ },
59
+ "image_size": [
60
+ 224,
61
+ 224
62
+ ],
63
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
64
+ "embodiment_tag": "new_embodiment",
65
+ "tune_llm": false,
66
+ "tune_visual": false,
67
+ "tune_projector": true,
68
+ "tune_diffusion_model": false,
69
+ "lora_rank": 0,
70
+ "lora_alpha": 16,
71
+ "lora_dropout": 0.1,
72
+ "lora_full_model": false,
73
+ "optimizer_lr": 0.0001,
74
+ "optimizer_betas": [
75
+ 0.95,
76
+ 0.999
77
+ ],
78
+ "optimizer_eps": 1e-08,
79
+ "optimizer_weight_decay": 1e-05,
80
+ "warmup_ratio": 0.05,
81
+ "use_bf16": true,
82
+ "video_backend": "decord",
83
+ "balance_dataset_weights": true,
84
+ "balance_trajectory_weights": true,
85
+ "dataset_paths": null,
86
+ "output_dir": "./tmp/gr00t",
87
+ "save_steps": 1000,
88
+ "max_steps": 10000,
89
+ "batch_size": 32,
90
+ "dataloader_num_workers": 8,
91
+ "report_to": "wandb",
92
+ "resume": false
93
+ }
groot_model_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backbone_cfg": {
3
+ "eagle_path": "NVEagle/eagle_er-qwen3_1_7B-Siglip2_400M_stage1_5_128gpu_er_v7_1mlp_nops",
4
+ "load_bf16": false,
5
+ "project_to_dim": null,
6
+ "reproject_vision": false,
7
+ "select_layer": 12,
8
+ "tune_llm": false,
9
+ "tune_visual": true,
10
+ "use_flash_attention": true
11
+ },
12
+ "action_head_cfg": {
13
+ "action_dim": 32,
14
+ "action_horizon": 16,
15
+ "add_pos_embed": true,
16
+ "backbone_embedding_dim": 2048,
17
+ "diffusion_model_cfg": {
18
+ "attention_head_dim": 48,
19
+ "cross_attention_dim": 2048,
20
+ "dropout": 0.2,
21
+ "final_dropout": true,
22
+ "interleave_self_attention": true,
23
+ "norm_type": "ada_norm",
24
+ "num_attention_heads": 32,
25
+ "num_layers": 16,
26
+ "output_dim": 1024,
27
+ "positional_embeddings": null
28
+ },
29
+ "hidden_size": 1024,
30
+ "input_embedding_dim": 1536,
31
+ "max_action_dim": 32,
32
+ "max_state_dim": 64,
33
+ "model_dtype": "float32",
34
+ "noise_beta_alpha": 1.5,
35
+ "noise_beta_beta": 1.0,
36
+ "noise_s": 0.999,
37
+ "num_inference_timesteps": 4,
38
+ "num_target_vision_tokens": 32,
39
+ "num_timestep_buckets": 1000,
40
+ "tune_diffusion_model": true,
41
+ "tune_projector": true,
42
+ "use_vlln": true,
43
+ "vl_self_attention_cfg": {
44
+ "attention_head_dim": 64,
45
+ "dropout": 0.2,
46
+ "final_dropout": true,
47
+ "num_attention_heads": 32,
48
+ "num_layers": 4,
49
+ "positional_embeddings": null
50
+ }
51
+ },
52
+ "action_horizon": 16,
53
+ "action_dim": 32,
54
+ "compute_dtype": "bfloat16",
55
+ "model_type": "gr00t_n1_5"
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99e926960795197db6d0671a89672fa63716174883cbb3fe88eeb5a48ebab13b
3
+ size 7586084224
train_config.json ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "aractingi/bimanual-so100-handover-cube-224",
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": null,
69
+ "policy": {
70
+ "type": "groot",
71
+ "n_obs_steps": 1,
72
+ "input_features": {
73
+ "observation.state": {
74
+ "type": "STATE",
75
+ "shape": [
76
+ 12
77
+ ]
78
+ },
79
+ "observation.images.left": {
80
+ "type": "VISUAL",
81
+ "shape": [
82
+ 3,
83
+ 224,
84
+ 224
85
+ ]
86
+ },
87
+ "observation.images.top": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 3,
91
+ 224,
92
+ 224
93
+ ]
94
+ },
95
+ "observation.images.right": {
96
+ "type": "VISUAL",
97
+ "shape": [
98
+ 3,
99
+ 224,
100
+ 224
101
+ ]
102
+ }
103
+ },
104
+ "output_features": {
105
+ "action": {
106
+ "type": "ACTION",
107
+ "shape": [
108
+ 12
109
+ ]
110
+ }
111
+ },
112
+ "device": "cuda",
113
+ "use_amp": false,
114
+ "push_to_hub": true,
115
+ "repo_id": "aractingi/groot-bimanual-224",
116
+ "private": null,
117
+ "tags": null,
118
+ "license": null,
119
+ "pretrained_path": null,
120
+ "chunk_size": 50,
121
+ "n_action_steps": 50,
122
+ "normalization_mapping": {
123
+ "VISUAL": "IDENTITY",
124
+ "STATE": "MEAN_STD",
125
+ "ACTION": "MEAN_STD"
126
+ },
127
+ "image_size": [
128
+ 224,
129
+ 224
130
+ ],
131
+ "base_model_path": "nvidia/GR00T-N1.5-3B",
132
+ "embodiment_tag": "new_embodiment",
133
+ "tune_llm": false,
134
+ "tune_visual": false,
135
+ "tune_projector": true,
136
+ "tune_diffusion_model": false,
137
+ "lora_rank": 0,
138
+ "lora_alpha": 16,
139
+ "lora_dropout": 0.1,
140
+ "lora_full_model": false,
141
+ "optimizer_lr": 0.0001,
142
+ "optimizer_betas": [
143
+ 0.95,
144
+ 0.999
145
+ ],
146
+ "optimizer_eps": 1e-08,
147
+ "optimizer_weight_decay": 1e-05,
148
+ "warmup_ratio": 0.05,
149
+ "use_bf16": true,
150
+ "video_backend": "decord",
151
+ "balance_dataset_weights": true,
152
+ "balance_trajectory_weights": true,
153
+ "dataset_paths": null,
154
+ "output_dir": "./tmp/gr00t",
155
+ "save_steps": 1000,
156
+ "max_steps": 10000,
157
+ "batch_size": 32,
158
+ "dataloader_num_workers": 8,
159
+ "report_to": "wandb",
160
+ "resume": false
161
+ },
162
+ "output_dir": "/fsx/michel_aractingi/outputs/real/groot-bimanual-224",
163
+ "job_name": "groot-bimanual-224",
164
+ "resume": false,
165
+ "seed": 1000,
166
+ "num_workers": 4,
167
+ "batch_size": 32,
168
+ "steps": 100000,
169
+ "eval_freq": 20000,
170
+ "log_freq": 50,
171
+ "save_checkpoint": true,
172
+ "save_freq": 10000,
173
+ "use_policy_training_preset": true,
174
+ "optimizer": {
175
+ "type": "adamw",
176
+ "lr": 0.0001,
177
+ "weight_decay": 1e-05,
178
+ "grad_clip_norm": 10.0,
179
+ "betas": [
180
+ 0.95,
181
+ 0.999
182
+ ],
183
+ "eps": 1e-08
184
+ },
185
+ "scheduler": {
186
+ "type": "cosine_decay_with_warmup",
187
+ "num_warmup_steps": 500,
188
+ "num_decay_steps": 10000,
189
+ "peak_lr": 0.0001,
190
+ "decay_lr": 1e-05
191
+ },
192
+ "eval": {
193
+ "n_episodes": 50,
194
+ "batch_size": 50,
195
+ "use_async_envs": false
196
+ },
197
+ "wandb": {
198
+ "enable": true,
199
+ "disable_artifact": true,
200
+ "project": "groot",
201
+ "entity": null,
202
+ "notes": null,
203
+ "run_id": "p6shvxvk",
204
+ "mode": null
205
+ }
206
+ }