Robotics
LeRobot
Safetensors
pi05
samithva commited on
Commit
cd00e39
·
verified ·
1 Parent(s): a4e079a

Upload policy weights, train config and readme

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