jjr1007 commited on
Commit
50a0790
·
verified ·
1 Parent(s): 66b7364

Upload 7 files

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