tttonyalpha commited on
Commit
3d61195
·
verified ·
1 Parent(s): bc1cd36

Upload folder using huggingface_hub

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