H2Ozone commited on
Commit
526ba72
·
verified ·
1 Parent(s): 791c8c1

Upload 3 files

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