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.1.tar.gz (27.0 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.1-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rewact_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 27.0 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.1.tar.gz
Algorithm Hash digest
SHA256 f3ef9132bdbf5fe778c5fb30ce6d77d9208044c721488a621e5b68a7e37f5e9f
MD5 1d9a1157be7fd85070d08842c6b52075
BLAKE2b-256 3a5ee43e26176c717134e85e7b9a79f641a91774ca3c9d7e9f9c4d2d69370df4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rewact_tools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fe20c3bbd5200f6ad793b92b32330f434c90a86d397c197167701db75455114
MD5 eb545e20bc27c40f2beacc973af99ef2
BLAKE2b-256 2566541dacf92a53544f47e70dd5e49c4d5c1873d1976283193d1f38c0c7644d

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