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.3.tar.gz (13.3 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.3-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vision_rl-0.0.3.tar.gz
  • Upload date:
  • Size: 13.3 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.3.tar.gz
Algorithm Hash digest
SHA256 f66a2a9d9385aed4d0b45dbe97f6f1744ab6fb756e8f2186a2bf0f8ccbd13f80
MD5 761d26a7c7b39151c7f00a59b2cf9a7e
BLAKE2b-256 67c82d959bdb0cccab40e971a53c8032348cecf934f8936556b727b451150114

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vision_rl-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4f0b66fb4427c3ed7469536bc07db40153781c05d0adc6b024b2b19f67e2604b
MD5 b43ebc97af5f4c443daa71e85be262b6
BLAKE2b-256 16342fab0096e170045b5b1bd8ba6b7e59a7fb1998d09e7816f03afa3bd13fcb

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