faizalkarim commited on
Commit
912b252
·
verified ·
1 Parent(s): c9bdaec

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "diffusion",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.side": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.front": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 6
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "push_to_hub": true,
39
+ "repo_id": "faizalkarim/sharpner_12oct_diff",
40
+ "private": null,
41
+ "tags": null,
42
+ "license": null,
43
+ "horizon": 16,
44
+ "n_action_steps": 8,
45
+ "normalization_mapping": {
46
+ "VISUAL": "MEAN_STD",
47
+ "STATE": "MIN_MAX",
48
+ "ACTION": "MIN_MAX"
49
+ },
50
+ "drop_n_last_frames": 7,
51
+ "vision_backbone": "resnet18",
52
+ "crop_shape": [
53
+ 84,
54
+ 84
55
+ ],
56
+ "crop_is_random": true,
57
+ "pretrained_backbone_weights": null,
58
+ "use_group_norm": true,
59
+ "spatial_softmax_num_keypoints": 32,
60
+ "use_separate_rgb_encoder_per_camera": false,
61
+ "down_dims": [
62
+ 512,
63
+ 1024,
64
+ 2048
65
+ ],
66
+ "kernel_size": 5,
67
+ "n_groups": 8,
68
+ "diffusion_step_embed_dim": 128,
69
+ "use_film_scale_modulation": true,
70
+ "noise_scheduler_type": "DDPM",
71
+ "num_train_timesteps": 100,
72
+ "beta_schedule": "squaredcos_cap_v2",
73
+ "beta_start": 0.0001,
74
+ "beta_end": 0.02,
75
+ "prediction_type": "epsilon",
76
+ "clip_sample": true,
77
+ "clip_sample_range": 1.0,
78
+ "num_inference_steps": null,
79
+ "do_mask_loss_for_padding": false,
80
+ "optimizer_lr": 0.0001,
81
+ "optimizer_betas": [
82
+ 0.95,
83
+ 0.999
84
+ ],
85
+ "optimizer_eps": 1e-08,
86
+ "optimizer_weight_decay": 1e-06,
87
+ "scheduler_name": "cosine",
88
+ "scheduler_warmup_steps": 500
89
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5a489b0d652b77356b129e4ab968f6ba3ca579fc32b58da992d9eef2abda4f4
3
+ size 1066516384
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:8b6f889fd269d01ef73ac11d4c5bd32b2777f07383a8ff3c8fce9d9f9b3ff84c
3
+ size 7544
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.side": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 480,
37
+ 640
38
+ ]
39
+ },
40
+ "observation.images.front": {
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:8b6f889fd269d01ef73ac11d4c5bd32b2777f07383a8ff3c8fce9d9f9b3ff84c
3
+ size 7544
train_config.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "faizalkarim/sharpner_12oct",
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": "pyav",
66
+ "streaming": false
67
+ },
68
+ "env": null,
69
+ "policy": {
70
+ "type": "diffusion",
71
+ "n_obs_steps": 2,
72
+ "input_features": {
73
+ "observation.state": {
74
+ "type": "STATE",
75
+ "shape": [
76
+ 6
77
+ ]
78
+ },
79
+ "observation.images.side": {
80
+ "type": "VISUAL",
81
+ "shape": [
82
+ 3,
83
+ 480,
84
+ 640
85
+ ]
86
+ },
87
+ "observation.images.front": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 3,
91
+ 480,
92
+ 640
93
+ ]
94
+ }
95
+ },
96
+ "output_features": {
97
+ "action": {
98
+ "type": "ACTION",
99
+ "shape": [
100
+ 6
101
+ ]
102
+ }
103
+ },
104
+ "device": "cuda",
105
+ "use_amp": false,
106
+ "push_to_hub": true,
107
+ "repo_id": "faizalkarim/sharpner_12oct_diff",
108
+ "private": null,
109
+ "tags": null,
110
+ "license": null,
111
+ "horizon": 16,
112
+ "n_action_steps": 8,
113
+ "normalization_mapping": {
114
+ "VISUAL": "MEAN_STD",
115
+ "STATE": "MIN_MAX",
116
+ "ACTION": "MIN_MAX"
117
+ },
118
+ "drop_n_last_frames": 7,
119
+ "vision_backbone": "resnet18",
120
+ "crop_shape": [
121
+ 84,
122
+ 84
123
+ ],
124
+ "crop_is_random": true,
125
+ "pretrained_backbone_weights": null,
126
+ "use_group_norm": true,
127
+ "spatial_softmax_num_keypoints": 32,
128
+ "use_separate_rgb_encoder_per_camera": false,
129
+ "down_dims": [
130
+ 512,
131
+ 1024,
132
+ 2048
133
+ ],
134
+ "kernel_size": 5,
135
+ "n_groups": 8,
136
+ "diffusion_step_embed_dim": 128,
137
+ "use_film_scale_modulation": true,
138
+ "noise_scheduler_type": "DDPM",
139
+ "num_train_timesteps": 100,
140
+ "beta_schedule": "squaredcos_cap_v2",
141
+ "beta_start": 0.0001,
142
+ "beta_end": 0.02,
143
+ "prediction_type": "epsilon",
144
+ "clip_sample": true,
145
+ "clip_sample_range": 1.0,
146
+ "num_inference_steps": null,
147
+ "do_mask_loss_for_padding": false,
148
+ "optimizer_lr": 0.0001,
149
+ "optimizer_betas": [
150
+ 0.95,
151
+ 0.999
152
+ ],
153
+ "optimizer_eps": 1e-08,
154
+ "optimizer_weight_decay": 1e-06,
155
+ "scheduler_name": "cosine",
156
+ "scheduler_warmup_steps": 500
157
+ },
158
+ "output_dir": "/scratch/dualarm/lerobot/outputs/train/diff_sharpner_12oct",
159
+ "job_name": "diff_sharpner_12oct_train",
160
+ "resume": false,
161
+ "seed": 1000,
162
+ "num_workers": 4,
163
+ "batch_size": 8,
164
+ "steps": 100000,
165
+ "eval_freq": 20000,
166
+ "log_freq": 200,
167
+ "save_checkpoint": true,
168
+ "save_freq": 10000,
169
+ "use_policy_training_preset": true,
170
+ "optimizer": {
171
+ "type": "adam",
172
+ "lr": 0.0001,
173
+ "weight_decay": 1e-06,
174
+ "grad_clip_norm": 10.0,
175
+ "betas": [
176
+ 0.95,
177
+ 0.999
178
+ ],
179
+ "eps": 1e-08
180
+ },
181
+ "scheduler": {
182
+ "type": "diffuser",
183
+ "num_warmup_steps": 500,
184
+ "name": "cosine"
185
+ },
186
+ "eval": {
187
+ "n_episodes": 50,
188
+ "batch_size": 50,
189
+ "use_async_envs": false
190
+ },
191
+ "wandb": {
192
+ "enable": true,
193
+ "disable_artifact": false,
194
+ "project": "lerobot",
195
+ "entity": null,
196
+ "notes": null,
197
+ "run_id": "jj1insva",
198
+ "mode": null
199
+ }
200
+ }