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 interpolationPiStar0_6CumulativeRewardPlugin: Computes cumulative rewards for pi*0.6 style trainingPiStar0_6AdvantagePlugin: Computes advantages for advantage-conditioned policiesControlModePlugin: 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.0.tar.gz
(24.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rewact_tools-0.1.0.tar.gz.
File metadata
- Download URL: rewact_tools-0.1.0.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b78e74d4667e26b5fbea78a70bfc7f01f3154e0d2c4bbe7f9906553c3c674dca
|
|
| MD5 |
b5236866769955f14d99b6c48194d1a1
|
|
| BLAKE2b-256 |
8c504c8e54aaa90d80025355d4620ccf2c6077639eb58289b5cb8aa8dc646209
|
File details
Details for the file rewact_tools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rewact_tools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a7c287cbf60eb722f196c520086dd4ca966b22546c0ae9afe90260add3f13ef
|
|
| MD5 |
f7c327032a99bdd2b44352073217bbf0
|
|
| BLAKE2b-256 |
db3a0d1504fb7ed1b6f6caaf9b875aaba64acac674e804866d5066e894c76020
|