Spring14th commited on
Commit
1c96d12
·
verified ·
1 Parent(s): 59ebfd5

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +76 -0
  2. model.safetensors +3 -0
  3. train_config.json +220 -0
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "diffusion",
3
+ "n_obs_steps": 2,
4
+ "normalization_mapping": {
5
+ "VISUAL": "MEAN_STD",
6
+ "STATE": "MIN_MAX",
7
+ "ACTION": "MIN_MAX"
8
+ },
9
+ "input_features": {
10
+ "observation.images.top": {
11
+ "type": "VISUAL",
12
+ "shape": [
13
+ 3,
14
+ 480,
15
+ 640
16
+ ]
17
+ },
18
+ "observation.state": {
19
+ "type": "STATE",
20
+ "shape": [
21
+ 14
22
+ ]
23
+ }
24
+ },
25
+ "output_features": {
26
+ "action": {
27
+ "type": "ACTION",
28
+ "shape": [
29
+ 14
30
+ ]
31
+ }
32
+ },
33
+ "device": "cuda",
34
+ "use_amp": false,
35
+ "horizon": 16,
36
+ "n_action_steps": 8,
37
+ "drop_n_last_frames": 7,
38
+ "vision_backbone": "resnet18",
39
+ "crop_shape": [
40
+ 84,
41
+ 84
42
+ ],
43
+ "crop_is_random": true,
44
+ "pretrained_backbone_weights": null,
45
+ "use_group_norm": true,
46
+ "spatial_softmax_num_keypoints": 32,
47
+ "use_separate_rgb_encoder_per_camera": false,
48
+ "down_dims": [
49
+ 512,
50
+ 1024,
51
+ 2048
52
+ ],
53
+ "kernel_size": 5,
54
+ "n_groups": 8,
55
+ "diffusion_step_embed_dim": 128,
56
+ "use_film_scale_modulation": true,
57
+ "noise_scheduler_type": "DDPM",
58
+ "num_train_timesteps": 100,
59
+ "beta_schedule": "squaredcos_cap_v2",
60
+ "beta_start": 0.0001,
61
+ "beta_end": 0.02,
62
+ "prediction_type": "epsilon",
63
+ "clip_sample": true,
64
+ "clip_sample_range": 1.0,
65
+ "num_inference_steps": null,
66
+ "do_mask_loss_for_padding": false,
67
+ "optimizer_lr": 0.0001,
68
+ "optimizer_betas": [
69
+ 0.95,
70
+ 0.999
71
+ ],
72
+ "optimizer_eps": 1e-08,
73
+ "optimizer_weight_decay": 1e-06,
74
+ "scheduler_name": "cosine",
75
+ "scheduler_warmup_steps": 500
76
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:223b144de84e269133288acb7c97c49e521a899dc4bcdcda2ce708b14a722524
3
+ size 1048544432
train_config.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "lerobot/aloha_sim_insertion_human",
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
+ },
67
+ "env": {
68
+ "type": "aloha",
69
+ "task": "AlohaInsertion-v0",
70
+ "fps": 50,
71
+ "features": {
72
+ "action": {
73
+ "type": "ACTION",
74
+ "shape": [
75
+ 14
76
+ ]
77
+ },
78
+ "agent_pos": {
79
+ "type": "STATE",
80
+ "shape": [
81
+ 14
82
+ ]
83
+ },
84
+ "pixels/top": {
85
+ "type": "VISUAL",
86
+ "shape": [
87
+ 480,
88
+ 640,
89
+ 3
90
+ ]
91
+ }
92
+ },
93
+ "features_map": {
94
+ "action": "action",
95
+ "agent_pos": "observation.state",
96
+ "top": "observation.image.top",
97
+ "pixels/top": "observation.images.top"
98
+ },
99
+ "episode_length": 400,
100
+ "obs_type": "pixels_agent_pos",
101
+ "render_mode": "rgb_array"
102
+ },
103
+ "policy": {
104
+ "type": "diffusion",
105
+ "n_obs_steps": 2,
106
+ "normalization_mapping": {
107
+ "VISUAL": "MEAN_STD",
108
+ "STATE": "MIN_MAX",
109
+ "ACTION": "MIN_MAX"
110
+ },
111
+ "input_features": {
112
+ "observation.images.top": {
113
+ "type": "VISUAL",
114
+ "shape": [
115
+ 3,
116
+ 480,
117
+ 640
118
+ ]
119
+ },
120
+ "observation.state": {
121
+ "type": "STATE",
122
+ "shape": [
123
+ 14
124
+ ]
125
+ }
126
+ },
127
+ "output_features": {
128
+ "action": {
129
+ "type": "ACTION",
130
+ "shape": [
131
+ 14
132
+ ]
133
+ }
134
+ },
135
+ "device": "cuda",
136
+ "use_amp": false,
137
+ "horizon": 16,
138
+ "n_action_steps": 8,
139
+ "drop_n_last_frames": 7,
140
+ "vision_backbone": "resnet18",
141
+ "crop_shape": [
142
+ 84,
143
+ 84
144
+ ],
145
+ "crop_is_random": true,
146
+ "pretrained_backbone_weights": null,
147
+ "use_group_norm": true,
148
+ "spatial_softmax_num_keypoints": 32,
149
+ "use_separate_rgb_encoder_per_camera": false,
150
+ "down_dims": [
151
+ 512,
152
+ 1024,
153
+ 2048
154
+ ],
155
+ "kernel_size": 5,
156
+ "n_groups": 8,
157
+ "diffusion_step_embed_dim": 128,
158
+ "use_film_scale_modulation": true,
159
+ "noise_scheduler_type": "DDPM",
160
+ "num_train_timesteps": 100,
161
+ "beta_schedule": "squaredcos_cap_v2",
162
+ "beta_start": 0.0001,
163
+ "beta_end": 0.02,
164
+ "prediction_type": "epsilon",
165
+ "clip_sample": true,
166
+ "clip_sample_range": 1.0,
167
+ "num_inference_steps": null,
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
+ "output_dir": "/root/autodl-tmp/.autodl/output_diff",
180
+ "job_name": "aloha_diffusion",
181
+ "resume": true,
182
+ "seed": 1000,
183
+ "num_workers": 12,
184
+ "batch_size": 32,
185
+ "steps": 40000,
186
+ "eval_freq": 500000,
187
+ "log_freq": 400,
188
+ "save_checkpoint": true,
189
+ "save_freq": 10000,
190
+ "use_policy_training_preset": true,
191
+ "optimizer": {
192
+ "type": "adam",
193
+ "lr": 0.0001,
194
+ "weight_decay": 1e-06,
195
+ "grad_clip_norm": 10.0,
196
+ "betas": [
197
+ 0.95,
198
+ 0.999
199
+ ],
200
+ "eps": 1e-08
201
+ },
202
+ "scheduler": {
203
+ "type": "diffuser",
204
+ "num_warmup_steps": 500,
205
+ "name": "cosine"
206
+ },
207
+ "eval": {
208
+ "n_episodes": 50,
209
+ "batch_size": 50,
210
+ "use_async_envs": false
211
+ },
212
+ "wandb": {
213
+ "enable": false,
214
+ "disable_artifact": false,
215
+ "project": "lerobot",
216
+ "entity": null,
217
+ "notes": null,
218
+ "run_id": null
219
+ }
220
+ }