Skip to main content

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

Project description

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

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

rewact_tools-0.1.3.tar.gz (28.2 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.3-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rewact_tools-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d17dbe2ecece8fb5890028cf210d258d7f62421a7425cbca2b90edb4a7b71fbc
MD5 004d16e1e316763eec3df1b76b1fa863
BLAKE2b-256 5071b52c02e867a83ee928624a315e00d5e343db2469fc118771dbc74e584f19

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rewact_tools-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a46b916e4786ec9ddd36d5554551b212b77596f3c56c20aa557bab6de455087e
MD5 7d3f1804fec5ebd7f3d42f599d68b2e9
BLAKE2b-256 41e619089a323f158602336ed19244c4de7728d3d423b56421e0914f47ec23bb

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