igaryo commited on
Commit
a7c587c
·
verified ·
1 Parent(s): 6396bd6

Upload folder using huggingface_hub

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