Robotics
LeRobot
Safetensors
pi05
Jiafei1224 commited on
Commit
b463dfd
·
verified ·
1 Parent(s): bfcd854

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +72 -0
  2. config.json +92 -0
  3. model.safetensors +3 -0
  4. train_config.json +225 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - TreeePlanter/vls_maniskill_4cubes
4
+ - TreeePlanter/vls_maniskill_2cubes
5
+ library_name: lerobot
6
+ license: apache-2.0
7
+ model_name: pi05
8
+ pipeline_tag: robotics
9
+ tags:
10
+ - robotics
11
+ - lerobot
12
+ - pi05
13
+ ---
14
+
15
+ # Model Card for pi05
16
+
17
+ <!-- Provide a quick summary of what the model is/does. -->
18
+
19
+
20
+ **π₀.₅ (Pi05) Policy**
21
+
22
+ π₀.₅ is a Vision-Language-Action model with open-world generalization, from Physical Intelligence. The LeRobot implementation is adapted from their open source OpenPI repository.
23
+
24
+ **Model Overview**
25
+
26
+ π₀.₅ 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.
27
+
28
+ For more details, see the [Physical Intelligence π₀.₅ blog post](https://www.physicalintelligence.company/blog/pi05).
29
+
30
+
31
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
32
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
33
+
34
+ ---
35
+
36
+ ## How to Get Started with the Model
37
+
38
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
39
+ Below is the short version on how to train and run inference/eval:
40
+
41
+ ### Train from scratch
42
+
43
+ ```bash
44
+ lerobot-train \
45
+ --dataset.repo_id=${HF_USER}/<dataset> \
46
+ --policy.type=act \
47
+ --output_dir=outputs/train/<desired_policy_repo_id> \
48
+ --job_name=lerobot_training \
49
+ --policy.device=cuda \
50
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
51
+ --wandb.enable=true
52
+ ```
53
+
54
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
55
+
56
+ ### Evaluate the policy/run inference
57
+
58
+ ```bash
59
+ lerobot-record \
60
+ --robot.type=so100_follower \
61
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
62
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
63
+ --episodes=10
64
+ ```
65
+
66
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
67
+
68
+ ---
69
+
70
+ ## Model Details
71
+
72
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 13
9
+ ]
10
+ },
11
+ "observation.images.left_camera": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 256,
16
+ 256
17
+ ]
18
+ },
19
+ "observation.images.right_camera": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 256,
24
+ 256
25
+ ]
26
+ },
27
+ "observation.images.hand_camera": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 256,
32
+ 256
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "push_to_hub": true,
47
+ "repo_id": "Jiafei1224/ccube3",
48
+ "private": null,
49
+ "tags": null,
50
+ "license": null,
51
+ "pretrained_path": "lerobot/pi05_base",
52
+ "paligemma_variant": "gemma_2b",
53
+ "action_expert_variant": "gemma_300m",
54
+ "dtype": "bfloat16",
55
+ "chunk_size": 50,
56
+ "n_action_steps": 50,
57
+ "max_state_dim": 32,
58
+ "max_action_dim": 32,
59
+ "num_inference_steps": 10,
60
+ "time_sampling_beta_alpha": 1.5,
61
+ "time_sampling_beta_beta": 1.0,
62
+ "time_sampling_scale": 0.999,
63
+ "time_sampling_offset": 0.001,
64
+ "min_period": 0.004,
65
+ "max_period": 4.0,
66
+ "rtc_config": null,
67
+ "image_resolution": [
68
+ 224,
69
+ 224
70
+ ],
71
+ "empty_cameras": 0,
72
+ "tokenizer_max_length": 200,
73
+ "normalization_mapping": {
74
+ "VISUAL": "IDENTITY",
75
+ "STATE": "QUANTILES",
76
+ "ACTION": "QUANTILES"
77
+ },
78
+ "gradient_checkpointing": true,
79
+ "compile_model": false,
80
+ "compile_mode": "max-autotune",
81
+ "optimizer_lr": 2.5e-05,
82
+ "optimizer_betas": [
83
+ 0.9,
84
+ 0.95
85
+ ],
86
+ "optimizer_eps": 1e-08,
87
+ "optimizer_weight_decay": 0.01,
88
+ "optimizer_grad_clip_norm": 1.0,
89
+ "scheduler_warmup_steps": 1000,
90
+ "scheduler_decay_steps": 30000,
91
+ "scheduler_decay_lr": 2.5e-06
92
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03fa5029564a092f73763f787ef7b620ac160301f3067c0149552eb636875d17
3
+ size 7473096344
train_config.json ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": [
4
+ "TreeePlanter/vls_maniskill_4cubes",
5
+ "TreeePlanter/vls_maniskill_2cubes"
6
+ ],
7
+ "root": null,
8
+ "episodes": null,
9
+ "image_transforms": {
10
+ "enable": false,
11
+ "max_num_transforms": 3,
12
+ "random_order": false,
13
+ "tfs": {
14
+ "brightness": {
15
+ "weight": 1.0,
16
+ "type": "ColorJitter",
17
+ "kwargs": {
18
+ "brightness": [
19
+ 0.8,
20
+ 1.2
21
+ ]
22
+ }
23
+ },
24
+ "contrast": {
25
+ "weight": 1.0,
26
+ "type": "ColorJitter",
27
+ "kwargs": {
28
+ "contrast": [
29
+ 0.8,
30
+ 1.2
31
+ ]
32
+ }
33
+ },
34
+ "saturation": {
35
+ "weight": 1.0,
36
+ "type": "ColorJitter",
37
+ "kwargs": {
38
+ "saturation": [
39
+ 0.5,
40
+ 1.5
41
+ ]
42
+ }
43
+ },
44
+ "hue": {
45
+ "weight": 1.0,
46
+ "type": "ColorJitter",
47
+ "kwargs": {
48
+ "hue": [
49
+ -0.05,
50
+ 0.05
51
+ ]
52
+ }
53
+ },
54
+ "sharpness": {
55
+ "weight": 1.0,
56
+ "type": "SharpnessJitter",
57
+ "kwargs": {
58
+ "sharpness": [
59
+ 0.5,
60
+ 1.5
61
+ ]
62
+ }
63
+ },
64
+ "affine": {
65
+ "weight": 1.0,
66
+ "type": "RandomAffine",
67
+ "kwargs": {
68
+ "degrees": [
69
+ -5.0,
70
+ 5.0
71
+ ],
72
+ "translate": [
73
+ 0.05,
74
+ 0.05
75
+ ]
76
+ }
77
+ }
78
+ }
79
+ },
80
+ "revision": null,
81
+ "use_imagenet_stats": true,
82
+ "video_backend": "torchcodec",
83
+ "streaming": false
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "pi05",
88
+ "n_obs_steps": 1,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 13
94
+ ]
95
+ },
96
+ "observation.images.left_camera": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 256,
101
+ 256
102
+ ]
103
+ },
104
+ "observation.images.right_camera": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 256,
109
+ 256
110
+ ]
111
+ },
112
+ "observation.images.hand_camera": {
113
+ "type": "VISUAL",
114
+ "shape": [
115
+ 3,
116
+ 256,
117
+ 256
118
+ ]
119
+ }
120
+ },
121
+ "output_features": {
122
+ "action": {
123
+ "type": "ACTION",
124
+ "shape": [
125
+ 7
126
+ ]
127
+ }
128
+ },
129
+ "device": "cuda",
130
+ "use_amp": false,
131
+ "push_to_hub": true,
132
+ "repo_id": "Jiafei1224/ccube3",
133
+ "private": null,
134
+ "tags": null,
135
+ "license": null,
136
+ "pretrained_path": "lerobot/pi05_base",
137
+ "paligemma_variant": "gemma_2b",
138
+ "action_expert_variant": "gemma_300m",
139
+ "dtype": "bfloat16",
140
+ "chunk_size": 50,
141
+ "n_action_steps": 50,
142
+ "max_state_dim": 32,
143
+ "max_action_dim": 32,
144
+ "num_inference_steps": 10,
145
+ "time_sampling_beta_alpha": 1.5,
146
+ "time_sampling_beta_beta": 1.0,
147
+ "time_sampling_scale": 0.999,
148
+ "time_sampling_offset": 0.001,
149
+ "min_period": 0.004,
150
+ "max_period": 4.0,
151
+ "rtc_config": null,
152
+ "image_resolution": [
153
+ 224,
154
+ 224
155
+ ],
156
+ "empty_cameras": 0,
157
+ "tokenizer_max_length": 200,
158
+ "normalization_mapping": {
159
+ "VISUAL": "IDENTITY",
160
+ "STATE": "QUANTILES",
161
+ "ACTION": "QUANTILES"
162
+ },
163
+ "gradient_checkpointing": true,
164
+ "compile_model": false,
165
+ "compile_mode": "max-autotune",
166
+ "optimizer_lr": 2.5e-05,
167
+ "optimizer_betas": [
168
+ 0.9,
169
+ 0.95
170
+ ],
171
+ "optimizer_eps": 1e-08,
172
+ "optimizer_weight_decay": 0.01,
173
+ "optimizer_grad_clip_norm": 1.0,
174
+ "scheduler_warmup_steps": 1000,
175
+ "scheduler_decay_steps": 30000,
176
+ "scheduler_decay_lr": 2.5e-06
177
+ },
178
+ "output_dir": "outputs/pi05_multi-steermix-rdvla-cube6",
179
+ "job_name": "pi05_training",
180
+ "resume": false,
181
+ "seed": 1000,
182
+ "num_workers": 4,
183
+ "batch_size": 64,
184
+ "steps": 3000,
185
+ "eval_freq": 20000,
186
+ "log_freq": 200,
187
+ "tolerance_s": 0.0001,
188
+ "save_checkpoint": true,
189
+ "save_freq": 1000,
190
+ "use_policy_training_preset": true,
191
+ "optimizer": {
192
+ "type": "adamw",
193
+ "lr": 2.5e-05,
194
+ "weight_decay": 0.01,
195
+ "grad_clip_norm": 1.0,
196
+ "betas": [
197
+ 0.9,
198
+ 0.95
199
+ ],
200
+ "eps": 1e-08
201
+ },
202
+ "scheduler": {
203
+ "type": "cosine_decay_with_warmup",
204
+ "num_warmup_steps": 1000,
205
+ "num_decay_steps": 30000,
206
+ "peak_lr": 2.5e-05,
207
+ "decay_lr": 2.5e-06
208
+ },
209
+ "eval": {
210
+ "n_episodes": 50,
211
+ "batch_size": 50,
212
+ "use_async_envs": false
213
+ },
214
+ "wandb": {
215
+ "enable": false,
216
+ "disable_artifact": false,
217
+ "project": "GroundedVLA",
218
+ "entity": null,
219
+ "notes": null,
220
+ "run_id": null,
221
+ "mode": null
222
+ },
223
+ "checkpoint_path": null,
224
+ "rename_map": {}
225
+ }