Skip to main content

A simulation dashboard for keeping track of, analyzing, and interacting with simulations and reinforcement learning projects.

Project description

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.

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

gymdash-0.1.4.tar.gz (481.4 kB view details)

Uploaded Source

Built Distribution

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

gymdash-0.1.4-py3-none-any.whl (502.1 kB view details)

Uploaded Python 3

File details

Details for the file gymdash-0.1.4.tar.gz.

File metadata

  • Download URL: gymdash-0.1.4.tar.gz
  • Upload date:
  • Size: 481.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.2

File hashes

Hashes for gymdash-0.1.4.tar.gz
Algorithm Hash digest
SHA256 11fcb339b3badc6ec2c90e65c357163823d46c573b03889b9e85056bcc2bf794
MD5 24341761e70b61cc54dc1f1886faeec0
BLAKE2b-256 c57aebb36e4c4b8ab3c5744cb23a3346c6a3156de498130209fa939ae2b08dfb

See more details on using hashes here.

File details

Details for the file gymdash-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: gymdash-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 502.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.2

File hashes

Hashes for gymdash-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 18a7dc70cba062dbfcf840de43b75793610942219edbb437817937a9d7227c24
MD5 37357d650e78d2cf45aaae3555785f3b
BLAKE2b-256 1b5b3f309b440a0ec2feb2fefeb491a6d1ca6ae45f8d31959ce167ef1b34af40

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