Robotics
LeRobot
Safetensors
gap_policy
lambdavi commited on
Commit
89d672f
·
verified ·
1 Parent(s): 74bac36

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +163 -0
  2. config.json +124 -0
  3. model.safetensors +3 -0
  4. train_config.json +417 -0
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: lambdavi/StackCube_maniskill
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: gap_policy
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - robotics
10
+ - gap_policy
11
+ ---
12
+
13
+ # Model Card for gap_policy
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ This is a **gap_policy** policy trained with [LeRobot](https://github.com/huggingface/lerobot).
19
+
20
+
21
+
22
+
23
+ <!-- A short demo is worth more than any description! Record a GIF/video of the policy
24
+ running on your robot, upload it to this repo, and embed it here:
25
+ <p align="center">
26
+ <img src="https://huggingface.co/<hf_user>/<policy_repo_id>/resolve/main/demo.gif" width="60%"/>
27
+ </p>
28
+ -->
29
+
30
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
31
+
32
+ See the [full LeRobot documentation](https://huggingface.co/docs/lerobot/index).
33
+
34
+
35
+ ---
36
+
37
+ ## Model Details
38
+
39
+ - **License:** apache-2.0
40
+ - **Robot type:** `stackcube`
41
+ - **Cameras:** `base_camera`, `hand_camera`
42
+
43
+
44
+ ## Inputs & Outputs
45
+
46
+ The policy consumes these observation features and produces these action features.
47
+
48
+ **Inputs**
49
+
50
+ | Feature | Type | Shape |
51
+ | --- | --- | --- |
52
+ | `observation.state` | STATE | `(9,)` |
53
+ | `observation.images.base_camera` | VISUAL | `(3, 224, 224)` |
54
+ | `observation.images.hand_camera` | VISUAL | `(3, 224, 224)` |
55
+
56
+ **Outputs**
57
+
58
+ | Feature | Type | Shape |
59
+ | --- | --- | --- |
60
+ | `action` | ACTION | `(4,)` |
61
+
62
+
63
+ ## Training Dataset
64
+
65
+ - **Repository:** [lambdavi/StackCube_maniskill](https://huggingface.co/datasets/lambdavi/StackCube_maniskill)
66
+ - **Episodes:** 990
67
+ - **Frames:** 107420
68
+ - **Frame rate:** 30 FPS
69
+ - **Task(s):** "Stack the red cube on the green cube"
70
+
71
+ <a class="flex" href="https://huggingface.co/spaces/lerobot/visualize_dataset?path=lambdavi/StackCube_maniskill">
72
+ <img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl.svg"/>
73
+ <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/visualize-this-dataset-xl-dark.svg"/>
74
+ </a>
75
+
76
+
77
+ ## Training Configuration
78
+
79
+ | Setting | Value |
80
+ | --- | --- |
81
+ | Training steps | 20000 |
82
+ | Batch size | 16 |
83
+ | Optimizer | adam |
84
+ | Learning rate | 0.0001 |
85
+ | Seed | 1000 |
86
+ | LeRobot version | 0.5.2 |
87
+
88
+ ---
89
+
90
+ ## How to Get Started with the Model
91
+
92
+ New to LeRobot? These guides cover the full workflow:
93
+
94
+ - **[Install LeRobot](https://huggingface.co/docs/lerobot/main/en/installation)** — set up the `lerobot` package.
95
+ - **[Hardware setup](https://huggingface.co/docs/lerobot/main/en/hardware_guide)** — assemble, wire, and calibrate your robot and cameras.
96
+ - **[Record data & train a policy](https://huggingface.co/docs/lerobot/en/il_robots)** — the end-to-end imitation-learning walkthrough.
97
+ - **[CLI cheat-sheet](https://huggingface.co/docs/lerobot/main/en/cheat-sheet)** — quick reference for the `lerobot-*` commands.
98
+
99
+ The short version to run and train this policy:
100
+
101
+ ### Run the policy on your robot
102
+
103
+ ```bash
104
+ lerobot-rollout \
105
+ --strategy.type=base \
106
+ --robot.type=stackcube \
107
+ --robot.port=<your_robot_port> \
108
+ --robot.cameras="{ <camera_1>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}, <camera_2>: {type: opencv, index_or_path: <index_or_path>, width: 640, height: 480, fps: 30}}" \
109
+ --policy.path=lambdavi/afa_object_mani_sc \
110
+ --task="Stack the red cube on the green cube" \
111
+ --duration=60
112
+ ```
113
+
114
+ Replace the remaining `<...>` placeholders with your own values: `--robot.port` and the camera names/indices are specific to your machine, and the camera names must match the observation keys this policy was trained on.
115
+
116
+ When `--strategy.type=base` is used the script doesn't record the episodes. Skipping duration will make the policy run indefinitely. For more information look at [rollout documentation](https://huggingface.co/docs/lerobot/main/en/inference).
117
+
118
+ ### Train your own policy
119
+
120
+ ```bash
121
+ lerobot-train \
122
+ --dataset.repo_id=${HF_USER}/<dataset> \
123
+ --policy.type=gap_policy \
124
+ --output_dir=outputs/train/<policy_repo_id> \
125
+ --job_name=lerobot_training \
126
+ --policy.device=cuda \
127
+ --policy.repo_id=${HF_USER}/<policy_repo_id> \
128
+ --wandb.enable=true
129
+ ```
130
+
131
+ _Writes checkpoints to `outputs/train/<policy_repo_id>/checkpoints/`._
132
+
133
+ ---
134
+
135
+ ## Evaluation
136
+
137
+ <!-- Report real-robot results here: run the policy several times per task and count the
138
+ successes. Delete the "No evaluation results" line and fill in this table instead:
139
+
140
+ | Task | Trials | Successes | Success rate |
141
+ | ---- | ------ | --------- | ------------ |
142
+ | pick the lego brick | 10 | 8 | 80% |
143
+
144
+ Also worth noting: anything that affects difficulty (new object positions, lighting,
145
+ distractors, a different robot of the same type, ...).
146
+ -->
147
+
148
+ _No evaluation results have been provided for this policy yet._
149
+
150
+ ---
151
+
152
+ ## Citation
153
+
154
+ If you use this policy, please cite the method linked in the description above, along with LeRobot:
155
+
156
+ ```bibtex
157
+ @misc{cadene2024lerobot,
158
+ author = {Cadene, Remi and Alibert, Simon and Soare, Alexander and Gallouedec, Quentin and Zouitine, Adil and Palma, Steven and Kooijmans, Pepijn and Aractingi, Michel and Shukor, Mustafa and Aubakirova, Dana and Russi, Martino and Capuano, Francesco and Pascal, Caroline and Choghari, Jade and Moss, Jess and Wolf, Thomas},
159
+ title = {LeRobot: State-of-the-art Machine Learning for Real-World Robotics in Pytorch},
160
+ howpublished = "\url{https://github.com/huggingface/lerobot}",
161
+ year = {2024}
162
+ }
163
+ ```
config.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "gap_policy",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 9
9
+ ]
10
+ },
11
+ "observation.images.base_camera": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 224,
16
+ 224
17
+ ]
18
+ },
19
+ "observation.images.hand_camera": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 224,
24
+ 224
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 4
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "lambdavi/afa_object_mani_sc",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "horizon": 64,
46
+ "n_action_steps": 32,
47
+ "normalization_mapping": {
48
+ "VISUAL": "IDENTITY",
49
+ "STATE": "MIN_MAX",
50
+ "ACTION": "MIN_MAX"
51
+ },
52
+ "drop_n_last_frames": 7,
53
+ "use_gap_vision_encoder": true,
54
+ "vision_model": "dino_v3",
55
+ "fusion_mode": "late",
56
+ "separate_camera_weights": true,
57
+ "fuse_cameras_strategy": "cat",
58
+ "visual_feature_dim_per_camera": 128,
59
+ "freeze_backbone": true,
60
+ "pretrained_encoder": true,
61
+ "pretrain_model": null,
62
+ "vit_normalize_input": true,
63
+ "vit_upsample_first": true,
64
+ "vision_backbone": "resnet18",
65
+ "resize_shape": null,
66
+ "crop_ratio": 1.0,
67
+ "crop_shape": null,
68
+ "crop_is_random": true,
69
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
70
+ "use_group_norm": false,
71
+ "use_spatial_softmax": true,
72
+ "spatial_softmax_strategy": "afa_object_v2",
73
+ "spatial_softmax_num_keypoints": 32,
74
+ "spatial_softmax_temperature": 1.0,
75
+ "target_map_size": [
76
+ 32,
77
+ 32
78
+ ],
79
+ "use_post_adapter": false,
80
+ "use_transformer": false,
81
+ "transformer_num_heads": 4,
82
+ "transformer_hidden_dim": 128,
83
+ "transformer_num_layers": 1,
84
+ "afa_num_heads": 12,
85
+ "afa_object_latent_dim": 8,
86
+ "afa_object_top_k_ratio": 1.0,
87
+ "afa_use_2d_positional_priors": false,
88
+ "post_adapter_last_act": false,
89
+ "post_adapter_layer_norm": false,
90
+ "use_separate_rgb_encoder_per_camera": true,
91
+ "down_dims": [
92
+ 64,
93
+ 128,
94
+ 256
95
+ ],
96
+ "kernel_size": 5,
97
+ "n_groups": 8,
98
+ "diffusion_step_embed_dim": 128,
99
+ "use_film_scale_modulation": true,
100
+ "use_unet_cross_attention": false,
101
+ "unet_cross_attention_num_heads": 4,
102
+ "use_unet_cross_attention_temporal_embed": false,
103
+ "noise_scheduler_type": "DDPM",
104
+ "num_train_timesteps": 100,
105
+ "beta_schedule": "squaredcos_cap_v2",
106
+ "beta_start": 0.0001,
107
+ "beta_end": 0.02,
108
+ "prediction_type": "epsilon",
109
+ "clip_sample": true,
110
+ "clip_sample_range": 1.0,
111
+ "num_inference_steps": null,
112
+ "compile_model": false,
113
+ "compile_mode": "reduce-overhead",
114
+ "do_mask_loss_for_padding": false,
115
+ "optimizer_lr": 0.0001,
116
+ "optimizer_betas": [
117
+ 0.95,
118
+ 0.999
119
+ ],
120
+ "optimizer_eps": 1e-08,
121
+ "optimizer_weight_decay": 1e-06,
122
+ "scheduler_name": "cosine",
123
+ "scheduler_warmup_steps": 500
124
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1a131b99ad933d2d22237a10bb035af9cedba502f146afbb16ee05d9dec0d2c
3
+ size 152000952
train_config.json ADDED
@@ -0,0 +1,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "lambdavi/StackCube_maniskill",
4
+ "root": null,
5
+ "episodes": [
6
+ 0,
7
+ 1,
8
+ 2,
9
+ 3,
10
+ 4,
11
+ 5,
12
+ 6,
13
+ 7,
14
+ 8,
15
+ 9,
16
+ 10,
17
+ 11,
18
+ 12,
19
+ 13,
20
+ 14,
21
+ 15,
22
+ 16,
23
+ 17,
24
+ 18,
25
+ 19,
26
+ 20,
27
+ 21,
28
+ 22,
29
+ 23,
30
+ 24,
31
+ 25,
32
+ 26,
33
+ 27,
34
+ 28,
35
+ 29,
36
+ 30,
37
+ 31,
38
+ 32,
39
+ 33,
40
+ 34,
41
+ 35,
42
+ 36,
43
+ 37,
44
+ 38,
45
+ 39,
46
+ 40,
47
+ 41,
48
+ 42,
49
+ 43,
50
+ 44,
51
+ 45,
52
+ 46,
53
+ 47,
54
+ 48,
55
+ 49,
56
+ 50,
57
+ 51,
58
+ 52,
59
+ 53,
60
+ 54,
61
+ 55,
62
+ 56,
63
+ 57,
64
+ 58,
65
+ 59,
66
+ 60,
67
+ 61,
68
+ 62,
69
+ 63,
70
+ 64,
71
+ 65,
72
+ 66,
73
+ 67,
74
+ 68,
75
+ 69,
76
+ 70,
77
+ 71,
78
+ 72,
79
+ 73,
80
+ 74,
81
+ 75,
82
+ 76,
83
+ 77,
84
+ 78,
85
+ 79,
86
+ 80,
87
+ 81,
88
+ 82,
89
+ 83,
90
+ 84,
91
+ 85,
92
+ 86,
93
+ 87,
94
+ 88,
95
+ 89,
96
+ 90,
97
+ 91,
98
+ 92,
99
+ 93,
100
+ 94,
101
+ 95,
102
+ 96,
103
+ 97,
104
+ 98,
105
+ 99
106
+ ],
107
+ "image_transforms": {
108
+ "enable": false,
109
+ "max_num_transforms": 3,
110
+ "random_order": false,
111
+ "tfs": {
112
+ "brightness": {
113
+ "weight": 1.0,
114
+ "type": "ColorJitter",
115
+ "kwargs": {
116
+ "brightness": [
117
+ 0.8,
118
+ 1.2
119
+ ]
120
+ }
121
+ },
122
+ "contrast": {
123
+ "weight": 1.0,
124
+ "type": "ColorJitter",
125
+ "kwargs": {
126
+ "contrast": [
127
+ 0.8,
128
+ 1.2
129
+ ]
130
+ }
131
+ },
132
+ "saturation": {
133
+ "weight": 1.0,
134
+ "type": "ColorJitter",
135
+ "kwargs": {
136
+ "saturation": [
137
+ 0.5,
138
+ 1.5
139
+ ]
140
+ }
141
+ },
142
+ "hue": {
143
+ "weight": 1.0,
144
+ "type": "ColorJitter",
145
+ "kwargs": {
146
+ "hue": [
147
+ -0.05,
148
+ 0.05
149
+ ]
150
+ }
151
+ },
152
+ "sharpness": {
153
+ "weight": 1.0,
154
+ "type": "SharpnessJitter",
155
+ "kwargs": {
156
+ "sharpness": [
157
+ 0.5,
158
+ 1.5
159
+ ]
160
+ }
161
+ },
162
+ "affine": {
163
+ "weight": 1.0,
164
+ "type": "RandomAffine",
165
+ "kwargs": {
166
+ "degrees": [
167
+ -5.0,
168
+ 5.0
169
+ ],
170
+ "translate": [
171
+ 0.05,
172
+ 0.05
173
+ ]
174
+ }
175
+ }
176
+ }
177
+ },
178
+ "revision": null,
179
+ "use_imagenet_stats": true,
180
+ "video_backend": "pyav",
181
+ "return_uint8": false,
182
+ "streaming": false
183
+ },
184
+ "env": {
185
+ "type": "maniskill",
186
+ "task": "StackCube-v1",
187
+ "fps": 30,
188
+ "features": {
189
+ "action": {
190
+ "type": "ACTION",
191
+ "shape": [
192
+ 6
193
+ ]
194
+ },
195
+ "agent_pos": {
196
+ "type": "STATE",
197
+ "shape": [
198
+ 6
199
+ ]
200
+ },
201
+ "pixels/base_camera": {
202
+ "type": "VISUAL",
203
+ "shape": [
204
+ 224,
205
+ 224,
206
+ 3
207
+ ]
208
+ },
209
+ "pixels/hand_camera": {
210
+ "type": "VISUAL",
211
+ "shape": [
212
+ 224,
213
+ 224,
214
+ 3
215
+ ]
216
+ }
217
+ },
218
+ "features_map": {
219
+ "action": "action",
220
+ "agent_pos": "observation.state",
221
+ "pixels/base_camera": "observation.images.base_camera",
222
+ "pixels/hand_camera": "observation.images.hand_camera"
223
+ },
224
+ "max_parallel_tasks": 1,
225
+ "disable_env_checker": true,
226
+ "obs_mode": "rgb",
227
+ "control_mode": "pd_ee_delta_pos",
228
+ "sim_backend": "physx_cpu",
229
+ "render_mode": "rgb_array",
230
+ "max_episode_steps": 250,
231
+ "camera_keys": "base_camera,hand_camera",
232
+ "image_size": [
233
+ 224,
234
+ 224
235
+ ],
236
+ "action_dim": 6,
237
+ "state_dim": 6
238
+ },
239
+ "policy": {
240
+ "type": "gap_policy",
241
+ "n_obs_steps": 2,
242
+ "input_features": {
243
+ "observation.state": {
244
+ "type": "STATE",
245
+ "shape": [
246
+ 9
247
+ ]
248
+ },
249
+ "observation.images.base_camera": {
250
+ "type": "VISUAL",
251
+ "shape": [
252
+ 3,
253
+ 224,
254
+ 224
255
+ ]
256
+ },
257
+ "observation.images.hand_camera": {
258
+ "type": "VISUAL",
259
+ "shape": [
260
+ 3,
261
+ 224,
262
+ 224
263
+ ]
264
+ }
265
+ },
266
+ "output_features": {
267
+ "action": {
268
+ "type": "ACTION",
269
+ "shape": [
270
+ 4
271
+ ]
272
+ }
273
+ },
274
+ "device": "cuda",
275
+ "use_amp": false,
276
+ "use_peft": false,
277
+ "push_to_hub": true,
278
+ "repo_id": "lambdavi/afa_object_mani_sc",
279
+ "private": null,
280
+ "tags": null,
281
+ "license": null,
282
+ "pretrained_path": null,
283
+ "horizon": 64,
284
+ "n_action_steps": 32,
285
+ "normalization_mapping": {
286
+ "VISUAL": "IDENTITY",
287
+ "STATE": "MIN_MAX",
288
+ "ACTION": "MIN_MAX"
289
+ },
290
+ "drop_n_last_frames": 7,
291
+ "use_gap_vision_encoder": true,
292
+ "vision_model": "dino_v3",
293
+ "fusion_mode": "late",
294
+ "separate_camera_weights": true,
295
+ "fuse_cameras_strategy": "cat",
296
+ "visual_feature_dim_per_camera": 128,
297
+ "freeze_backbone": true,
298
+ "pretrained_encoder": true,
299
+ "pretrain_model": null,
300
+ "vit_normalize_input": true,
301
+ "vit_upsample_first": true,
302
+ "vision_backbone": "resnet18",
303
+ "resize_shape": null,
304
+ "crop_ratio": 1.0,
305
+ "crop_shape": null,
306
+ "crop_is_random": true,
307
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
308
+ "use_group_norm": false,
309
+ "use_spatial_softmax": true,
310
+ "spatial_softmax_strategy": "afa_object_v2",
311
+ "spatial_softmax_num_keypoints": 32,
312
+ "spatial_softmax_temperature": 1.0,
313
+ "target_map_size": [
314
+ 32,
315
+ 32
316
+ ],
317
+ "use_post_adapter": false,
318
+ "use_transformer": false,
319
+ "transformer_num_heads": 4,
320
+ "transformer_hidden_dim": 128,
321
+ "transformer_num_layers": 1,
322
+ "afa_num_heads": 12,
323
+ "afa_object_latent_dim": 8,
324
+ "afa_object_top_k_ratio": 1.0,
325
+ "afa_use_2d_positional_priors": false,
326
+ "post_adapter_last_act": false,
327
+ "post_adapter_layer_norm": false,
328
+ "use_separate_rgb_encoder_per_camera": true,
329
+ "down_dims": [
330
+ 64,
331
+ 128,
332
+ 256
333
+ ],
334
+ "kernel_size": 5,
335
+ "n_groups": 8,
336
+ "diffusion_step_embed_dim": 128,
337
+ "use_film_scale_modulation": true,
338
+ "use_unet_cross_attention": false,
339
+ "unet_cross_attention_num_heads": 4,
340
+ "use_unet_cross_attention_temporal_embed": false,
341
+ "noise_scheduler_type": "DDPM",
342
+ "num_train_timesteps": 100,
343
+ "beta_schedule": "squaredcos_cap_v2",
344
+ "beta_start": 0.0001,
345
+ "beta_end": 0.02,
346
+ "prediction_type": "epsilon",
347
+ "clip_sample": true,
348
+ "clip_sample_range": 1.0,
349
+ "num_inference_steps": null,
350
+ "compile_model": false,
351
+ "compile_mode": "reduce-overhead",
352
+ "do_mask_loss_for_padding": false,
353
+ "optimizer_lr": 0.0001,
354
+ "optimizer_betas": [
355
+ 0.95,
356
+ 0.999
357
+ ],
358
+ "optimizer_eps": 1e-08,
359
+ "optimizer_weight_decay": 1e-06,
360
+ "scheduler_name": "cosine",
361
+ "scheduler_warmup_steps": 500
362
+ },
363
+ "reward_model": null,
364
+ "output_dir": "outputs/train/afa_d1782316388",
365
+ "job_name": "afa_objv2_1782316388",
366
+ "resume": false,
367
+ "seed": 1000,
368
+ "cudnn_deterministic": false,
369
+ "num_workers": 1,
370
+ "batch_size": 16,
371
+ "prefetch_factor": 4,
372
+ "persistent_workers": true,
373
+ "steps": 20000,
374
+ "eval_freq": 1000,
375
+ "log_freq": 200,
376
+ "keypoint_viz_freq": 2000,
377
+ "tolerance_s": 0.0001,
378
+ "save_checkpoint": true,
379
+ "save_freq": 5000,
380
+ "save_best_checkpoint": true,
381
+ "use_policy_training_preset": true,
382
+ "optimizer": {
383
+ "type": "adam",
384
+ "lr": 0.0001,
385
+ "weight_decay": 1e-06,
386
+ "grad_clip_norm": 10.0,
387
+ "betas": [
388
+ 0.95,
389
+ 0.999
390
+ ],
391
+ "eps": 1e-08
392
+ },
393
+ "scheduler": {
394
+ "type": "diffuser",
395
+ "num_warmup_steps": 500,
396
+ "name": "cosine"
397
+ },
398
+ "eval": {
399
+ "n_episodes": 10,
400
+ "batch_size": 1,
401
+ "use_async_envs": true
402
+ },
403
+ "wandb": {
404
+ "enable": true,
405
+ "disable_artifact": false,
406
+ "project": "mani_lerobot_sc",
407
+ "entity": null,
408
+ "notes": null,
409
+ "run_id": "3tf2irmp",
410
+ "mode": null,
411
+ "add_tags": true
412
+ },
413
+ "peft": null,
414
+ "sample_weighting": null,
415
+ "rename_map": {},
416
+ "checkpoint_path": null
417
+ }