Skip to main content

GymDash

GymDash (originally meant to be Gymnasium Simulation Dashboard) is a simulation dashboard for keeping track of, analyzing, and interacting with simulations, reinforcement learning projects, and other machine learning projects.

Table of Contents

  1. Install
  2. Getting Started
    1. Controls
    2. Examples
  3. Frontend
    1. Sidebar
    2. Control
    3. Analyze
    4. Configs
  4. Backend
    1. Project
    2. Simulations
  5. FAQ

See the Getting Started documentation.

Disclaimer

This project is still IN DEVELOPMENT. Many frontend and backend features have not been finalized or thoroughly checked and may be subject to significant change at any time.

Installation

NOTE: Full Installation requires PyTorch
Option 1 - Local Install: Download the project and install via pip locally. Download the repo with:
git clone https://github.com/ChaseDVickery/GymDash.git

Option 2 - pip: Download the project via pip using a full install or a minimal base install:

  • Full Installation: Full installation includes Tensorboard, Gymnasium, Stable Baselines, and PyTorch/Torchvision support and packages. Full installation requires PyTorch installation:
    python -m pip install gymdash[full]

  • Minimal Installation: Minimal installation just includes the base packages required to run the frontend and backend. The example Simulations will not properly work without a full installation:
    python -m pip install gymdash

Example Full Install:

  • Windows 10
  • Cuda 11.7
  1. Venv Setup
# Create and activate venv
python -m venv testvenv
testvenv\Scripts\activate.bat
python -m pip install --upgrade pip
  1. Install CUDA via pip
# Install CUDA via pip: https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#pip-wheels
python -m pip install --upgrade setuptools pip wheel
python -m pip install nvidia-pyindex
python -m pip install nvidia-cuda-runtime-cu117
  1. Install torch cuda 118
# I know there is a mismatch b/w 11.7 and 11.8, but it still worked for me.
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
# Optionally, you can replace steps 2-3 with `python -m pip install torch torchvision` if you don't need GPU support. See PyTorch installation: pytorch.org/get-started/locally/
  1. Install gymdash via pip
python -m pip install gymdash[full]

Getting Started

Running Locally

Launch GymDash

# This creates '.gymdash-projects' folder in the launching folder
# and starts a frontend HTTP server and a backend API server.
python -m gymdash.start

For additional launch options, see the Launch Options.

Navigation

Navigate your web browser to your localhost port 8888: http://127.0.0.1:8888/src/gymdash/frontend/. This loads the HTML page used to interact with your GymDash project.

NAQ (Nobody Asked Questions)

Q: Is the API RESTful?
A: No. The API is not RESTful. Most importantly, the entire system is STATEFUL in that certain API calls could depend on prior API calls. This is for a couple reasons:

  1. Dynamic Project: Users are interacting with a potentially dynamic project on the backend. It makes sense for API calls to represent all or part of the current state of the project.
  2. Lower Bandwidth: Simulations have to potential to generate lots of logging data that should be available. To ensure we don't waste bandwidth transferring repeat data, we track which data still needs to be sent on the backend.

Q: Why is the interface so ugly?
A: That's just like, your opinion, man. Also it's because I'm a very utilitarian designer (aside from just being not good at it), and I haven't felt the need to go full-focus on the frontend visuals because there is so much else that can change before that. There are color themes, though. You just can't select them yet. Feel free to put your own spin on it, too. You should even be able to just edit the HTML, CSS, and JavaScript behind it.

Metadata

Release files for gymdash 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gymdash 0.1.4
File Size Uploaded
gymdash-0.1.4.tar.gz 481.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gymdash 0.1.4
File Interpreter ABI Platform
gymdash-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 983.5 kB

Release files / gymdash-0.1.4.tar.gz

Download URL gymdash-0.1.4.tar.gz
Size 481.4 kB
Tags Source
SHA-256 checksum
How to use checksums
11fcb339b3badc6ec2c90e65c357163823d46c573b03889b9e85056bcc2bf794
BLAKE2b-256 checksum
How to use checksums
c57aebb36e4c4b8ab3c5744cb23a3346c6a3156de498130209fa939ae2b08dfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.2

Release files / gymdash-0.1.4-py3-none-any.whl

Download URL gymdash-0.1.4-py3-none-any.whl
Size 502.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18a7dc70cba062dbfcf840de43b75793610942219edbb437817937a9d7227c24
BLAKE2b-256 checksum
How to use checksums
1b5b3f309b440a0ec2feb2fefeb491a6d1ca6ae45f8d31959ce167ef1b34af40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page