Visual Reinforcement Learning tools
Project description
VisionRL
A Python package for visual Reinforcement Learning environments and tools.
VisionRL
A Python package for visual Reinforcement Learning environments and tools.
Design Philosophy
This library is designed as a Gymnasium-compatible extension, focused on computer vision, visualization, UI, and explainability for reinforcement learning. The design follows a layered and modular approach where each concern is clearly separated:
- Gymnasium handles agent contracts.
- VisionRL handles human understanding.
- Core logic is minimal and stable.
- Features are added via wrappers, not rewrites.
- UI, CV, and explainability are optional layers.
Project Structure
🔹 vision_rl/ (Root Package)
The main Python package. Everything inside is part of the public or internal API.
🔹 vision_rl/core/ – Core Abstractions
Defines the foundational building blocks.
- Extends Gymnasium’s
Env. - Adds support for visual observations, UI hooks, and debug callbacks.
- Key Files:
visual_env.py(Base class),mixins.py(Reusable components).
🔹 vision_rl/wrappers/ – Environment Enhancements
The core extension mechanism. Most new features live here.
- Modifies Gym environments without changing their code.
- Handles frame stacking, visual conversions, heatmaps, and logging.
🔹 vision_rl/envs/ – Ready-to-Use Environments
Prebuilt environments for demonstration and best practices.
- Examples:
VisualFrozenLake,VisualCartPole.
🔹 vision_rl/ui/ – Human-Facing Interfaces
Tools for visualization and interaction. Optional for training, critical for demos.
- Renders steps, plots metrics, and handles dashboards.
🔹 vision_rl/monitors/ – Training Analysis Tools
Tools to analyze agent behavior over time.
- Track rewards, action distributions, and learning progress.
🔹 vision_rl/utils/ – Shared Utilities
Helper functions for CV, rendering, and image processing. No environment logic lives here.
🔹 vision_rl/register.py – Gym Integration
Connects environments to Gymnasium’s registry (e.g., gym.make("VisualFrozenLake-v0")).
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
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 vision_rl-0.0.1.tar.gz.
File metadata
- Download URL: vision_rl-0.0.1.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77b12eea07494e29ff464210bb27b0180f609fd21faf4b4a352404607524f7ae
|
|
| MD5 |
44bdb800ef829ff03d60eed709f66250
|
|
| BLAKE2b-256 |
847aa67553c00466dbeb15ee4fad5108fc11d555d9df6ac1f90391da321d8320
|
File details
Details for the file vision_rl-0.0.1-py3-none-any.whl.
File metadata
- Download URL: vision_rl-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9ae6274520d22cd2527f053bed47f4a24aae0fc85b1d6498db2c8e640eaeebc
|
|
| MD5 |
2308ce081a0c8fc6a5b28d1dd95a1818
|
|
| BLAKE2b-256 |
54e9f9710cae3fc66d3a1bf24cd6ec5154e688ecc1b8c8214f1ad76231c84025
|