jadechoghari commited on
Commit
fa8aee0
·
verified ·
1 Parent(s): 96adc88

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +126 -0
  2. model.safetensors +3 -0
  3. train_config.json +274 -0
config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "dot",
3
+ "n_obs_steps": 3,
4
+ "normalization_mapping": {
5
+ "VISUAL": "MEAN_STD",
6
+ "STATE": "MIN_MAX",
7
+ "ENV": "MIN_MAX",
8
+ "ACTION": "MIN_MAX"
9
+ },
10
+ "input_features": {
11
+ "observation.image": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 96,
16
+ 96
17
+ ]
18
+ },
19
+ "observation.state": {
20
+ "type": "STATE",
21
+ "shape": [
22
+ 2
23
+ ]
24
+ }
25
+ },
26
+ "output_features": {
27
+ "action": {
28
+ "type": "ACTION",
29
+ "shape": [
30
+ 2
31
+ ]
32
+ }
33
+ },
34
+ "device": "cuda",
35
+ "use_amp": false,
36
+ "train_horizon": 20,
37
+ "inference_horizon": 20,
38
+ "lookback_obs_steps": 10,
39
+ "lookback_aug": 5,
40
+ "override_dataset_stats": false,
41
+ "new_dataset_stats": {
42
+ "action": {
43
+ "max": [
44
+ 512.0,
45
+ 512.0
46
+ ],
47
+ "min": [
48
+ 0.0,
49
+ 0.0
50
+ ]
51
+ },
52
+ "observation.environment_state": {
53
+ "max": [
54
+ 512.0,
55
+ 512.0,
56
+ 512.0,
57
+ 512.0,
58
+ 512.0,
59
+ 512.0,
60
+ 512.0,
61
+ 512.0,
62
+ 512.0,
63
+ 512.0,
64
+ 512.0,
65
+ 512.0,
66
+ 512.0,
67
+ 512.0,
68
+ 512.0,
69
+ 512.0
70
+ ],
71
+ "min": [
72
+ 0.0,
73
+ 0.0,
74
+ 0.0,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ 0.0,
80
+ 0.0,
81
+ 0.0,
82
+ 0.0,
83
+ 0.0,
84
+ 0.0,
85
+ 0.0,
86
+ 0.0,
87
+ 0.0
88
+ ]
89
+ },
90
+ "observation.state": {
91
+ "max": [
92
+ 512.0,
93
+ 512.0
94
+ ],
95
+ "min": [
96
+ 0.0,
97
+ 0.0
98
+ ]
99
+ }
100
+ },
101
+ "vision_backbone": "resnet18",
102
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
103
+ "pre_norm": true,
104
+ "lora_rank": 20,
105
+ "merge_lora": false,
106
+ "dim_model": 128,
107
+ "n_heads": 8,
108
+ "dim_feedforward": 512,
109
+ "n_decoder_layers": 8,
110
+ "rescale_shape": [
111
+ 96,
112
+ 96
113
+ ],
114
+ "crop_scale": 0.8,
115
+ "state_noise": 0.01,
116
+ "noise_decay": 0.999995,
117
+ "dropout": 0.1,
118
+ "alpha": 0.75,
119
+ "train_alpha": 0.9,
120
+ "predict_every_n": 1,
121
+ "return_every_n": 2,
122
+ "optimizer_lr": 0.0001,
123
+ "optimizer_min_lr": 0.0001,
124
+ "optimizer_lr_cycle_steps": 300000,
125
+ "optimizer_weight_decay": 1e-05
126
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a9aa1742703568be73fe008a3e06ebf678cc0d8190f322107cda6d900168445
3
+ size 56412020
train_config.json ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "lerobot/pusht",
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
+ }
62
+ },
63
+ "revision": null,
64
+ "use_imagenet_stats": true,
65
+ "video_backend": "torchcodec"
66
+ },
67
+ "env": {
68
+ "type": "pusht",
69
+ "task": "PushT-v0",
70
+ "fps": 10,
71
+ "features": {
72
+ "action": {
73
+ "type": "ACTION",
74
+ "shape": [
75
+ 2
76
+ ]
77
+ },
78
+ "agent_pos": {
79
+ "type": "STATE",
80
+ "shape": [
81
+ 2
82
+ ]
83
+ },
84
+ "pixels": {
85
+ "type": "VISUAL",
86
+ "shape": [
87
+ 384,
88
+ 384,
89
+ 3
90
+ ]
91
+ }
92
+ },
93
+ "features_map": {
94
+ "action": "action",
95
+ "agent_pos": "observation.state",
96
+ "environment_state": "observation.environment_state",
97
+ "pixels": "observation.image"
98
+ },
99
+ "episode_length": 300,
100
+ "obs_type": "pixels_agent_pos",
101
+ "render_mode": "rgb_array",
102
+ "visualization_width": 384,
103
+ "visualization_height": 384
104
+ },
105
+ "policy": {
106
+ "type": "dot",
107
+ "n_obs_steps": 3,
108
+ "normalization_mapping": {
109
+ "VISUAL": "MEAN_STD",
110
+ "STATE": "MIN_MAX",
111
+ "ENV": "MIN_MAX",
112
+ "ACTION": "MIN_MAX"
113
+ },
114
+ "input_features": {
115
+ "observation.image": {
116
+ "type": "VISUAL",
117
+ "shape": [
118
+ 3,
119
+ 96,
120
+ 96
121
+ ]
122
+ },
123
+ "observation.state": {
124
+ "type": "STATE",
125
+ "shape": [
126
+ 2
127
+ ]
128
+ }
129
+ },
130
+ "output_features": {
131
+ "action": {
132
+ "type": "ACTION",
133
+ "shape": [
134
+ 2
135
+ ]
136
+ }
137
+ },
138
+ "device": "cuda",
139
+ "use_amp": false,
140
+ "train_horizon": 20,
141
+ "inference_horizon": 20,
142
+ "lookback_obs_steps": 10,
143
+ "lookback_aug": 5,
144
+ "override_dataset_stats": false,
145
+ "new_dataset_stats": {
146
+ "action": {
147
+ "max": [
148
+ 512.0,
149
+ 512.0
150
+ ],
151
+ "min": [
152
+ 0.0,
153
+ 0.0
154
+ ]
155
+ },
156
+ "observation.environment_state": {
157
+ "max": [
158
+ 512.0,
159
+ 512.0,
160
+ 512.0,
161
+ 512.0,
162
+ 512.0,
163
+ 512.0,
164
+ 512.0,
165
+ 512.0,
166
+ 512.0,
167
+ 512.0,
168
+ 512.0,
169
+ 512.0,
170
+ 512.0,
171
+ 512.0,
172
+ 512.0,
173
+ 512.0
174
+ ],
175
+ "min": [
176
+ 0.0,
177
+ 0.0,
178
+ 0.0,
179
+ 0.0,
180
+ 0.0,
181
+ 0.0,
182
+ 0.0,
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0
192
+ ]
193
+ },
194
+ "observation.state": {
195
+ "max": [
196
+ 512.0,
197
+ 512.0
198
+ ],
199
+ "min": [
200
+ 0.0,
201
+ 0.0
202
+ ]
203
+ }
204
+ },
205
+ "vision_backbone": "resnet18",
206
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
207
+ "pre_norm": true,
208
+ "lora_rank": 20,
209
+ "merge_lora": false,
210
+ "dim_model": 128,
211
+ "n_heads": 8,
212
+ "dim_feedforward": 512,
213
+ "n_decoder_layers": 8,
214
+ "rescale_shape": [
215
+ 96,
216
+ 96
217
+ ],
218
+ "crop_scale": 0.8,
219
+ "state_noise": 0.01,
220
+ "noise_decay": 0.999995,
221
+ "dropout": 0.1,
222
+ "alpha": 0.75,
223
+ "train_alpha": 0.9,
224
+ "predict_every_n": 1,
225
+ "return_every_n": 2,
226
+ "optimizer_lr": 0.0001,
227
+ "optimizer_min_lr": 0.0001,
228
+ "optimizer_lr_cycle_steps": 300000,
229
+ "optimizer_weight_decay": 1e-05
230
+ },
231
+ "output_dir": "outputs/train/pusht_images",
232
+ "job_name": "pusht_dot",
233
+ "resume": false,
234
+ "seed": 100000,
235
+ "num_workers": 20,
236
+ "batch_size": 8,
237
+ "steps": 100000,
238
+ "eval_freq": 50000,
239
+ "log_freq": 1000,
240
+ "save_checkpoint": true,
241
+ "save_freq": 100000,
242
+ "use_policy_training_preset": true,
243
+ "optimizer": {
244
+ "type": "adamw",
245
+ "lr": 0.0001,
246
+ "weight_decay": 1e-05,
247
+ "grad_clip_norm": 10.0,
248
+ "betas": [
249
+ 0.9,
250
+ 0.999
251
+ ],
252
+ "eps": 1e-08
253
+ },
254
+ "scheduler": {
255
+ "type": "cosine_annealing",
256
+ "num_warmup_steps": 0,
257
+ "min_lr": 0.0001,
258
+ "T_max": 300000
259
+ },
260
+ "eval": {
261
+ "n_episodes": 50,
262
+ "batch_size": 50,
263
+ "use_async_envs": false
264
+ },
265
+ "wandb": {
266
+ "enable": true,
267
+ "disable_artifact": false,
268
+ "project": "pusht",
269
+ "entity": null,
270
+ "notes": null,
271
+ "run_id": null,
272
+ "mode": null
273
+ }
274
+ }