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.2.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.2-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rewact_tools-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c000a206c7b936edd59ecdbb908943a068a1f87851103a3a717eea8649c81403
MD5 ca2f04270068cd487fa5219da7d34c08
BLAKE2b-256 20162fb4716d46c1b0cc67e90997a41c7a78ef62afdfca0e2f163d029a7dd9e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rewact_tools-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa758a29d0c8469762d5c6360b256591420162b6cf9c01a1c8133831d5d810c8
MD5 4bbb141e3c5bdf6c64119d114d9fef5b
BLAKE2b-256 b1fe0917a75e805cd326eaf310a3f2bb04e23cf0cdc7fe22c787d3bc1d5c3e73

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