Upload policy weights, train config and readme
Browse files- README.md +62 -0
- model.safetensors +1 -1
- train_config.json +7 -7
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets: lerobot/aloha_sim_insertion_scripted
|
| 3 |
+
library_name: lerobot
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
model_name: act
|
| 6 |
+
pipeline_tag: robotics
|
| 7 |
+
tags:
|
| 8 |
+
- lerobot
|
| 9 |
+
- robotics
|
| 10 |
+
- act
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for act
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
[Action Chunking with Transformers (ACT)](https://huggingface.co/papers/2304.13705) is an imitation-learning method that predicts short action chunks instead of single steps. It learns from teleoperated data and often achieves high success rates.
|
| 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:
|
| 3 |
size 206765304
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a98116f9723b153f37763fe5f6a218d46f3b26df07dc65bca84250bbf47500a
|
| 3 |
size 206765304
|
train_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"dataset": {
|
| 3 |
-
"repo_id": "lerobot/
|
| 4 |
"root": null,
|
| 5 |
"episodes": null,
|
| 6 |
"image_transforms": {
|
|
@@ -143,18 +143,18 @@
|
|
| 143 |
"optimizer_weight_decay": 0.0001,
|
| 144 |
"optimizer_lr_backbone": 1e-05
|
| 145 |
},
|
| 146 |
-
"output_dir": "outputs/train/
|
| 147 |
-
"job_name": "
|
| 148 |
"resume": false,
|
| 149 |
"seed": 1000,
|
| 150 |
"num_workers": 4,
|
| 151 |
"batch_size": 8,
|
| 152 |
-
"steps":
|
| 153 |
-
"eval_freq":
|
| 154 |
"log_freq": 200,
|
| 155 |
"tolerance_s": 0.0001,
|
| 156 |
"save_checkpoint": true,
|
| 157 |
-
"save_freq":
|
| 158 |
"use_policy_training_preset": true,
|
| 159 |
"optimizer": {
|
| 160 |
"type": "adamw",
|
|
@@ -179,7 +179,7 @@
|
|
| 179 |
"project": "lerobot",
|
| 180 |
"entity": null,
|
| 181 |
"notes": null,
|
| 182 |
-
"run_id": "
|
| 183 |
"mode": null
|
| 184 |
},
|
| 185 |
"peft": null,
|
|
|
|
| 1 |
{
|
| 2 |
"dataset": {
|
| 3 |
+
"repo_id": "lerobot/aloha_sim_insertion_scripted",
|
| 4 |
"root": null,
|
| 5 |
"episodes": null,
|
| 6 |
"image_transforms": {
|
|
|
|
| 143 |
"optimizer_weight_decay": 0.0001,
|
| 144 |
"optimizer_lr_backbone": 1e-05
|
| 145 |
},
|
| 146 |
+
"output_dir": "outputs/train/act_aloha_sim_insertion_scripted_50k",
|
| 147 |
+
"job_name": "act_aloha_50k",
|
| 148 |
"resume": false,
|
| 149 |
"seed": 1000,
|
| 150 |
"num_workers": 4,
|
| 151 |
"batch_size": 8,
|
| 152 |
+
"steps": 50000,
|
| 153 |
+
"eval_freq": 5000,
|
| 154 |
"log_freq": 200,
|
| 155 |
"tolerance_s": 0.0001,
|
| 156 |
"save_checkpoint": true,
|
| 157 |
+
"save_freq": 10000,
|
| 158 |
"use_policy_training_preset": true,
|
| 159 |
"optimizer": {
|
| 160 |
"type": "adamw",
|
|
|
|
| 179 |
"project": "lerobot",
|
| 180 |
"entity": null,
|
| 181 |
"notes": null,
|
| 182 |
+
"run_id": "ftbdr6uf",
|
| 183 |
"mode": null
|
| 184 |
},
|
| 185 |
"peft": null,
|