Run this model with HF Jobs
Run lerobot/diffusion_pusht_keypoints on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/lerobot/diffusion_pusht_keypoints. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/lerobot/diffusion_pusht_keypoints on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use lerobot/diffusion_pusht_keypoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lerobot/diffusion_pusht_keypoints with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lerobot/diffusion_pusht_keypoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files8 unmodified lines910111213142 unmodified lines17181920212223242529 unmodified lines555657585960618 unmodified linesDiffusion Policy (as per [Diffusion Policy: Visuomotor PolicyLearning via Action Diffusion](https://arxiv.org/abs/2303.04137)) trained for the `PushT` environment from [gym-pusht](https://github.com/huggingface/gym-pusht) with keypoint-only observations.## How to Get Started with the ModelUse `python lerobot/scripts/eval.py -p lerobot/diffusion_pusht` to evaluate for 50 episodes with the outputs sent to `outputs/eval`.2 unmodified lines## Training DetailsTrained with TODO commit hashThe model was trained using [LeRobot's training script](https://github.com/huggingface/lerobot/blob/d747195c5733c4f68d4bfbe62632d6fc1b605712/lerobot/scripts/train.py) and with the [pusht_keypoints](https://huggingface.co/datasets/lerobot/pusht_keypoints/tree/v1.5) dataset, using this command:```bashpython lerobot/scripts/train.py \29 unmodified linesHere are the metrics for 500 episodes worth of evaluation.Metric|Average over 500 episodes-|-|-Average max. overlap ratio | 0.97Success rate (%) | 71.08 unmodified lines9101112131415162 unmodified lines19202122232425262729 unmodified lines575859606162638 unmodified linesDiffusion Policy (as per [Diffusion Policy: Visuomotor PolicyLearning via Action Diffusion](https://arxiv.org/abs/2303.04137)) trained for the `PushT` environment from [gym-pusht](https://github.com/huggingface/gym-pusht) with keypoint-only observations.Note: The original work trains keypoints-only with conditioning via inpainting. Here, we encode the observation along with the agent position and use the encoding as global conditioning for the denoising U-Net.## How to Get Started with the ModelUse `python lerobot/scripts/eval.py -p lerobot/diffusion_pusht` to evaluate for 50 episodes with the outputs sent to `outputs/eval`.2 unmodified lines## Training DetailsTrained with TODO commit hash one the PR is mergedThe model was trained using [LeRobot's training script](TODO link with commit hash one the PR is merged) and with the [pusht_keypoints](https://huggingface.co/datasets/lerobot/pusht_keypoints/tree/v1.5) dataset, using this command:```bashpython lerobot/scripts/train.py \29 unmodified linesHere are the metrics for 500 episodes worth of evaluation.Metric|Average over 500 episodes-|-Average max. overlap ratio | 0.97Success rate (%) | 71.0
README.md+5-3