Robotics
LeRobot
Safetensors
flow-matching
gaze
blueberry
fecasado commited on
Commit
95b10f8
·
verified ·
1 Parent(s): 35d8ba4

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "gaze_flow_matching",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.right": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 240,
9
+ 320,
10
+ 3
11
+ ]
12
+ },
13
+ "observation.images.left": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 240,
17
+ 320,
18
+ 3
19
+ ]
20
+ },
21
+ "observation.images.user": {
22
+ "type": "VISUAL",
23
+ "shape": [
24
+ 240,
25
+ 320,
26
+ 3
27
+ ]
28
+ }
29
+ },
30
+ "output_features": {
31
+ "action": {
32
+ "type": "ACTION",
33
+ "shape": [
34
+ 26
35
+ ]
36
+ }
37
+ },
38
+ "device": "cuda",
39
+ "use_amp": false,
40
+ "use_peft": false,
41
+ "push_to_hub": true,
42
+ "repo_id": "fecasado/gfm-cubes-22b",
43
+ "private": null,
44
+ "tags": null,
45
+ "license": null,
46
+ "pretrained_path": null,
47
+ "normalization_mapping": {
48
+ "VISUAL": "MEAN_STD",
49
+ "STATE": "MEAN_STD",
50
+ "ACTION": "MEAN_STD"
51
+ },
52
+ "gaze_feature_dim": 3,
53
+ "gaze_state_indices": [
54
+ -3,
55
+ -2,
56
+ -1
57
+ ],
58
+ "gaze_temporal_window": 1,
59
+ "vision_backbone": "resnet18",
60
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
61
+ "vit_token_size": 16,
62
+ "vit_foveation_strides": [
63
+ 1,
64
+ 2,
65
+ 6
66
+ ],
67
+ "vit_foveation_grid_sizes": [
68
+ 2,
69
+ 3,
70
+ 3
71
+ ],
72
+ "vit_model_size": "base",
73
+ "vit_pretrained_repo_id": "",
74
+ "vit_freeze": false,
75
+ "vit_backbone": "resnet18",
76
+ "gaze_cross_camera": true,
77
+ "gaze_cross_camera_method_train": "roma",
78
+ "gaze_cross_camera_method_inference": "roma",
79
+ "gaze_cross_camera_match_every": 5,
80
+ "gaze_cross_camera_timeout": 0.05,
81
+ "gaze_cross_camera_cache": null,
82
+ "gaze_cross_camera_smoothing": 0.9,
83
+ "gaze_heatmap": true,
84
+ "gaze_heatmap_sigma": 60.0,
85
+ "gaze_heatmap_decay": 1.0,
86
+ "gaze_camera": "user",
87
+ "obs_step_size": 1,
88
+ "n_action_steps": 2,
89
+ "horizon": 16,
90
+ "n_sampling_steps": 8,
91
+ "use_temporal_ensemble": true,
92
+ "temporal_ensemble_coeff": -0.01,
93
+ "dim_model": 512,
94
+ "n_heads": 8,
95
+ "mlp_ratio": 4.0,
96
+ "dropout": 0.1,
97
+ "dit_n_layers": 8,
98
+ "dit_time_dim": 256,
99
+ "pool_n_queries": 16,
100
+ "pool_n_layers": 4,
101
+ "use_gaze": true,
102
+ "use_gaze_as_action": false,
103
+ "gaze_model_repo_id": "",
104
+ "gaze_noise": 0.01,
105
+ "image_norm_mode": "mean_std",
106
+ "state_norm_mode": "min_max",
107
+ "action_norm_mode": "min_max",
108
+ "image_to_gaze_key": {},
109
+ "optimizer_lr": 0.0001,
110
+ "optimizer_lr_backbone": 0.0001,
111
+ "optimizer_betas": [
112
+ 0.95,
113
+ 0.999
114
+ ],
115
+ "optimizer_eps": 1e-08,
116
+ "optimizer_weight_decay": 1e-06,
117
+ "scheduler_name": "cosine",
118
+ "scheduler_warmup_steps": 500,
119
+ "use_ema": true,
120
+ "ema_decay": 0.99,
121
+ "input_shape": [
122
+ 240,
123
+ 320
124
+ ],
125
+ "visualize": true
126
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f73c7eb1e9ba496baa4bb48bfef1e5f22f3823d9dd92fdbfbca8adb02ef401c7
3
+ size 300937880
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
+ 26
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "MEAN_STD",
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:29917854ea34c3530f4ca96405045466f660f0be37113ec5df14306a6d20f861
3
+ size 12236
policy_preprocessor.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "device_processor",
16
+ "config": {
17
+ "device": "cuda",
18
+ "float_dtype": null
19
+ }
20
+ },
21
+ {
22
+ "registry_name": "normalizer_processor",
23
+ "config": {
24
+ "eps": 1e-08,
25
+ "features": {
26
+ "observation.images.right": {
27
+ "type": "VISUAL",
28
+ "shape": [
29
+ 240,
30
+ 320,
31
+ 3
32
+ ]
33
+ },
34
+ "observation.images.left": {
35
+ "type": "VISUAL",
36
+ "shape": [
37
+ 240,
38
+ 320,
39
+ 3
40
+ ]
41
+ },
42
+ "observation.images.user": {
43
+ "type": "VISUAL",
44
+ "shape": [
45
+ 240,
46
+ 320,
47
+ 3
48
+ ]
49
+ },
50
+ "action": {
51
+ "type": "ACTION",
52
+ "shape": [
53
+ 26
54
+ ]
55
+ }
56
+ },
57
+ "norm_map": {
58
+ "VISUAL": "MEAN_STD",
59
+ "STATE": "MEAN_STD",
60
+ "ACTION": "MEAN_STD"
61
+ }
62
+ },
63
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
64
+ }
65
+ ]
66
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:267e06ab628f0ed8105b8916783b60d88140a90afa1598e6c785ee798d000a3e
3
+ size 12244
train_config.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "fecasado/Ncubes-to-Nbaskets-320x240",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": true,
8
+ "max_num_transforms": 1,
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
+ "return_uint8": false,
81
+ "streaming": false
82
+ },
83
+ "env": null,
84
+ "policy": {
85
+ "type": "gaze_flow_matching",
86
+ "n_obs_steps": 1,
87
+ "input_features": {
88
+ "observation.images.right": {
89
+ "type": "VISUAL",
90
+ "shape": [
91
+ 240,
92
+ 320,
93
+ 3
94
+ ]
95
+ },
96
+ "observation.images.left": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 240,
100
+ 320,
101
+ 3
102
+ ]
103
+ },
104
+ "observation.images.user": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 240,
108
+ 320,
109
+ 3
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 26
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": true,
125
+ "repo_id": "fecasado/gfm-cubes-22b",
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "normalization_mapping": {
131
+ "VISUAL": "MEAN_STD",
132
+ "STATE": "MEAN_STD",
133
+ "ACTION": "MEAN_STD"
134
+ },
135
+ "gaze_feature_dim": 3,
136
+ "gaze_state_indices": [
137
+ -3,
138
+ -2,
139
+ -1
140
+ ],
141
+ "gaze_temporal_window": 1,
142
+ "vision_backbone": "resnet18",
143
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
144
+ "vit_token_size": 16,
145
+ "vit_foveation_strides": [
146
+ 1,
147
+ 2,
148
+ 6
149
+ ],
150
+ "vit_foveation_grid_sizes": [
151
+ 2,
152
+ 3,
153
+ 3
154
+ ],
155
+ "vit_model_size": "base",
156
+ "vit_pretrained_repo_id": "",
157
+ "vit_freeze": false,
158
+ "vit_backbone": "resnet18",
159
+ "gaze_cross_camera": true,
160
+ "gaze_cross_camera_method_train": "roma",
161
+ "gaze_cross_camera_method_inference": "roma",
162
+ "gaze_cross_camera_match_every": 5,
163
+ "gaze_cross_camera_timeout": 0.05,
164
+ "gaze_cross_camera_cache": null,
165
+ "gaze_cross_camera_smoothing": 0.9,
166
+ "gaze_heatmap": true,
167
+ "gaze_heatmap_sigma": 60.0,
168
+ "gaze_heatmap_decay": 1.0,
169
+ "gaze_camera": "user",
170
+ "obs_step_size": 1,
171
+ "n_action_steps": 2,
172
+ "horizon": 16,
173
+ "n_sampling_steps": 8,
174
+ "use_temporal_ensemble": true,
175
+ "temporal_ensemble_coeff": -0.01,
176
+ "dim_model": 512,
177
+ "n_heads": 8,
178
+ "mlp_ratio": 4.0,
179
+ "dropout": 0.1,
180
+ "dit_n_layers": 8,
181
+ "dit_time_dim": 256,
182
+ "pool_n_queries": 16,
183
+ "pool_n_layers": 4,
184
+ "use_gaze": true,
185
+ "use_gaze_as_action": false,
186
+ "gaze_model_repo_id": "",
187
+ "gaze_noise": 0.01,
188
+ "image_norm_mode": "mean_std",
189
+ "state_norm_mode": "min_max",
190
+ "action_norm_mode": "min_max",
191
+ "image_to_gaze_key": {},
192
+ "optimizer_lr": 0.0001,
193
+ "optimizer_lr_backbone": 0.0001,
194
+ "optimizer_betas": [
195
+ 0.95,
196
+ 0.999
197
+ ],
198
+ "optimizer_eps": 1e-08,
199
+ "optimizer_weight_decay": 1e-06,
200
+ "scheduler_name": "cosine",
201
+ "scheduler_warmup_steps": 500,
202
+ "use_ema": true,
203
+ "ema_decay": 0.99,
204
+ "input_shape": [
205
+ 240,
206
+ 320
207
+ ],
208
+ "visualize": true
209
+ },
210
+ "reward_model": null,
211
+ "output_dir": "outputs/train/gfm-cubes-22b",
212
+ "job_name": "gfm-cubes-22b",
213
+ "resume": false,
214
+ "seed": 1000,
215
+ "cudnn_deterministic": false,
216
+ "num_workers": 15,
217
+ "batch_size": 128,
218
+ "prefetch_factor": 4,
219
+ "persistent_workers": true,
220
+ "steps": 100000,
221
+ "eval_freq": 20000,
222
+ "log_freq": 200,
223
+ "tolerance_s": 0.0001,
224
+ "save_checkpoint": true,
225
+ "save_freq": 10000,
226
+ "use_policy_training_preset": true,
227
+ "optimizer": {
228
+ "type": "adamw",
229
+ "lr": 0.0001,
230
+ "weight_decay": 1e-06,
231
+ "grad_clip_norm": 10.0,
232
+ "betas": [
233
+ 0.95,
234
+ 0.999
235
+ ],
236
+ "eps": 1e-08
237
+ },
238
+ "scheduler": null,
239
+ "eval": {
240
+ "n_episodes": 50,
241
+ "batch_size": 11,
242
+ "use_async_envs": true
243
+ },
244
+ "wandb": {
245
+ "enable": true,
246
+ "disable_artifact": true,
247
+ "project": "lerobot",
248
+ "entity": null,
249
+ "notes": null,
250
+ "run_id": "6m0fupu0",
251
+ "mode": null,
252
+ "add_tags": true
253
+ },
254
+ "peft": null,
255
+ "sample_weighting": null,
256
+ "rename_map": {},
257
+ "checkpoint_path": null
258
+ }