Upload policy weights, train config and readme
Browse files- README.md +62 -0
- config.json +1 -1
- model.safetensors +2 -2
- train_config.json +5 -5
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets: maximellerbach/pickandplace
|
| 3 |
+
library_name: lerobot
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
model_name: wam
|
| 6 |
+
pipeline_tag: robotics
|
| 7 |
+
tags:
|
| 8 |
+
- lerobot
|
| 9 |
+
- wam
|
| 10 |
+
- robotics
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for wam
|
| 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
CHANGED
|
@@ -33,7 +33,7 @@
|
|
| 33 |
"private": null,
|
| 34 |
"tags": null,
|
| 35 |
"license": null,
|
| 36 |
-
"pretrained_path":
|
| 37 |
"time_between_frames": 10,
|
| 38 |
"lag_offset": 3,
|
| 39 |
"image_size": [
|
|
|
|
| 33 |
"private": null,
|
| 34 |
"tags": null,
|
| 35 |
"license": null,
|
| 36 |
+
"pretrained_path": "outputs/train/wam_pickandplace/checkpoints/last/pretrained_model",
|
| 37 |
"time_between_frames": 10,
|
| 38 |
"lag_offset": 3,
|
| 39 |
"image_size": [
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3be2d37e70f08fea3f3d1eb88eb546432b055f353b9f7f7d4916ff1503e5614b
|
| 3 |
+
size 862522324
|
train_config.json
CHANGED
|
@@ -115,7 +115,7 @@
|
|
| 115 |
"private": null,
|
| 116 |
"tags": null,
|
| 117 |
"license": null,
|
| 118 |
-
"pretrained_path":
|
| 119 |
"time_between_frames": 10,
|
| 120 |
"lag_offset": 3,
|
| 121 |
"image_size": [
|
|
@@ -146,12 +146,12 @@
|
|
| 146 |
},
|
| 147 |
"output_dir": "outputs/train/wam_pickandplace",
|
| 148 |
"job_name": "wam",
|
| 149 |
-
"resume":
|
| 150 |
"seed": 1000,
|
| 151 |
"cudnn_deterministic": false,
|
| 152 |
"num_workers": 4,
|
| 153 |
"batch_size": 4,
|
| 154 |
-
"steps":
|
| 155 |
"eval_freq": 20000,
|
| 156 |
"log_freq": 200,
|
| 157 |
"tolerance_s": 0.0001,
|
|
@@ -187,7 +187,7 @@
|
|
| 187 |
"project": "lerobot",
|
| 188 |
"entity": null,
|
| 189 |
"notes": null,
|
| 190 |
-
"run_id": "
|
| 191 |
"mode": null,
|
| 192 |
"add_tags": true
|
| 193 |
},
|
|
@@ -198,5 +198,5 @@
|
|
| 198 |
"rabc_epsilon": 1e-06,
|
| 199 |
"rabc_head_mode": "sparse",
|
| 200 |
"rename_map": {},
|
| 201 |
-
"checkpoint_path":
|
| 202 |
}
|
|
|
|
| 115 |
"private": null,
|
| 116 |
"tags": null,
|
| 117 |
"license": null,
|
| 118 |
+
"pretrained_path": "outputs/train/wam_pickandplace/checkpoints/last/pretrained_model",
|
| 119 |
"time_between_frames": 10,
|
| 120 |
"lag_offset": 3,
|
| 121 |
"image_size": [
|
|
|
|
| 146 |
},
|
| 147 |
"output_dir": "outputs/train/wam_pickandplace",
|
| 148 |
"job_name": "wam",
|
| 149 |
+
"resume": true,
|
| 150 |
"seed": 1000,
|
| 151 |
"cudnn_deterministic": false,
|
| 152 |
"num_workers": 4,
|
| 153 |
"batch_size": 4,
|
| 154 |
+
"steps": 2000,
|
| 155 |
"eval_freq": 20000,
|
| 156 |
"log_freq": 200,
|
| 157 |
"tolerance_s": 0.0001,
|
|
|
|
| 187 |
"project": "lerobot",
|
| 188 |
"entity": null,
|
| 189 |
"notes": null,
|
| 190 |
+
"run_id": "x2a5m24i",
|
| 191 |
"mode": null,
|
| 192 |
"add_tags": true
|
| 193 |
},
|
|
|
|
| 198 |
"rabc_epsilon": 1e-06,
|
| 199 |
"rabc_head_mode": "sparse",
|
| 200 |
"rename_map": {},
|
| 201 |
+
"checkpoint_path": "outputs/train/wam_pickandplace/checkpoints/last"
|
| 202 |
}
|