iFaz commited on
Commit
0618655
·
verified ·
1 Parent(s): dfbc84a

Upload policy weights, train config and readme

Browse files
Files changed (3) hide show
  1. README.md +36 -60
  2. model.safetensors +1 -1
  3. train_config.json +4 -4
README.md CHANGED
@@ -1,86 +1,62 @@
1
  ---
2
- datasets:
3
- - lerobot/aloha_sim_transfer_cube_human
4
- language: en
5
  library_name: lerobot
6
  license: apache-2.0
 
 
7
  tags:
8
- - robotics
9
- - imitation-learning
10
  - diffusion
11
- - mujoco
12
- - pytorch_model_hub_mixin
13
  ---
14
 
15
- # DIFFUSION Policy diffusion_aloha_transfer_cube_seed42
16
-
17
- Trained with [LeRobot](https://github.com/huggingface/lerobot).
18
- Date: `2026-05-14 11:05`
19
- Policy type: `diffusion` | Device: `cuda`
20
-
21
- ---
22
 
23
- ## 📦 Dataset
24
 
25
- | Parameter | Value |
26
- |---|---|
27
- | `dataset.repo_id` | `lerobot/aloha_sim_transfer_cube_human` |
28
 
29
- ---
30
 
31
- ## 🏋️ Training Config
32
 
33
- | Parameter | Value |
34
- |---|---|
35
- | `steps` | `5` |
36
- | `batch_size` | `8` |
37
- | `eval_freq` | `2` |
38
- | `save_freq` | `1` |
39
- | `num_workers` | `4` |
40
- | `seed` | `42` |
41
- | `eval.n_episodes` | `2` |
42
- | `eval.batch_size` | `10` |
43
 
44
  ---
45
 
46
- ## 📐 Policy Architecture
47
 
48
- _All defaults no overrides applied._
 
49
 
50
- ---
51
 
52
- ## 🎯 Eval Config
 
 
 
 
 
 
 
 
 
53
 
54
- | Parameter | Value |
55
- |---|---|
56
- | `env.type` | `aloha` |
57
- | `env.task` | `AlohaTransferCube-v0` |
58
- | `eval.n_episodes` | `5` |
59
- | `eval.batch_size` | `1` |
60
- | `eval.use_async_envs` | `False` |
61
- | `policy.path` | `/kaggle/working/outputs/train/aloha_transfer_cube_seed42/checkpoints/last/pretrained_model` |
62
 
63
- ---
64
 
65
- ## 📊 Eval Results
 
 
 
 
 
 
66
 
67
- | Metric | Value |
68
- |---|---|
69
- | Episodes | `5` |
70
- | Success rate | `20.0%` |
71
- | Avg sum reward | `1.00` |
72
- | Avg max reward | `1.00` |
73
- | Eval time (s) | `612.5` |
74
 
75
  ---
76
 
77
- ## Citation
78
 
79
- ```bibtex
80
- @misc{cadene2024lerobot,
81
- author = {Cadene, Remi and Alibert, Simon and others},
82
- title = {LeRobot},
83
- year = {2024},
84
- url = {https://github.com/huggingface/lerobot}
85
- }
86
- ```
 
1
  ---
2
+ datasets: lerobot/aloha_sim_transfer_cube_human
 
 
3
  library_name: lerobot
4
  license: apache-2.0
5
+ model_name: diffusion
6
+ pipeline_tag: robotics
7
  tags:
 
 
8
  - diffusion
9
+ - robotics
10
+ - lerobot
11
  ---
12
 
13
+ # Model Card for diffusion
 
 
 
 
 
 
14
 
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
 
 
 
 
17
 
18
+ [Diffusion Policy](https://huggingface.co/papers/2303.04137) treats visuomotor control as a generative diffusion process, producing smooth, multi-step action trajectories that excel at contact-rich manipulation.
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
 
 
 
 
 
 
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c02d395be4a52d0c15a05355a0b3b553dbb8346d64bddfd2b9e5268dce8d130d
3
  size 1053834112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c88cc528f54dbaf72bb9d93a6b6863c55dbdac62984bc4562e5cab1b184306
3
  size 1053834112
train_config.json CHANGED
@@ -199,17 +199,17 @@
199
  "name": "cosine"
200
  },
201
  "eval": {
202
- "n_episodes": 2,
203
- "batch_size": 2,
204
  "use_async_envs": true
205
  },
206
  "wandb": {
207
  "enable": true,
208
  "disable_artifact": false,
209
- "project": "UADP-baselines-tmp",
210
  "entity": null,
211
  "notes": null,
212
- "run_id": "diffusion_aloha_transfer_cube_seed42",
213
  "mode": null,
214
  "add_tags": true
215
  },
 
199
  "name": "cosine"
200
  },
201
  "eval": {
202
+ "n_episodes": 4,
203
+ "batch_size": 4,
204
  "use_async_envs": true
205
  },
206
  "wandb": {
207
  "enable": true,
208
  "disable_artifact": false,
209
+ "project": "lerobot",
210
  "entity": null,
211
  "notes": null,
212
+ "run_id": "7iqm67o9",
213
  "mode": null,
214
  "add_tags": true
215
  },