Instructions to use iFaz/diffusion-pusht-seed3-half with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use iFaz/diffusion-pusht-seed3-half with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- README.md +35 -61
- model.safetensors +1 -1
- train_config.json +2 -2
README.md
CHANGED
|
@@ -1,88 +1,62 @@
|
|
| 1 |
---
|
| 2 |
-
datasets:
|
| 3 |
-
- lerobot/pusht
|
| 4 |
-
language: en
|
| 5 |
library_name: lerobot
|
| 6 |
license: apache-2.0
|
|
|
|
|
|
|
| 7 |
tags:
|
| 8 |
- robotics
|
| 9 |
-
- imitation-learning
|
| 10 |
- diffusion
|
| 11 |
-
-
|
| 12 |
-
- pytorch_model_hub_mixin
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
-
|
| 18 |
-
Date: `2026-06-22 14:45`
|
| 19 |
-
Policy type: `diffusion` | Device: `cuda`
|
| 20 |
|
| 21 |
-
---
|
| 22 |
-
|
| 23 |
-
## 📦 Dataset
|
| 24 |
-
|
| 25 |
-
| Parameter | Value |
|
| 26 |
-
|---|---|
|
| 27 |
-
| `dataset.repo_id` | `lerobot/pusht` |
|
| 28 |
-
| `dataset.episodes` | `[0]` |
|
| 29 |
|
| 30 |
-
--
|
| 31 |
|
| 32 |
-
## 🏋️ Training Config
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
| `steps` | `3000` |
|
| 37 |
-
| `batch_size` | `8` |
|
| 38 |
-
| `eval_freq` | `0` |
|
| 39 |
-
| `save_freq` | `1000` |
|
| 40 |
-
| `num_workers` | `4` |
|
| 41 |
-
| `seed` | `3` |
|
| 42 |
-
| `eval.n_episodes` | `1` |
|
| 43 |
-
| `eval.batch_size` | `1` |
|
| 44 |
-
| `eval.use_async_envs` | `True` |
|
| 45 |
|
| 46 |
---
|
| 47 |
|
| 48 |
-
##
|
| 49 |
|
| 50 |
-
|
|
|
|
| 51 |
|
| 52 |
-
|
| 53 |
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
-
|
| 57 |
-
|---|---|
|
| 58 |
-
| `env.type` | `pusht` |
|
| 59 |
-
| `env.task` | `PushT-v0` |
|
| 60 |
-
| `eval.n_episodes` | `8` |
|
| 61 |
-
| `eval.batch_size` | `4` |
|
| 62 |
-
| `eval.use_async_envs` | `False` |
|
| 63 |
-
| `policy.path` | `/kaggle/working/outputs/train/pusht_seed3/checkpoints/last/pretrained_model` |
|
| 64 |
|
| 65 |
-
|
| 66 |
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
-
|
| 70 |
-
|---|---|
|
| 71 |
-
| Episodes | `8` |
|
| 72 |
-
| Success rate | `0.0%` |
|
| 73 |
-
| Avg sum reward | `12.37` |
|
| 74 |
-
| Avg max reward | `0.04` |
|
| 75 |
-
| Eval time (s) | `198.0` |
|
| 76 |
|
| 77 |
---
|
| 78 |
|
| 79 |
-
##
|
| 80 |
|
| 81 |
-
|
| 82 |
-
@misc{cadene2024lerobot,
|
| 83 |
-
author = {Cadene, Remi and Alibert, Simon and others},
|
| 84 |
-
title = {LeRobot},
|
| 85 |
-
year = {2024},
|
| 86 |
-
url = {https://github.com/huggingface/lerobot}
|
| 87 |
-
}
|
| 88 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
datasets: lerobot/pusht
|
|
|
|
|
|
|
| 3 |
library_name: lerobot
|
| 4 |
license: apache-2.0
|
| 5 |
+
model_name: diffusion
|
| 6 |
+
pipeline_tag: robotics
|
| 7 |
tags:
|
| 8 |
- robotics
|
|
|
|
| 9 |
- diffusion
|
| 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:
|
| 3 |
size 1050861448
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3b7389635eff20b4b24224ced00e9116859bc48fc99e87cb5252b6ecd3173a4
|
| 3 |
size 1050861448
|
train_config.json
CHANGED
|
@@ -176,12 +176,12 @@
|
|
| 176 |
"cudnn_deterministic": false,
|
| 177 |
"num_workers": 4,
|
| 178 |
"batch_size": 8,
|
| 179 |
-
"steps":
|
| 180 |
"eval_freq": 0,
|
| 181 |
"log_freq": 200,
|
| 182 |
"tolerance_s": 0.0001,
|
| 183 |
"save_checkpoint": true,
|
| 184 |
-
"save_freq":
|
| 185 |
"use_policy_training_preset": true,
|
| 186 |
"optimizer": {
|
| 187 |
"type": "adam",
|
|
|
|
| 176 |
"cudnn_deterministic": false,
|
| 177 |
"num_workers": 4,
|
| 178 |
"batch_size": 8,
|
| 179 |
+
"steps": 300,
|
| 180 |
"eval_freq": 0,
|
| 181 |
"log_freq": 200,
|
| 182 |
"tolerance_s": 0.0001,
|
| 183 |
"save_checkpoint": true,
|
| 184 |
+
"save_freq": 100,
|
| 185 |
"use_policy_training_preset": true,
|
| 186 |
"optimizer": {
|
| 187 |
"type": "adam",
|