kritokronos commited on
Commit
2a6ed16
·
verified ·
1 Parent(s): 147b1b8

Upload Diffusion Policy FC checkpoint at 80000 steps (3 views)

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