Robotics
LeRobot
Safetensors
pi05
ywu67 commited on
Commit
09de2e6
·
verified ·
1 Parent(s): 383683e

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +151 -0
  3. model.safetensors +3 -0
  4. train_config.json +280 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: ywu67/2025-challenge-demos-task0000
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: pi05
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - pi05
9
+ - robotics
10
+ - lerobot
11
+ ---
12
+
13
+ # Model Card for pi05
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ **π₀.₅ (Pi05) Policy**
19
+
20
+ π₀.₅ is a Vision-Language-Action model with open-world generalization, from Physical Intelligence. The LeRobot implementation is adapted from their open source OpenPI repository.
21
+
22
+ **Model Overview**
23
+
24
+ π₀.₅ represents a significant evolution from π₀, developed by Physical Intelligence to address a big challenge in robotics: open-world generalization. While robots can perform impressive tasks in controlled environments, π₀.₅ is designed to generalize to entirely new environments and situations that were never seen during training.
25
+
26
+ For more details, see the [Physical Intelligence π₀.₅ blog post](https://www.physicalintelligence.company/blog/pi05).
27
+
28
+
29
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
30
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
31
+
32
+ ---
33
+
34
+ ## How to Get Started with the Model
35
+
36
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
37
+ Below is the short version on how to train and run inference/eval:
38
+
39
+ ### Train from scratch
40
+
41
+ ```bash
42
+ lerobot-train \
43
+ --dataset.repo_id=${HF_USER}/<dataset> \
44
+ --policy.type=act \
45
+ --output_dir=outputs/train/<desired_policy_repo_id> \
46
+ --job_name=lerobot_training \
47
+ --policy.device=cuda \
48
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
49
+ --wandb.enable=true
50
+ ```
51
+
52
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
53
+
54
+ ### Evaluate the policy/run inference
55
+
56
+ ```bash
57
+ lerobot-record \
58
+ --robot.type=so100_follower \
59
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
60
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
61
+ --episodes=10
62
+ ```
63
+
64
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
65
+
66
+ ---
67
+
68
+ ## Model Details
69
+
70
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.rgb.left_wrist": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 480,
9
+ 480,
10
+ 3
11
+ ]
12
+ },
13
+ "observation.images.rgb.right_wrist": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 480,
17
+ 480,
18
+ 3
19
+ ]
20
+ },
21
+ "observation.images.rgb.head": {
22
+ "type": "VISUAL",
23
+ "shape": [
24
+ 720,
25
+ 720,
26
+ 3
27
+ ]
28
+ },
29
+ "observation.images.depth.left_wrist": {
30
+ "type": "VISUAL",
31
+ "shape": [
32
+ 480,
33
+ 480,
34
+ 3
35
+ ]
36
+ },
37
+ "observation.images.depth.right_wrist": {
38
+ "type": "VISUAL",
39
+ "shape": [
40
+ 480,
41
+ 480,
42
+ 3
43
+ ]
44
+ },
45
+ "observation.images.depth.head": {
46
+ "type": "VISUAL",
47
+ "shape": [
48
+ 720,
49
+ 720,
50
+ 3
51
+ ]
52
+ },
53
+ "observation.images.seg_instance_id.left_wrist": {
54
+ "type": "VISUAL",
55
+ "shape": [
56
+ 480,
57
+ 480,
58
+ 3
59
+ ]
60
+ },
61
+ "observation.images.seg_instance_id.right_wrist": {
62
+ "type": "VISUAL",
63
+ "shape": [
64
+ 480,
65
+ 480,
66
+ 3
67
+ ]
68
+ },
69
+ "observation.images.seg_instance_id.head": {
70
+ "type": "VISUAL",
71
+ "shape": [
72
+ 720,
73
+ 720,
74
+ 3
75
+ ]
76
+ },
77
+ "observation.cam_rel_poses": {
78
+ "type": "STATE",
79
+ "shape": [
80
+ 21
81
+ ]
82
+ },
83
+ "observation.state": {
84
+ "type": "STATE",
85
+ "shape": [
86
+ 256
87
+ ]
88
+ },
89
+ "observation.task_info": {
90
+ "type": "STATE",
91
+ "shape": [
92
+ 46
93
+ ]
94
+ }
95
+ },
96
+ "output_features": {
97
+ "action": {
98
+ "type": "ACTION",
99
+ "shape": [
100
+ 23
101
+ ]
102
+ }
103
+ },
104
+ "device": "cuda",
105
+ "use_amp": false,
106
+ "push_to_hub": true,
107
+ "repo_id": "ywu67/pi05-test",
108
+ "private": null,
109
+ "tags": null,
110
+ "license": null,
111
+ "pretrained_path": null,
112
+ "paligemma_variant": "gemma_2b",
113
+ "action_expert_variant": "gemma_300m",
114
+ "dtype": "float32",
115
+ "chunk_size": 50,
116
+ "n_action_steps": 50,
117
+ "max_state_dim": 32,
118
+ "max_action_dim": 32,
119
+ "num_inference_steps": 10,
120
+ "time_sampling_beta_alpha": 1.5,
121
+ "time_sampling_beta_beta": 1.0,
122
+ "time_sampling_scale": 0.999,
123
+ "time_sampling_offset": 0.001,
124
+ "min_period": 0.004,
125
+ "max_period": 4.0,
126
+ "image_resolution": [
127
+ 224,
128
+ 224
129
+ ],
130
+ "empty_cameras": 0,
131
+ "tokenizer_max_length": 200,
132
+ "normalization_mapping": {
133
+ "VISUAL": "IDENTITY",
134
+ "STATE": "QUANTILES",
135
+ "ACTION": "QUANTILES"
136
+ },
137
+ "gradient_checkpointing": false,
138
+ "compile_model": false,
139
+ "compile_mode": "max-autotune",
140
+ "optimizer_lr": 2.5e-05,
141
+ "optimizer_betas": [
142
+ 0.9,
143
+ 0.95
144
+ ],
145
+ "optimizer_eps": 1e-08,
146
+ "optimizer_weight_decay": 0.01,
147
+ "optimizer_grad_clip_norm": 1.0,
148
+ "scheduler_warmup_steps": 1000,
149
+ "scheduler_decay_steps": 30000,
150
+ "scheduler_decay_lr": 2.5e-06
151
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dfd656e2b0237b7ef7025c0ed7a93bd95b275c6becc1a2a389f4d6faf1a5e5f
3
+ size 14467170760
train_config.json ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "ywu67/2025-challenge-demos-task0000",
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": "pyav",
80
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "pi05",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.images.rgb.left_wrist": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 480,
91
+ 480,
92
+ 3
93
+ ]
94
+ },
95
+ "observation.images.rgb.right_wrist": {
96
+ "type": "VISUAL",
97
+ "shape": [
98
+ 480,
99
+ 480,
100
+ 3
101
+ ]
102
+ },
103
+ "observation.images.rgb.head": {
104
+ "type": "VISUAL",
105
+ "shape": [
106
+ 720,
107
+ 720,
108
+ 3
109
+ ]
110
+ },
111
+ "observation.images.depth.left_wrist": {
112
+ "type": "VISUAL",
113
+ "shape": [
114
+ 480,
115
+ 480,
116
+ 3
117
+ ]
118
+ },
119
+ "observation.images.depth.right_wrist": {
120
+ "type": "VISUAL",
121
+ "shape": [
122
+ 480,
123
+ 480,
124
+ 3
125
+ ]
126
+ },
127
+ "observation.images.depth.head": {
128
+ "type": "VISUAL",
129
+ "shape": [
130
+ 720,
131
+ 720,
132
+ 3
133
+ ]
134
+ },
135
+ "observation.images.seg_instance_id.left_wrist": {
136
+ "type": "VISUAL",
137
+ "shape": [
138
+ 480,
139
+ 480,
140
+ 3
141
+ ]
142
+ },
143
+ "observation.images.seg_instance_id.right_wrist": {
144
+ "type": "VISUAL",
145
+ "shape": [
146
+ 480,
147
+ 480,
148
+ 3
149
+ ]
150
+ },
151
+ "observation.images.seg_instance_id.head": {
152
+ "type": "VISUAL",
153
+ "shape": [
154
+ 720,
155
+ 720,
156
+ 3
157
+ ]
158
+ },
159
+ "observation.cam_rel_poses": {
160
+ "type": "STATE",
161
+ "shape": [
162
+ 21
163
+ ]
164
+ },
165
+ "observation.state": {
166
+ "type": "STATE",
167
+ "shape": [
168
+ 256
169
+ ]
170
+ },
171
+ "observation.task_info": {
172
+ "type": "STATE",
173
+ "shape": [
174
+ 46
175
+ ]
176
+ }
177
+ },
178
+ "output_features": {
179
+ "action": {
180
+ "type": "ACTION",
181
+ "shape": [
182
+ 23
183
+ ]
184
+ }
185
+ },
186
+ "device": "cuda",
187
+ "use_amp": false,
188
+ "push_to_hub": true,
189
+ "repo_id": "ywu67/pi05-test",
190
+ "private": null,
191
+ "tags": null,
192
+ "license": null,
193
+ "pretrained_path": null,
194
+ "paligemma_variant": "gemma_2b",
195
+ "action_expert_variant": "gemma_300m",
196
+ "dtype": "float32",
197
+ "chunk_size": 50,
198
+ "n_action_steps": 50,
199
+ "max_state_dim": 32,
200
+ "max_action_dim": 32,
201
+ "num_inference_steps": 10,
202
+ "time_sampling_beta_alpha": 1.5,
203
+ "time_sampling_beta_beta": 1.0,
204
+ "time_sampling_scale": 0.999,
205
+ "time_sampling_offset": 0.001,
206
+ "min_period": 0.004,
207
+ "max_period": 4.0,
208
+ "image_resolution": [
209
+ 224,
210
+ 224
211
+ ],
212
+ "empty_cameras": 0,
213
+ "tokenizer_max_length": 200,
214
+ "normalization_mapping": {
215
+ "VISUAL": "IDENTITY",
216
+ "STATE": "QUANTILES",
217
+ "ACTION": "QUANTILES"
218
+ },
219
+ "gradient_checkpointing": false,
220
+ "compile_model": false,
221
+ "compile_mode": "max-autotune",
222
+ "optimizer_lr": 2.5e-05,
223
+ "optimizer_betas": [
224
+ 0.9,
225
+ 0.95
226
+ ],
227
+ "optimizer_eps": 1e-08,
228
+ "optimizer_weight_decay": 0.01,
229
+ "optimizer_grad_clip_norm": 1.0,
230
+ "scheduler_warmup_steps": 1000,
231
+ "scheduler_decay_steps": 30000,
232
+ "scheduler_decay_lr": 2.5e-06
233
+ },
234
+ "output_dir": "/data/output/pi05_task0000_test",
235
+ "job_name": "pi05",
236
+ "resume": false,
237
+ "seed": 1000,
238
+ "num_workers": 4,
239
+ "batch_size": 1,
240
+ "steps": 10,
241
+ "eval_freq": 20000,
242
+ "log_freq": 1,
243
+ "save_checkpoint": false,
244
+ "save_freq": 10,
245
+ "use_policy_training_preset": true,
246
+ "optimizer": {
247
+ "type": "adamw",
248
+ "lr": 2.5e-05,
249
+ "weight_decay": 0.01,
250
+ "grad_clip_norm": 1.0,
251
+ "betas": [
252
+ 0.9,
253
+ 0.95
254
+ ],
255
+ "eps": 1e-08
256
+ },
257
+ "scheduler": {
258
+ "type": "cosine_decay_with_warmup",
259
+ "num_warmup_steps": 1000,
260
+ "num_decay_steps": 30000,
261
+ "peak_lr": 2.5e-05,
262
+ "decay_lr": 2.5e-06
263
+ },
264
+ "eval": {
265
+ "n_episodes": 50,
266
+ "batch_size": 50,
267
+ "use_async_envs": false
268
+ },
269
+ "wandb": {
270
+ "enable": false,
271
+ "disable_artifact": false,
272
+ "project": "lerobot",
273
+ "entity": null,
274
+ "notes": null,
275
+ "run_id": null,
276
+ "mode": null
277
+ },
278
+ "checkpoint_path": null,
279
+ "rename_map": {}
280
+ }