Robotics
LeRobot
Safetensors
lite
peeeeeter commited on
Commit
5ba5829
·
verified ·
1 Parent(s): 6d85a3d

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +79 -0
  3. model.safetensors +3 -0
  4. train_config.json +302 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: IPEC-COMMUNITY/libero_goal_no_noops_1.0.0_lerobot
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: lite
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lite
9
+ - robotics
10
+ - lerobot
11
+ ---
12
+
13
+ # Model Card for lite
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ _Model type not recognized — please update this template._
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "lite",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.wrist_image": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 256,
9
+ 256,
10
+ 3
11
+ ]
12
+ },
13
+ "observation.images.image": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 256,
17
+ 256,
18
+ 3
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 8
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "push_to_hub": true,
39
+ "repo_id": "peeeeeter/libero_test",
40
+ "private": null,
41
+ "tags": null,
42
+ "license": null,
43
+ "pretrained_path": null,
44
+ "chunk_size": 100,
45
+ "n_action_steps": 100,
46
+ "normalization_mapping": {
47
+ "VISUAL": "IDENTITY",
48
+ "STATE": "MEAN_STD",
49
+ "ACTION": "MEAN_STD"
50
+ },
51
+ "vision_backbone": "resnet18",
52
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
53
+ "replace_final_stride_with_dilation": false,
54
+ "pre_norm": false,
55
+ "dim_model": 512,
56
+ "n_heads": 8,
57
+ "dim_feedforward": 3200,
58
+ "feedforward_activation": "relu",
59
+ "n_encoder_layers": 4,
60
+ "decoder_type": "mlp",
61
+ "diffusion_steps": 10,
62
+ "n_decoder_layers": 1,
63
+ "use_vae": true,
64
+ "latent_dim": 32,
65
+ "n_vae_encoder_layers": 4,
66
+ "temporal_ensemble_coeff": null,
67
+ "dropout": 0.1,
68
+ "kl_weight": 10.0,
69
+ "diffusion_loss_weight": 1.0,
70
+ "diff_hidden_dim": 128,
71
+ "use_language": true,
72
+ "language_fusion": "late",
73
+ "language_model_type": "qwen",
74
+ "freeze_language_model": true,
75
+ "freeze_image_model": false,
76
+ "optimizer_lr": 1e-05,
77
+ "optimizer_weight_decay": 0.0001,
78
+ "optimizer_lr_backbone": 1e-05
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b56f043d73e8bb37bb3556c7bc1e1208e01c46eb9c37f44d085f405c16d8ccd4
3
+ size 2184717220
train_config.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "IPEC-COMMUNITY/libero_goal_no_noops_1.0.0_lerobot",
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
+ "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": {
83
+ "type": "libero",
84
+ "task": "libero_goal",
85
+ "fps": 30,
86
+ "features": {
87
+ "action": {
88
+ "type": "ACTION",
89
+ "shape": [
90
+ 7
91
+ ]
92
+ },
93
+ "pixels/agentview_image": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 360,
97
+ 360,
98
+ 3
99
+ ]
100
+ },
101
+ "pixels/robot0_eye_in_hand_image": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 360,
105
+ 360,
106
+ 3
107
+ ]
108
+ },
109
+ "robot_state/eef/pos": {
110
+ "type": "STATE",
111
+ "shape": [
112
+ 3
113
+ ]
114
+ },
115
+ "robot_state/eef/quat": {
116
+ "type": "STATE",
117
+ "shape": [
118
+ 4
119
+ ]
120
+ },
121
+ "robot_state/eef/mat": {
122
+ "type": "STATE",
123
+ "shape": [
124
+ 3,
125
+ 3
126
+ ]
127
+ },
128
+ "robot_state/gripper/qpos": {
129
+ "type": "STATE",
130
+ "shape": [
131
+ 2
132
+ ]
133
+ },
134
+ "robot_state/gripper/qvel": {
135
+ "type": "STATE",
136
+ "shape": [
137
+ 2
138
+ ]
139
+ },
140
+ "robot_state/joints/pos": {
141
+ "type": "STATE",
142
+ "shape": [
143
+ 7
144
+ ]
145
+ },
146
+ "robot_state/joints/vel": {
147
+ "type": "STATE",
148
+ "shape": [
149
+ 7
150
+ ]
151
+ }
152
+ },
153
+ "features_map": {
154
+ "action": "action",
155
+ "robot_state/eef/pos": "observation.state.eef_pos",
156
+ "robot_state/eef/quat": "observation.state.eef_quat",
157
+ "robot_state/eef/mat": "observation.state.eef_mat",
158
+ "robot_state/gripper/qpos": "observation.state.gripper_qpos",
159
+ "robot_state/gripper/qvel": "observation.state.gripper_qvel",
160
+ "robot_state/joints/pos": "observation.state.joint_pos",
161
+ "robot_state/joints/vel": "observation.state.joint_vel",
162
+ "pixels/agentview_image": "observation.images.image",
163
+ "pixels/robot0_eye_in_hand_image": "observation.images.image2"
164
+ },
165
+ "max_parallel_tasks": 1,
166
+ "disable_env_checker": true,
167
+ "episode_length": null,
168
+ "obs_type": "pixels_agent_pos",
169
+ "render_mode": "rgb_array",
170
+ "camera_name": "agentview_image,robot0_eye_in_hand_image",
171
+ "init_states": true,
172
+ "camera_name_mapping": null,
173
+ "observation_height": 360,
174
+ "observation_width": 360,
175
+ "control_mode": "relative"
176
+ },
177
+ "policy": {
178
+ "type": "lite",
179
+ "n_obs_steps": 1,
180
+ "input_features": {
181
+ "observation.images.wrist_image": {
182
+ "type": "VISUAL",
183
+ "shape": [
184
+ 256,
185
+ 256,
186
+ 3
187
+ ]
188
+ },
189
+ "observation.images.image": {
190
+ "type": "VISUAL",
191
+ "shape": [
192
+ 256,
193
+ 256,
194
+ 3
195
+ ]
196
+ },
197
+ "observation.state": {
198
+ "type": "STATE",
199
+ "shape": [
200
+ 8
201
+ ]
202
+ }
203
+ },
204
+ "output_features": {
205
+ "action": {
206
+ "type": "ACTION",
207
+ "shape": [
208
+ 7
209
+ ]
210
+ }
211
+ },
212
+ "device": "cuda",
213
+ "use_amp": false,
214
+ "push_to_hub": true,
215
+ "repo_id": "peeeeeter/libero_test",
216
+ "private": null,
217
+ "tags": null,
218
+ "license": null,
219
+ "pretrained_path": null,
220
+ "chunk_size": 100,
221
+ "n_action_steps": 100,
222
+ "normalization_mapping": {
223
+ "VISUAL": "IDENTITY",
224
+ "STATE": "MEAN_STD",
225
+ "ACTION": "MEAN_STD"
226
+ },
227
+ "vision_backbone": "resnet18",
228
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
229
+ "replace_final_stride_with_dilation": false,
230
+ "pre_norm": false,
231
+ "dim_model": 512,
232
+ "n_heads": 8,
233
+ "dim_feedforward": 3200,
234
+ "feedforward_activation": "relu",
235
+ "n_encoder_layers": 4,
236
+ "decoder_type": "mlp",
237
+ "diffusion_steps": 10,
238
+ "n_decoder_layers": 1,
239
+ "use_vae": true,
240
+ "latent_dim": 32,
241
+ "n_vae_encoder_layers": 4,
242
+ "temporal_ensemble_coeff": null,
243
+ "dropout": 0.1,
244
+ "kl_weight": 10.0,
245
+ "diffusion_loss_weight": 1.0,
246
+ "diff_hidden_dim": 128,
247
+ "use_language": true,
248
+ "language_fusion": "late",
249
+ "language_model_type": "qwen",
250
+ "freeze_language_model": true,
251
+ "freeze_image_model": false,
252
+ "optimizer_lr": 1e-05,
253
+ "optimizer_weight_decay": 0.0001,
254
+ "optimizer_lr_backbone": 1e-05
255
+ },
256
+ "output_dir": "outputs/lite_libero_goal",
257
+ "job_name": "libero_lite",
258
+ "resume": false,
259
+ "seed": 1000,
260
+ "num_workers": 4,
261
+ "batch_size": 4,
262
+ "steps": 300000,
263
+ "eval_freq": 100000,
264
+ "log_freq": 200,
265
+ "tolerance_s": 0.0001,
266
+ "save_checkpoint": true,
267
+ "save_freq": 20000,
268
+ "use_policy_training_preset": true,
269
+ "optimizer": {
270
+ "type": "adamw",
271
+ "lr": 1e-05,
272
+ "weight_decay": 0.0001,
273
+ "grad_clip_norm": 10.0,
274
+ "betas": [
275
+ 0.9,
276
+ 0.999
277
+ ],
278
+ "eps": 1e-08
279
+ },
280
+ "scheduler": null,
281
+ "eval": {
282
+ "n_episodes": 1,
283
+ "batch_size": 1,
284
+ "use_async_envs": false
285
+ },
286
+ "wandb": {
287
+ "enable": false,
288
+ "disable_artifact": false,
289
+ "project": "lerobot",
290
+ "entity": null,
291
+ "notes": null,
292
+ "run_id": null,
293
+ "mode": null
294
+ },
295
+ "use_rabc": false,
296
+ "rabc_progress_path": null,
297
+ "rabc_kappa": 0.01,
298
+ "rabc_epsilon": 1e-06,
299
+ "rabc_head_mode": "sparse",
300
+ "rename_map": {},
301
+ "checkpoint_path": null
302
+ }