Skip to main content

rewact_tools

RewACT Tools: Plugins and utilities for reward-based learning with LeRobot

Installation

pip install rewact_tools

Or install from source:

cd rewact_tools
pip install -e .

Features

This package provides:

  • Plugins for robocandywrapper: Reward calculation, advantage computation, and control mode tracking
  • Factory functions: Utilities for creating pre/post processors for RewACT and ACTvantage policies
  • Dataset utilities: KeypointReward and LeRobotDatasetWithReward for managing reward labels

Plugins

  • DenseRewardPlugin: Adds dense reward calculation with keypoint-based interpolation
  • PiStar0_6CumulativeRewardPlugin: Computes cumulative rewards for pi*0.6 style training
  • PiStar0_6AdvantagePlugin: Computes advantages for advantage-conditioned policies
  • ControlModePlugin: Tracks control mode (human vs autonomous) in datasets

Usage

from rewact_tools import DenseRewardPlugin, KeypointReward, make_pre_post_processors

# Use plugins with robocandywrapper
# Use factory functions for policy processors
# Use KeypointReward for defining reward keypoints

Metadata

Release files for rewact-tools 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rewact-tools 0.1.4
File Size Uploaded
rewact_tools-0.1.4.tar.gz 28.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rewact-tools 0.1.4
File Interpreter ABI Platform
rewact_tools-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 62.1 kB

Release files / rewact_tools-0.1.4.tar.gz

Download URL rewact_tools-0.1.4.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e781156bdcc1059c5e004dc72a1fe1a67b3f85d80937f9ab92972f69db6ed1bf
BLAKE2b-256 checksum
How to use checksums
53526b44f1f41969c44c78994b382fe35b623ad5f9b9e96e0a31ea27c90d2059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / rewact_tools-0.1.4-py3-none-any.whl

Download URL rewact_tools-0.1.4-py3-none-any.whl
Size 33.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3af036e19b1ab298331e39ba88bd261b25a96c9d4b0c5d68f8b4bc043c05c178
BLAKE2b-256 checksum
How to use checksums
9c8b7a960193efcc33b24f4ce7c1c9c11afa57dbb1df4c3c0d0055c824ddda79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page