Skip to main content

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

vision_rl-0.0.5.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vision_rl-0.0.5-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file vision_rl-0.0.5.tar.gz.

File metadata

  • Download URL: vision_rl-0.0.5.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for vision_rl-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d9310e5e6a425cba2ffc7e8c71ae18463a5c77e6e88e5a5fd2e2c81e8d4a97da
MD5 e8b8222f59b3ce00b19b01f8f40483bf
BLAKE2b-256 563353f43383072aa7f996c47cf1055ebd9e7fcce6e71b9b83a90cf1c3fb3e9a

See more details on using hashes here.

File details

Details for the file vision_rl-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: vision_rl-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for vision_rl-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ce576c7cc5bce1c916eac485e68fef205b3ebb33203bfad3a87517a3b792f749
MD5 d90cf5dd421e08bbd37b4ccde9b6397d
BLAKE2b-256 14e121473d22718d54d5611307c17b6a847414b99007a2c06fa8d45bc3ae66de

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