Liyux commited on
Commit
1eb176d
·
verified ·
1 Parent(s): 8540dab

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "sfp",
3
+ "n_obs_steps": 10,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.top": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 240,
16
+ 320
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {
21
+ "action": {
22
+ "type": "ACTION",
23
+ "shape": [
24
+ 6
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda:0",
29
+ "use_amp": false,
30
+ "push_to_hub": false,
31
+ "repo_id": null,
32
+ "private": null,
33
+ "tags": null,
34
+ "license": null,
35
+ "pretrained_path": null,
36
+ "n_action_steps": 20,
37
+ "horizon": 50,
38
+ "k": 2.0,
39
+ "sigma_0": 1.0,
40
+ "integration_steps": 4,
41
+ "sin_embedding_scale": 100.0,
42
+ "use_smooth_velocity": true,
43
+ "smooth_window_length": 9,
44
+ "smooth_polyorder": 2,
45
+ "velocity_net_type": "unet_dp",
46
+ "time_embed_dim": 256,
47
+ "expand_dim": 512,
48
+ "bottleneck_dim": 128,
49
+ "hidden_dim": 512,
50
+ "n_layers": 4,
51
+ "vision_backbone": "resnet18",
52
+ "crop_shape": null,
53
+ "crop_is_random": true,
54
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
55
+ "use_group_norm": false,
56
+ "spatial_softmax_num_keypoints": 32,
57
+ "use_separate_rgb_encoder_per_camera": false,
58
+ "optimizer_lr": 0.0001,
59
+ "optimizer_betas": [
60
+ 0.95,
61
+ 0.999
62
+ ],
63
+ "optimizer_eps": 1e-08,
64
+ "optimizer_weight_decay": 1e-06,
65
+ "scheduler_name": "cosine",
66
+ "scheduler_warmup_steps": 500,
67
+ "normalization_mapping": {
68
+ "VISUAL": "MEAN_STD",
69
+ "STATE": "MIN_MAX",
70
+ "ACTION": "MIN_MAX"
71
+ }
72
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76e2bcff81c4b51b346ac7c470cbadd4f5e61910e02b670efa35c7b495a52df4
3
+ size 1106150288
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:a3c8e29b9072e6106d74adc08b71025f27743113dfc79601b5cf2e8370d1cd49
3
+ size 3256
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.top": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 240,
37
+ 320
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:a3c8e29b9072e6106d74adc08b71025f27743113dfc79601b5cf2e8370d1cd49
3
+ size 3256
train_config.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "/home/yuxianli/.cache/huggingface/lerobot/yuxianli/pusht_real_merged",
4
+ "root": null,
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.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
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "sfp",
85
+ "n_obs_steps": 10,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 6
91
+ ]
92
+ },
93
+ "observation.images.top": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 240,
98
+ 320
99
+ ]
100
+ }
101
+ },
102
+ "output_features": {
103
+ "action": {
104
+ "type": "ACTION",
105
+ "shape": [
106
+ 6
107
+ ]
108
+ }
109
+ },
110
+ "device": "cuda:0",
111
+ "use_amp": false,
112
+ "push_to_hub": false,
113
+ "repo_id": null,
114
+ "private": null,
115
+ "tags": null,
116
+ "license": null,
117
+ "pretrained_path": null,
118
+ "n_action_steps": 20,
119
+ "horizon": 50,
120
+ "k": 2.0,
121
+ "sigma_0": 1.0,
122
+ "integration_steps": 4,
123
+ "sin_embedding_scale": 100.0,
124
+ "use_smooth_velocity": true,
125
+ "smooth_window_length": 9,
126
+ "smooth_polyorder": 2,
127
+ "velocity_net_type": "unet_dp",
128
+ "time_embed_dim": 256,
129
+ "expand_dim": 512,
130
+ "bottleneck_dim": 128,
131
+ "hidden_dim": 512,
132
+ "n_layers": 4,
133
+ "vision_backbone": "resnet18",
134
+ "crop_shape": null,
135
+ "crop_is_random": true,
136
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
137
+ "use_group_norm": false,
138
+ "spatial_softmax_num_keypoints": 32,
139
+ "use_separate_rgb_encoder_per_camera": false,
140
+ "optimizer_lr": 0.0001,
141
+ "optimizer_betas": [
142
+ 0.95,
143
+ 0.999
144
+ ],
145
+ "optimizer_eps": 1e-08,
146
+ "optimizer_weight_decay": 1e-06,
147
+ "scheduler_name": "cosine",
148
+ "scheduler_warmup_steps": 500,
149
+ "normalization_mapping": {
150
+ "VISUAL": "MEAN_STD",
151
+ "STATE": "MIN_MAX",
152
+ "ACTION": "MIN_MAX"
153
+ }
154
+ },
155
+ "output_dir": "outputs/pusht_sfp_v14_h50_k2_sigma1",
156
+ "job_name": "sfp",
157
+ "resume": false,
158
+ "seed": 1000,
159
+ "num_workers": 4,
160
+ "batch_size": 32,
161
+ "steps": 50000,
162
+ "eval_freq": 20000,
163
+ "log_freq": 200,
164
+ "save_checkpoint": true,
165
+ "save_freq": 10000,
166
+ "use_policy_training_preset": true,
167
+ "optimizer": {
168
+ "type": "adam",
169
+ "lr": 0.0001,
170
+ "weight_decay": 1e-06,
171
+ "grad_clip_norm": 10.0,
172
+ "betas": [
173
+ 0.95,
174
+ 0.999
175
+ ],
176
+ "eps": 1e-08
177
+ },
178
+ "scheduler": {
179
+ "type": "diffuser",
180
+ "num_warmup_steps": 500,
181
+ "name": "cosine"
182
+ },
183
+ "eval": {
184
+ "n_episodes": 50,
185
+ "batch_size": 50,
186
+ "use_async_envs": false
187
+ },
188
+ "wandb": {
189
+ "enable": true,
190
+ "disable_artifact": false,
191
+ "project": "pusht_fyp",
192
+ "entity": null,
193
+ "notes": null,
194
+ "run_id": "warb3dev",
195
+ "mode": null
196
+ },
197
+ "checkpoint_path": null,
198
+ "rename_map": {}
199
+ }