ViVi-AI commited on
Commit
cb0f6a0
·
verified ·
1 Parent(s): 69beaf4

Upload 5 files

Browse files

Added files that were not uploaded automatically with the policy.push_to_hub() python function

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": "MEAN_STD",
18
+ "STATE": "MIN_MAX",
19
+ "ACTION": "MIN_MAX"
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:706d57c27884c5369a50bfc21cb2aada75ae40ed9a5b04e8f0ccda0b97a2911a
3
+ size 7584
policy_preprocessor.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.state": {
27
+ "type": "STATE",
28
+ "shape": [
29
+ 6
30
+ ]
31
+ },
32
+ "observation.images.hand": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 480,
37
+ 640
38
+ ]
39
+ },
40
+ "observation.images.workspace": {
41
+ "type": "VISUAL",
42
+ "shape": [
43
+ 3,
44
+ 480,
45
+ 640
46
+ ]
47
+ },
48
+ "action": {
49
+ "type": "ACTION",
50
+ "shape": [
51
+ 6
52
+ ]
53
+ }
54
+ },
55
+ "norm_map": {
56
+ "VISUAL": "MEAN_STD",
57
+ "STATE": "MIN_MAX",
58
+ "ACTION": "MIN_MAX"
59
+ }
60
+ },
61
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
62
+ }
63
+ ]
64
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3011154ac8f51eb4c5ef3719b58191139ad469a9d75a967b3de59c282f6de6fb
3
+ size 7592
train_config.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "ViVi-AI/pick_place_20260709_130127",
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
+ "return_uint8": false,
81
+ "depth_output_unit": "mm",
82
+ "streaming": false,
83
+ "eval_split": 0.0
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "diffusion",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 6
94
+ ]
95
+ },
96
+ "observation.images.hand": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 480,
101
+ 640
102
+ ]
103
+ },
104
+ "observation.images.workspace": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 480,
109
+ 640
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 6
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": true,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 64,
132
+ "n_action_steps": 32,
133
+ "normalization_mapping": {
134
+ "VISUAL": "MEAN_STD",
135
+ "STATE": "MIN_MAX",
136
+ "ACTION": "MIN_MAX"
137
+ },
138
+ "drop_n_last_frames": 7,
139
+ "vision_backbone": "resnet18",
140
+ "resize_shape": null,
141
+ "crop_ratio": 1.0,
142
+ "crop_shape": null,
143
+ "crop_is_random": true,
144
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
145
+ "use_group_norm": false,
146
+ "spatial_softmax_num_keypoints": 32,
147
+ "use_separate_rgb_encoder_per_camera": true,
148
+ "down_dims": [
149
+ 512,
150
+ 1024,
151
+ 2048
152
+ ],
153
+ "kernel_size": 5,
154
+ "n_groups": 8,
155
+ "diffusion_step_embed_dim": 128,
156
+ "use_film_scale_modulation": true,
157
+ "noise_scheduler_type": "DDPM",
158
+ "num_train_timesteps": 100,
159
+ "beta_schedule": "squaredcos_cap_v2",
160
+ "beta_start": 0.0001,
161
+ "beta_end": 0.02,
162
+ "prediction_type": "epsilon",
163
+ "clip_sample": true,
164
+ "clip_sample_range": 1.0,
165
+ "num_inference_steps": null,
166
+ "compile_model": false,
167
+ "compile_mode": "reduce-overhead",
168
+ "do_mask_loss_for_padding": false,
169
+ "optimizer_lr": 0.0001,
170
+ "optimizer_betas": [
171
+ 0.95,
172
+ 0.999
173
+ ],
174
+ "optimizer_eps": 1e-08,
175
+ "optimizer_weight_decay": 1e-06,
176
+ "scheduler_name": "cosine",
177
+ "scheduler_warmup_steps": 500
178
+ },
179
+ "reward_model": null,
180
+ "output_dir": "/home/haidera/.cache/huggingface/lerobot/outputs/train/diffusion_ViVi-AI_pick_place_20260709_130127_2026-07-10_16-13-57/run",
181
+ "job_name": "diffusion",
182
+ "resume": false,
183
+ "seed": 2,
184
+ "cudnn_deterministic": false,
185
+ "num_workers": 32,
186
+ "batch_size": 16,
187
+ "prefetch_factor": 4,
188
+ "persistent_workers": true,
189
+ "steps": 10000,
190
+ "env_eval_freq": 0,
191
+ "log_freq": 250,
192
+ "eval_steps": 0,
193
+ "max_eval_samples": 0,
194
+ "tolerance_s": 0.0001,
195
+ "save_checkpoint": true,
196
+ "save_freq": 1000,
197
+ "use_policy_training_preset": true,
198
+ "optimizer": {
199
+ "type": "adam",
200
+ "lr": 0.0001,
201
+ "weight_decay": 1e-06,
202
+ "grad_clip_norm": 10.0,
203
+ "betas": [
204
+ 0.95,
205
+ 0.999
206
+ ],
207
+ "eps": 1e-08
208
+ },
209
+ "scheduler": {
210
+ "type": "diffuser",
211
+ "num_warmup_steps": 500,
212
+ "name": "cosine"
213
+ },
214
+ "eval": {
215
+ "n_episodes": 10,
216
+ "batch_size": 10,
217
+ "use_async_envs": false,
218
+ "recording": false,
219
+ "recording_repo_id": null,
220
+ "recording_private": false
221
+ },
222
+ "wandb": {
223
+ "enable": false,
224
+ "disable_artifact": false,
225
+ "project": "lerobot",
226
+ "entity": null,
227
+ "notes": null,
228
+ "run_id": null,
229
+ "mode": null,
230
+ "add_tags": true
231
+ },
232
+ "peft": null,
233
+ "job": {
234
+ "target": null,
235
+ "image": "huggingface/lerobot-gpu:latest",
236
+ "timeout": "2d",
237
+ "detach": false,
238
+ "tags": []
239
+ },
240
+ "save_checkpoint_to_hub": false,
241
+ "sample_weighting": null,
242
+ "rename_map": {},
243
+ "checkpoint_path": null
244
+ }