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

Download files

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

Source Distribution

rewact_tools-0.1.4.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

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

rewact_tools-0.1.4-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rewact_tools-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e781156bdcc1059c5e004dc72a1fe1a67b3f85d80937f9ab92972f69db6ed1bf
MD5 6579d62d7acc7cb3b1a7bdaaf8915304
BLAKE2b-256 53526b44f1f41969c44c78994b382fe35b623ad5f9b9e96e0a31ea27c90d2059

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rewact_tools-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for rewact_tools-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3af036e19b1ab298331e39ba88bd261b25a96c9d4b0c5d68f8b4bc043c05c178
MD5 c3211ca2c030f32110b0fa041646d43a
BLAKE2b-256 9c8b7a960193efcc33b24f4ce7c1c9c11afa57dbb1df4c3c0d0055c824ddda79

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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