Robotics
LeRobot
Safetensors
pi05
exaFLOPs09 commited on
Commit
1b8fa6d
·
verified ·
1 Parent(s): bc7455d

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +97 -0
  3. model.safetensors +3 -0
  4. train_config.json +226 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: exaFLOPs09/Isaac-Kitchen-v1103-00_sub1
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,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.language": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 1
9
+ ]
10
+ },
11
+ "observation.state": {
12
+ "type": "STATE",
13
+ "shape": [
14
+ 23
15
+ ]
16
+ },
17
+ "observation.images.front": {
18
+ "type": "VISUAL",
19
+ "shape": [
20
+ 3,
21
+ 480,
22
+ 640
23
+ ]
24
+ },
25
+ "observation.images.wrist_left": {
26
+ "type": "VISUAL",
27
+ "shape": [
28
+ 3,
29
+ 480,
30
+ 640
31
+ ]
32
+ },
33
+ "observation.images.wrist_right": {
34
+ "type": "VISUAL",
35
+ "shape": [
36
+ 3,
37
+ 480,
38
+ 640
39
+ ]
40
+ }
41
+ },
42
+ "output_features": {
43
+ "action": {
44
+ "type": "ACTION",
45
+ "shape": [
46
+ 23
47
+ ]
48
+ }
49
+ },
50
+ "device": "cuda",
51
+ "use_amp": false,
52
+ "push_to_hub": true,
53
+ "repo_id": "exaFLOPs09/pi05_1103_sub1",
54
+ "private": null,
55
+ "tags": null,
56
+ "license": null,
57
+ "pretrained_path": "lerobot/pi05_base",
58
+ "paligemma_variant": "gemma_2b",
59
+ "action_expert_variant": "gemma_300m",
60
+ "dtype": "bfloat16",
61
+ "chunk_size": 50,
62
+ "n_action_steps": 50,
63
+ "max_state_dim": 32,
64
+ "max_action_dim": 32,
65
+ "num_inference_steps": 10,
66
+ "time_sampling_beta_alpha": 1.5,
67
+ "time_sampling_beta_beta": 1.0,
68
+ "time_sampling_scale": 0.999,
69
+ "time_sampling_offset": 0.001,
70
+ "min_period": 0.004,
71
+ "max_period": 4.0,
72
+ "image_resolution": [
73
+ 224,
74
+ 224
75
+ ],
76
+ "empty_cameras": 0,
77
+ "tokenizer_max_length": 200,
78
+ "normalization_mapping": {
79
+ "VISUAL": "IDENTITY",
80
+ "STATE": "QUANTILES",
81
+ "ACTION": "QUANTILES"
82
+ },
83
+ "gradient_checkpointing": true,
84
+ "compile_model": true,
85
+ "compile_mode": "max-autotune",
86
+ "optimizer_lr": 2.5e-05,
87
+ "optimizer_betas": [
88
+ 0.9,
89
+ 0.95
90
+ ],
91
+ "optimizer_eps": 1e-08,
92
+ "optimizer_weight_decay": 0.01,
93
+ "optimizer_grad_clip_norm": 1.0,
94
+ "scheduler_warmup_steps": 1000,
95
+ "scheduler_decay_steps": 30000,
96
+ "scheduler_decay_lr": 2.5e-06
97
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f8b1653d3cf170fe03a45d124c38f67b72918e77c7512d9858e4a9c0075853f
3
+ size 7473096344
train_config.json ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "exaFLOPs09/Isaac-Kitchen-v1103-00_sub1",
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": "pi05",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.language": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 1
91
+ ]
92
+ },
93
+ "observation.state": {
94
+ "type": "STATE",
95
+ "shape": [
96
+ 23
97
+ ]
98
+ },
99
+ "observation.images.front": {
100
+ "type": "VISUAL",
101
+ "shape": [
102
+ 3,
103
+ 480,
104
+ 640
105
+ ]
106
+ },
107
+ "observation.images.wrist_left": {
108
+ "type": "VISUAL",
109
+ "shape": [
110
+ 3,
111
+ 480,
112
+ 640
113
+ ]
114
+ },
115
+ "observation.images.wrist_right": {
116
+ "type": "VISUAL",
117
+ "shape": [
118
+ 3,
119
+ 480,
120
+ 640
121
+ ]
122
+ }
123
+ },
124
+ "output_features": {
125
+ "action": {
126
+ "type": "ACTION",
127
+ "shape": [
128
+ 23
129
+ ]
130
+ }
131
+ },
132
+ "device": "cuda",
133
+ "use_amp": false,
134
+ "push_to_hub": true,
135
+ "repo_id": "exaFLOPs09/pi05_1103_sub1",
136
+ "private": null,
137
+ "tags": null,
138
+ "license": null,
139
+ "pretrained_path": "lerobot/pi05_base",
140
+ "paligemma_variant": "gemma_2b",
141
+ "action_expert_variant": "gemma_300m",
142
+ "dtype": "bfloat16",
143
+ "chunk_size": 50,
144
+ "n_action_steps": 50,
145
+ "max_state_dim": 32,
146
+ "max_action_dim": 32,
147
+ "num_inference_steps": 10,
148
+ "time_sampling_beta_alpha": 1.5,
149
+ "time_sampling_beta_beta": 1.0,
150
+ "time_sampling_scale": 0.999,
151
+ "time_sampling_offset": 0.001,
152
+ "min_period": 0.004,
153
+ "max_period": 4.0,
154
+ "image_resolution": [
155
+ 224,
156
+ 224
157
+ ],
158
+ "empty_cameras": 0,
159
+ "tokenizer_max_length": 200,
160
+ "normalization_mapping": {
161
+ "VISUAL": "IDENTITY",
162
+ "STATE": "QUANTILES",
163
+ "ACTION": "QUANTILES"
164
+ },
165
+ "gradient_checkpointing": true,
166
+ "compile_model": true,
167
+ "compile_mode": "max-autotune",
168
+ "optimizer_lr": 2.5e-05,
169
+ "optimizer_betas": [
170
+ 0.9,
171
+ 0.95
172
+ ],
173
+ "optimizer_eps": 1e-08,
174
+ "optimizer_weight_decay": 0.01,
175
+ "optimizer_grad_clip_norm": 1.0,
176
+ "scheduler_warmup_steps": 1000,
177
+ "scheduler_decay_steps": 30000,
178
+ "scheduler_decay_lr": 2.5e-06
179
+ },
180
+ "output_dir": "outputs/train/pi05_1103_00_sub1",
181
+ "job_name": "pi05_sub1",
182
+ "resume": false,
183
+ "seed": 1000,
184
+ "num_workers": 8,
185
+ "batch_size": 4,
186
+ "steps": 60000,
187
+ "eval_freq": 20000,
188
+ "log_freq": 200,
189
+ "save_checkpoint": true,
190
+ "save_freq": 20000,
191
+ "use_policy_training_preset": true,
192
+ "optimizer": {
193
+ "type": "adamw",
194
+ "lr": 2.5e-05,
195
+ "weight_decay": 0.01,
196
+ "grad_clip_norm": 1.0,
197
+ "betas": [
198
+ 0.9,
199
+ 0.95
200
+ ],
201
+ "eps": 1e-08
202
+ },
203
+ "scheduler": {
204
+ "type": "cosine_decay_with_warmup",
205
+ "num_warmup_steps": 1000,
206
+ "num_decay_steps": 30000,
207
+ "peak_lr": 2.5e-05,
208
+ "decay_lr": 2.5e-06
209
+ },
210
+ "eval": {
211
+ "n_episodes": 50,
212
+ "batch_size": 50,
213
+ "use_async_envs": false
214
+ },
215
+ "wandb": {
216
+ "enable": true,
217
+ "disable_artifact": true,
218
+ "project": "lerobot",
219
+ "entity": null,
220
+ "notes": null,
221
+ "run_id": "u5qf1omv",
222
+ "mode": null
223
+ },
224
+ "checkpoint_path": null,
225
+ "rename_map": {}
226
+ }