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.2.tar.gz (19.5 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.2-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lerobot_policy_rewact-0.1.2.tar.gz
  • Upload date:
  • Size: 19.5 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.2.tar.gz
Algorithm Hash digest
SHA256 2bd87f3562cf6e8869cf5d0a4220cc76562c452c5a884182494386d865769c0c
MD5 d8df9521dab1230d77679e0b6f699dd4
BLAKE2b-256 753087ce69c6d6ff16bb1a2cb13868c0d5c60343c94e3200f1ba29b2e69714a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lerobot_policy_rewact-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eac2b36ef81740dd9462d15ca940c637778d11e5c6486b252de765b35ef0d2ae
MD5 d1ece08d0f67da54bd4cbd5a38bbb8e6
BLAKE2b-256 30409cea0d99bd939074972bd1a937a7b9d7bf17dcfdc668cdae8f871f84e433

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