Basr88 commited on
Commit
deca604
·
verified ·
1 Parent(s): 6d48fb7

Upload folder using huggingface_hub

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