jclinton1 commited on
Commit
f133fa5
·
verified ·
1 Parent(s): 7178d96

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +13 -0
  2. config.json +85 -0
  3. model.safetensors +3 -0
  4. train_config.json +197 -0
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: lerobot
3
+ tags:
4
+ - diffusion-policy
5
+ - model_hub_mixin
6
+ - pytorch_model_hub_mixin
7
+ - robotics
8
+ ---
9
+
10
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
11
+ - Code: https://github.com/huggingface/lerobot
12
+ - Paper: [More Information Needed]
13
+ - Docs: [More Information Needed]
config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "beta_end": 0.02,
3
+ "beta_schedule": "squaredcos_cap_v2",
4
+ "beta_start": 0.0001,
5
+ "clip_sample": true,
6
+ "clip_sample_range": 1.0,
7
+ "crop_is_random": true,
8
+ "crop_shape": [
9
+ 84,
10
+ 84
11
+ ],
12
+ "device": "cuda",
13
+ "diffusion_step_embed_dim": 128,
14
+ "do_mask_loss_for_padding": false,
15
+ "down_dims": [
16
+ 512,
17
+ 1024,
18
+ 2048
19
+ ],
20
+ "drop_n_last_frames": 7,
21
+ "horizon": 16,
22
+ "input_features": {
23
+ "observation.images.webcam": {
24
+ "shape": [
25
+ 3,
26
+ 480,
27
+ 640
28
+ ],
29
+ "type": "VISUAL"
30
+ },
31
+ "observation.images.wrist": {
32
+ "shape": [
33
+ 3,
34
+ 480,
35
+ 640
36
+ ],
37
+ "type": "VISUAL"
38
+ },
39
+ "observation.state": {
40
+ "shape": [
41
+ 6
42
+ ],
43
+ "type": "STATE"
44
+ }
45
+ },
46
+ "kernel_size": 5,
47
+ "n_action_steps": 8,
48
+ "n_groups": 8,
49
+ "n_obs_steps": 2,
50
+ "noise_scheduler_type": "DDPM",
51
+ "normalization_mapping": {
52
+ "ACTION": "MIN_MAX",
53
+ "STATE": "MIN_MAX",
54
+ "VISUAL": "MEAN_STD"
55
+ },
56
+ "num_inference_steps": null,
57
+ "num_train_timesteps": 100,
58
+ "optimizer_betas": [
59
+ 0.95,
60
+ 0.999
61
+ ],
62
+ "optimizer_eps": 1e-08,
63
+ "optimizer_lr": 0.0001,
64
+ "optimizer_weight_decay": 1e-06,
65
+ "output_features": {
66
+ "action": {
67
+ "shape": [
68
+ 6
69
+ ],
70
+ "type": "ACTION"
71
+ }
72
+ },
73
+ "prediction_type": "epsilon",
74
+ "pretrained_backbone_weights": null,
75
+ "scheduler_name": "cosine",
76
+ "scheduler_warmup_steps": 500,
77
+ "spatial_softmax_num_keypoints": 32,
78
+ "training_noise_sampling": "uniform",
79
+ "use_amp": false,
80
+ "use_film_scale_modulation": true,
81
+ "use_flow_matching": true,
82
+ "use_group_norm": true,
83
+ "use_separate_rgb_encoder_per_camera": false,
84
+ "vision_backbone": "resnet18"
85
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fce238d4802bdc640ab0c1dbbb834cbb6449ec7549f5655c8ea411f93d52f03
3
+ size 1066517736
train_config.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "jclinton1/wedgit_stack_single_dual_cam_v3",
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": "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.state": {
78
+ "type": "STATE",
79
+ "shape": [
80
+ 6
81
+ ]
82
+ },
83
+ "observation.images.wrist": {
84
+ "type": "VISUAL",
85
+ "shape": [
86
+ 3,
87
+ 480,
88
+ 640
89
+ ]
90
+ },
91
+ "observation.images.webcam": {
92
+ "type": "VISUAL",
93
+ "shape": [
94
+ 3,
95
+ 480,
96
+ 640
97
+ ]
98
+ }
99
+ },
100
+ "output_features": {
101
+ "action": {
102
+ "type": "ACTION",
103
+ "shape": [
104
+ 6
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
+ "training_noise_sampling": "uniform",
141
+ "use_flow_matching": true,
142
+ "num_inference_steps": null,
143
+ "do_mask_loss_for_padding": false,
144
+ "optimizer_lr": 0.0001,
145
+ "optimizer_betas": [
146
+ 0.95,
147
+ 0.999
148
+ ],
149
+ "optimizer_eps": 1e-08,
150
+ "optimizer_weight_decay": 1e-06,
151
+ "scheduler_name": "cosine",
152
+ "scheduler_warmup_steps": 500
153
+ },
154
+ "output_dir": "outputs/train/wedgit_stack_single_diffusion2",
155
+ "job_name": "diffusion2",
156
+ "resume": false,
157
+ "seed": 1000,
158
+ "num_workers": 4,
159
+ "batch_size": 8,
160
+ "steps": 200000,
161
+ "eval_freq": 20000,
162
+ "validation_freq": 400,
163
+ "log_freq": 200,
164
+ "save_checkpoint": true,
165
+ "save_freq": 20000,
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": "wedgit_stack_single",
192
+ "entity": null,
193
+ "notes": null,
194
+ "run_id": null,
195
+ "mode": null
196
+ }
197
+ }