AleksanderWojsz commited on
Commit
93d0f4c
·
verified ·
1 Parent(s): 2993099

Upload model from pi05_training

Browse files
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.top_camera": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 224,
10
+ 224
11
+ ]
12
+ },
13
+ "observation.state": {
14
+ "type": "STATE",
15
+ "shape": [
16
+ 2
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {
21
+ "action": {
22
+ "type": "ACTION",
23
+ "shape": [
24
+ 2
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": false,
30
+ "use_peft": false,
31
+ "push_to_hub": false,
32
+ "repo_id": null,
33
+ "private": null,
34
+ "tags": null,
35
+ "license": null,
36
+ "pretrained_path": "lerobot/pi05_base",
37
+ "paligemma_variant": "gemma_2b",
38
+ "action_expert_variant": "gemma_300m",
39
+ "dtype": "bfloat16",
40
+ "chunk_size": 50,
41
+ "n_action_steps": 50,
42
+ "max_state_dim": 32,
43
+ "max_action_dim": 32,
44
+ "num_inference_steps": 10,
45
+ "time_sampling_beta_alpha": 1.5,
46
+ "time_sampling_beta_beta": 1.0,
47
+ "time_sampling_scale": 0.999,
48
+ "time_sampling_offset": 0.001,
49
+ "min_period": 0.004,
50
+ "max_period": 4.0,
51
+ "rtc_config": null,
52
+ "image_resolution": [
53
+ 224,
54
+ 224
55
+ ],
56
+ "empty_cameras": 0,
57
+ "tokenizer_max_length": 200,
58
+ "normalization_mapping": {
59
+ "ACTION": "MEAN_STD",
60
+ "STATE": "MEAN_STD",
61
+ "VISUAL": "IDENTITY"
62
+ },
63
+ "gradient_checkpointing": true,
64
+ "compile_model": false,
65
+ "compile_mode": "max-autotune",
66
+ "freeze_vision_encoder": true,
67
+ "train_expert_only": true,
68
+ "optimizer_lr": 2.5e-05,
69
+ "optimizer_betas": [
70
+ 0.9,
71
+ 0.95
72
+ ],
73
+ "optimizer_eps": 1e-08,
74
+ "optimizer_weight_decay": 0.01,
75
+ "optimizer_grad_clip_norm": 1.0,
76
+ "scheduler_warmup_steps": 1000,
77
+ "scheduler_decay_steps": 30000,
78
+ "scheduler_decay_lr": 2.5e-06
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a77beaf4c6ba58e5d1d5f0225f23c185440a5ca854c15ba059409f9f9527427
3
+ size 7473096344
policy_postprocessor.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 2
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "ACTION": "MEAN_STD",
18
+ "STATE": "MEAN_STD",
19
+ "VISUAL": "IDENTITY"
20
+ }
21
+ },
22
+ "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
23
+ },
24
+ {
25
+ "registry_name": "device_processor",
26
+ "config": {
27
+ "device": "cpu",
28
+ "float_dtype": null
29
+ }
30
+ }
31
+ ]
32
+ }
policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c857034c6535d6f765755e721fb48fd855d019774f517e13ec105987bf45a60
3
+ size 6304
policy_preprocessor.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "normalizer_processor",
16
+ "config": {
17
+ "eps": 1e-08,
18
+ "features": {
19
+ "observation.images.top_camera": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 224,
24
+ 224
25
+ ]
26
+ },
27
+ "observation.state": {
28
+ "type": "STATE",
29
+ "shape": [
30
+ 2
31
+ ]
32
+ },
33
+ "action": {
34
+ "type": "ACTION",
35
+ "shape": [
36
+ 2
37
+ ]
38
+ }
39
+ },
40
+ "norm_map": {
41
+ "ACTION": "MEAN_STD",
42
+ "STATE": "MEAN_STD",
43
+ "VISUAL": "IDENTITY"
44
+ }
45
+ },
46
+ "state_file": "policy_preprocessor_step_2_normalizer_processor.safetensors"
47
+ },
48
+ {
49
+ "registry_name": "pi05_prepare_state_tokenizer_processor_step",
50
+ "config": {}
51
+ },
52
+ {
53
+ "registry_name": "tokenizer_processor",
54
+ "config": {
55
+ "max_length": 200,
56
+ "task_key": "task",
57
+ "padding_side": "right",
58
+ "padding": "max_length",
59
+ "truncation": true,
60
+ "tokenizer_name": "google/paligemma-3b-pt-224"
61
+ }
62
+ },
63
+ {
64
+ "registry_name": "device_processor",
65
+ "config": {
66
+ "device": "cuda",
67
+ "float_dtype": null
68
+ }
69
+ }
70
+ ]
71
+ }
policy_preprocessor_step_2_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c857034c6535d6f765755e721fb48fd855d019774f517e13ec105987bf45a60
3
+ size 6304
train_config.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "pusht",
4
+ "root": "data",
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.images.top_camera": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 3,
91
+ 224,
92
+ 224
93
+ ]
94
+ },
95
+ "observation.state": {
96
+ "type": "STATE",
97
+ "shape": [
98
+ 2
99
+ ]
100
+ }
101
+ },
102
+ "output_features": {
103
+ "action": {
104
+ "type": "ACTION",
105
+ "shape": [
106
+ 2
107
+ ]
108
+ }
109
+ },
110
+ "device": "cuda",
111
+ "use_amp": false,
112
+ "use_peft": false,
113
+ "push_to_hub": false,
114
+ "repo_id": null,
115
+ "private": null,
116
+ "tags": null,
117
+ "license": null,
118
+ "pretrained_path": "lerobot/pi05_base",
119
+ "paligemma_variant": "gemma_2b",
120
+ "action_expert_variant": "gemma_300m",
121
+ "dtype": "bfloat16",
122
+ "chunk_size": 50,
123
+ "n_action_steps": 50,
124
+ "max_state_dim": 32,
125
+ "max_action_dim": 32,
126
+ "num_inference_steps": 10,
127
+ "time_sampling_beta_alpha": 1.5,
128
+ "time_sampling_beta_beta": 1.0,
129
+ "time_sampling_scale": 0.999,
130
+ "time_sampling_offset": 0.001,
131
+ "min_period": 0.004,
132
+ "max_period": 4.0,
133
+ "rtc_config": null,
134
+ "image_resolution": [
135
+ 224,
136
+ 224
137
+ ],
138
+ "empty_cameras": 0,
139
+ "tokenizer_max_length": 200,
140
+ "normalization_mapping": {
141
+ "ACTION": "MEAN_STD",
142
+ "STATE": "MEAN_STD",
143
+ "VISUAL": "IDENTITY"
144
+ },
145
+ "gradient_checkpointing": true,
146
+ "compile_model": false,
147
+ "compile_mode": "max-autotune",
148
+ "freeze_vision_encoder": true,
149
+ "train_expert_only": true,
150
+ "optimizer_lr": 2.5e-05,
151
+ "optimizer_betas": [
152
+ 0.9,
153
+ 0.95
154
+ ],
155
+ "optimizer_eps": 1e-08,
156
+ "optimizer_weight_decay": 0.01,
157
+ "optimizer_grad_clip_norm": 1.0,
158
+ "scheduler_warmup_steps": 1000,
159
+ "scheduler_decay_steps": 30000,
160
+ "scheduler_decay_lr": 2.5e-06
161
+ },
162
+ "output_dir": "outputs/pi05_training",
163
+ "job_name": "pi05_training",
164
+ "resume": false,
165
+ "seed": 1000,
166
+ "num_workers": 8,
167
+ "batch_size": 32,
168
+ "steps": 50000,
169
+ "eval_freq": 20000,
170
+ "log_freq": 200,
171
+ "tolerance_s": 0.0001,
172
+ "save_checkpoint": true,
173
+ "save_freq": 3000,
174
+ "use_policy_training_preset": true,
175
+ "optimizer": {
176
+ "type": "adamw",
177
+ "lr": 2.5e-05,
178
+ "weight_decay": 0.01,
179
+ "grad_clip_norm": 1.0,
180
+ "betas": [
181
+ 0.9,
182
+ 0.95
183
+ ],
184
+ "eps": 1e-08
185
+ },
186
+ "scheduler": {
187
+ "type": "cosine_decay_with_warmup",
188
+ "num_warmup_steps": 1000,
189
+ "num_decay_steps": 30000,
190
+ "peak_lr": 2.5e-05,
191
+ "decay_lr": 2.5e-06
192
+ },
193
+ "eval": {
194
+ "n_episodes": 50,
195
+ "batch_size": 50,
196
+ "use_async_envs": false
197
+ },
198
+ "wandb": {
199
+ "enable": false,
200
+ "disable_artifact": false,
201
+ "project": "lerobot",
202
+ "entity": null,
203
+ "notes": null,
204
+ "run_id": null,
205
+ "mode": null
206
+ },
207
+ "peft": null,
208
+ "use_rabc": false,
209
+ "rabc_progress_path": null,
210
+ "rabc_kappa": 0.01,
211
+ "rabc_epsilon": 1e-06,
212
+ "rabc_head_mode": "sparse",
213
+ "rename_map": {},
214
+ "checkpoint_path": null
215
+ }