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
Metadata
Release files for rewact-tools 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rewact_tools-0.1.4.tar.gz | 28.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rewact_tools-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.1 kB
Release files / rewact_tools-0.1.4.tar.gz
| Download URL | rewact_tools-0.1.4.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e781156bdcc1059c5e004dc72a1fe1a67b3f85d80937f9ab92972f69db6ed1bf
|
|
BLAKE2b-256 checksum How to use checksums |
53526b44f1f41969c44c78994b382fe35b623ad5f9b9e96e0a31ea27c90d2059
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / rewact_tools-0.1.4-py3-none-any.whl
| Download URL | rewact_tools-0.1.4-py3-none-any.whl |
|---|---|
| Size | 33.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3af036e19b1ab298331e39ba88bd261b25a96c9d4b0c5d68f8b4bc043c05c178
|
|
BLAKE2b-256 checksum How to use checksums |
9c8b7a960193efcc33b24f4ce7c1c9c11afa57dbb1df4c3c0d0055c824ddda79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|