Skip to main content

RewACT: Reward-Augmented Action Chunking with Transformers - LeRobot Policy Plugin

Project description

lerobot_policy_rewact

RewACT: Reward-Augmented Action Chunking with Transformers - A LeRobot Policy Plugin

Installation

pip install lerobot_policy_rewact

Or install from source:

cd lerobot_policy_rewact
pip install -e .

Usage

Once installed, the RewACT policy automatically integrates with LeRobot's training and evaluation tools:

lerobot-train \
    --policy.type rewact \
    --env.type pusht \
    --steps 200000

What is RewACT?

RewACT extends the ACT (Action Chunking with Transformers) model with reward-based learning. It adds a reward prediction head to the standard ACT transformer model and trains it via supervised learning, integrating reward predictions into the loss function.

The reward model predicts dense rewards for robotic actions, providing feedback on task progress. This is particularly useful for:

  • Detecting when tasks are complete
  • Providing intermediate feedback during task execution
  • Improving policy learning through reward signals

Features

  • Distributional value prediction using a discrete value function
  • Compatible with all LeRobot datasets and environments
  • Minimal dependencies (only lerobot >= 0.4 required)
  • Full integration with LeRobot's training pipeline

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lerobot_policy_rewact-0.1.4.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lerobot_policy_rewact-0.1.4-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file lerobot_policy_rewact-0.1.4.tar.gz.

File metadata

  • Download URL: lerobot_policy_rewact-0.1.4.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for lerobot_policy_rewact-0.1.4.tar.gz
Algorithm Hash digest
SHA256 04cfaf2b1dcce306dd77304e7568d05eed7091a43f65837446cd541d556be499
MD5 d132a018f6c67fe98ed5d8ff80d8d8eb
BLAKE2b-256 8029daff3572bd8df391577822138b4272cfb36a1c4ae50b190a19e1e4fbf704

See more details on using hashes here.

File details

Details for the file lerobot_policy_rewact-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for lerobot_policy_rewact-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d10d4330488eb73acf566cef4fe0ae6a269121a82264f45f05c1bd2aa7700831
MD5 15e7bbba8f489848317cd488ab0ab0c1
BLAKE2b-256 034870c1d8868aea6e25f683ee637b4dba64a74f51ae971b448cfb5f702649d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page