upna commited on
Commit
a438ca4
·
verified ·
1 Parent(s): ef90134

Upload pi05 SO-101 stack checkpoint @ 80k steps

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: lerobot
3
+ tags:
4
+ - robotics
5
+ - pi05
6
+ - so101
7
+ - lerobot
8
+ - teleoperation
9
+ - stacking
10
+ license: apache-2.0
11
+ pipeline_tag: robotics
12
+ ---
13
+
14
+ # pi05_stack_white_blue_black
15
+
16
+ Fine-tuned **π₀.₅ (pi05)** on [upna/stack_white_blue_black](https://huggingface.co/datasets/upna/stack_white_blue_black) — SO-101 single-arm 3-block stacking (bottom → top: white, blue, black).
17
+
18
+ ## Checkpoint
19
+
20
+ - Base: [`lerobot/pi05_base`](https://huggingface.co/lerobot/pi05_base)
21
+ - Steps: 80,000
22
+ - Batch size: 16
23
+ - dtype: bfloat16
24
+ - Relative actions (gripper absolute)
25
+ - Action chunk: 50
26
+
27
+ ## Load with LeRobot
28
+
29
+ ```bash
30
+ # Use as --policy.path=upna/pi05_stack_white_blue_black
31
+ ```
config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.front": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.wrist": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 6
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": "/home/july/lerobot_alohamini/outputs/train/pi05_stack_white_blue_black/checkpoints/last/pretrained_model",
45
+ "pretrained_revision": null,
46
+ "paligemma_variant": "gemma_2b",
47
+ "action_expert_variant": "gemma_300m",
48
+ "dtype": "bfloat16",
49
+ "chunk_size": 50,
50
+ "n_action_steps": 50,
51
+ "max_state_dim": 32,
52
+ "max_action_dim": 32,
53
+ "num_inference_steps": 10,
54
+ "time_sampling_beta_alpha": 1.5,
55
+ "time_sampling_beta_beta": 1.0,
56
+ "time_sampling_scale": 0.999,
57
+ "time_sampling_offset": 0.001,
58
+ "min_period": 0.004,
59
+ "max_period": 4.0,
60
+ "use_relative_actions": true,
61
+ "relative_exclude_joints": [
62
+ "gripper"
63
+ ],
64
+ "action_feature_names": [
65
+ "shoulder_pan.pos",
66
+ "shoulder_lift.pos",
67
+ "elbow_flex.pos",
68
+ "wrist_flex.pos",
69
+ "wrist_roll.pos",
70
+ "gripper.pos"
71
+ ],
72
+ "rtc_config": null,
73
+ "image_resolution": [
74
+ 224,
75
+ 224
76
+ ],
77
+ "empty_cameras": 0,
78
+ "tokenizer_max_length": 200,
79
+ "normalization_mapping": {
80
+ "VISUAL": "IDENTITY",
81
+ "STATE": "QUANTILES",
82
+ "ACTION": "QUANTILES"
83
+ },
84
+ "gradient_checkpointing": true,
85
+ "compile_model": true,
86
+ "compile_mode": "max-autotune",
87
+ "freeze_vision_encoder": false,
88
+ "train_expert_only": true,
89
+ "optimizer_lr": 2.5e-05,
90
+ "optimizer_betas": [
91
+ 0.9,
92
+ 0.95
93
+ ],
94
+ "optimizer_eps": 1e-08,
95
+ "optimizer_weight_decay": 0.01,
96
+ "optimizer_grad_clip_norm": 1.0,
97
+ "scheduler_warmup_steps": 1000,
98
+ "scheduler_decay_steps": 30000,
99
+ "scheduler_decay_lr": 2.5e-06
100
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79a06894945b7fc96f8bd620a7013b573b9e6d5f4a80b8864a2e6ab0c1025646
3
+ size 9354050752
policy_postprocessor.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "unnormalizer_processor",
6
+ "config": {
7
+ "eps": 1e-08,
8
+ "features": {
9
+ "action": {
10
+ "type": "ACTION",
11
+ "shape": [
12
+ 6
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "IDENTITY",
18
+ "STATE": "QUANTILES",
19
+ "ACTION": "QUANTILES"
20
+ }
21
+ },
22
+ "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
23
+ },
24
+ {
25
+ "registry_name": "absolute_actions_processor",
26
+ "config": {
27
+ "enabled": true
28
+ }
29
+ },
30
+ {
31
+ "registry_name": "device_processor",
32
+ "config": {
33
+ "device": "cpu",
34
+ "float_dtype": null
35
+ }
36
+ }
37
+ ]
38
+ }
policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5648ca03cdc71682a31e5c8bc27444d08710a8b578cab11812802839f6139cc7
3
+ size 7552
policy_preprocessor.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "rename_observations_processor",
6
+ "config": {
7
+ "rename_map": {}
8
+ }
9
+ },
10
+ {
11
+ "registry_name": "to_batch_processor",
12
+ "config": {}
13
+ },
14
+ {
15
+ "registry_name": "relative_actions_processor",
16
+ "config": {
17
+ "enabled": true,
18
+ "exclude_joints": [
19
+ "gripper"
20
+ ],
21
+ "action_names": [
22
+ "shoulder_pan.pos",
23
+ "shoulder_lift.pos",
24
+ "elbow_flex.pos",
25
+ "wrist_flex.pos",
26
+ "wrist_roll.pos",
27
+ "gripper.pos"
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "registry_name": "normalizer_processor",
33
+ "config": {
34
+ "eps": 1e-08,
35
+ "features": {
36
+ "observation.state": {
37
+ "type": "STATE",
38
+ "shape": [
39
+ 6
40
+ ]
41
+ },
42
+ "observation.images.front": {
43
+ "type": "VISUAL",
44
+ "shape": [
45
+ 3,
46
+ 480,
47
+ 640
48
+ ]
49
+ },
50
+ "observation.images.wrist": {
51
+ "type": "VISUAL",
52
+ "shape": [
53
+ 3,
54
+ 480,
55
+ 640
56
+ ]
57
+ },
58
+ "action": {
59
+ "type": "ACTION",
60
+ "shape": [
61
+ 6
62
+ ]
63
+ }
64
+ },
65
+ "norm_map": {
66
+ "VISUAL": "IDENTITY",
67
+ "STATE": "QUANTILES",
68
+ "ACTION": "QUANTILES"
69
+ }
70
+ },
71
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
72
+ },
73
+ {
74
+ "registry_name": "pi05_prepare_state_tokenizer_processor_step",
75
+ "config": {}
76
+ },
77
+ {
78
+ "registry_name": "tokenizer_processor",
79
+ "config": {
80
+ "max_length": 200,
81
+ "task_key": "task",
82
+ "padding_side": "right",
83
+ "padding": "max_length",
84
+ "truncation": true,
85
+ "tokenizer_name": "google/paligemma-3b-pt-224"
86
+ }
87
+ },
88
+ {
89
+ "registry_name": "device_processor",
90
+ "config": {
91
+ "device": "cuda",
92
+ "float_dtype": null
93
+ }
94
+ }
95
+ ]
96
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e46945cb2e4baab955665264b4ebc939c4b13e62212cda4c451fe785a6ed795d
3
+ size 7560
train_config.json ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "local/stack_3blocks_white_blue_black_train",
4
+ "root": "/home/july/datasets/stack_3blocks_white_blue_black_train",
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
+ "return_uint8": false,
81
+ "depth_output_unit": "mm",
82
+ "streaming": false,
83
+ "eval_split": 0.0
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
+ 6
94
+ ]
95
+ },
96
+ "observation.images.front": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 480,
101
+ 640
102
+ ]
103
+ },
104
+ "observation.images.wrist": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 480,
109
+ 640
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 6
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": "/home/july/lerobot_alohamini/outputs/train/pi05_stack_white_blue_black/checkpoints/last/pretrained_model",
130
+ "pretrained_revision": null,
131
+ "paligemma_variant": "gemma_2b",
132
+ "action_expert_variant": "gemma_300m",
133
+ "dtype": "bfloat16",
134
+ "chunk_size": 50,
135
+ "n_action_steps": 50,
136
+ "max_state_dim": 32,
137
+ "max_action_dim": 32,
138
+ "num_inference_steps": 10,
139
+ "time_sampling_beta_alpha": 1.5,
140
+ "time_sampling_beta_beta": 1.0,
141
+ "time_sampling_scale": 0.999,
142
+ "time_sampling_offset": 0.001,
143
+ "min_period": 0.004,
144
+ "max_period": 4.0,
145
+ "use_relative_actions": true,
146
+ "relative_exclude_joints": [
147
+ "gripper"
148
+ ],
149
+ "action_feature_names": [
150
+ "shoulder_pan.pos",
151
+ "shoulder_lift.pos",
152
+ "elbow_flex.pos",
153
+ "wrist_flex.pos",
154
+ "wrist_roll.pos",
155
+ "gripper.pos"
156
+ ],
157
+ "rtc_config": null,
158
+ "image_resolution": [
159
+ 224,
160
+ 224
161
+ ],
162
+ "empty_cameras": 0,
163
+ "tokenizer_max_length": 200,
164
+ "normalization_mapping": {
165
+ "VISUAL": "IDENTITY",
166
+ "STATE": "QUANTILES",
167
+ "ACTION": "QUANTILES"
168
+ },
169
+ "gradient_checkpointing": true,
170
+ "compile_model": true,
171
+ "compile_mode": "max-autotune",
172
+ "freeze_vision_encoder": false,
173
+ "train_expert_only": true,
174
+ "optimizer_lr": 2.5e-05,
175
+ "optimizer_betas": [
176
+ 0.9,
177
+ 0.95
178
+ ],
179
+ "optimizer_eps": 1e-08,
180
+ "optimizer_weight_decay": 0.01,
181
+ "optimizer_grad_clip_norm": 1.0,
182
+ "scheduler_warmup_steps": 1000,
183
+ "scheduler_decay_steps": 30000,
184
+ "scheduler_decay_lr": 2.5e-06
185
+ },
186
+ "reward_model": null,
187
+ "output_dir": "/home/july/lerobot_alohamini/outputs/train/pi05_stack_white_blue_black",
188
+ "job_name": "pi05_stack_white_blue_black",
189
+ "resume": true,
190
+ "seed": 1000,
191
+ "cudnn_deterministic": false,
192
+ "num_workers": 4,
193
+ "batch_size": 16,
194
+ "prefetch_factor": 4,
195
+ "persistent_workers": true,
196
+ "steps": 80000,
197
+ "env_eval_freq": 0,
198
+ "log_freq": 100,
199
+ "eval_steps": 0,
200
+ "max_eval_samples": 0,
201
+ "tolerance_s": 0.02,
202
+ "save_checkpoint": true,
203
+ "save_freq": 5000,
204
+ "use_policy_training_preset": true,
205
+ "optimizer": {
206
+ "type": "adamw",
207
+ "lr": 2.5e-05,
208
+ "weight_decay": 0.01,
209
+ "grad_clip_norm": 1.0,
210
+ "betas": [
211
+ 0.9,
212
+ 0.95
213
+ ],
214
+ "eps": 1e-08
215
+ },
216
+ "scheduler": {
217
+ "type": "cosine_decay_with_warmup",
218
+ "num_warmup_steps": 1000,
219
+ "num_decay_steps": 30000,
220
+ "peak_lr": 2.5e-05,
221
+ "decay_lr": 2.5e-06
222
+ },
223
+ "eval": {
224
+ "n_episodes": 50,
225
+ "batch_size": 50,
226
+ "use_async_envs": true,
227
+ "recording": false,
228
+ "recording_repo_id": null,
229
+ "recording_private": false
230
+ },
231
+ "wandb": {
232
+ "enable": false,
233
+ "disable_artifact": false,
234
+ "project": "lerobot",
235
+ "entity": null,
236
+ "notes": null,
237
+ "run_id": null,
238
+ "mode": null,
239
+ "add_tags": true
240
+ },
241
+ "peft": null,
242
+ "job": {
243
+ "target": null,
244
+ "image": "huggingface/lerobot-gpu:latest",
245
+ "timeout": "2d",
246
+ "detach": false,
247
+ "tags": []
248
+ },
249
+ "save_checkpoint_to_hub": false,
250
+ "sample_weighting": null,
251
+ "rename_map": {},
252
+ "checkpoint_path": "/home/july/lerobot_alohamini/outputs/train/pi05_stack_white_blue_black/checkpoints/last"
253
+ }