Skip to main content

A collection of Reinforcement Learning algorithms to train autonomous agents in different environments.

Project description

EnvQuest

Play with reinforcement learning algorithms.

Requirements

You need these requirements to run the project:

  • python >= 3.8
  • uv
  • ffmpeg
# Linux
sudo apt install ffmpeg
# MacOS
brew install ffmpeg

Installation

Install the python dependencies

uv venv .venv
source .venv/bin/activate
uv sync --frozen

Start a local WandB server to track your experiments

wandb server start

Usage

Run a random policy agent

Run a random agent in a Gym environment

python -m scripts.run_random_agent

Read the python script for more information: scripts/run_random_agent.py

Train Agents

DQN Agent

Train a DQN policy agent in a Gym environment

python -m scripts.train_dqn

Read the python script for more information: scripts/train_dqn.py

Sarsa Agent

Train a Sarsa policy agent in a Gym environment

python -m scripts.train_sarsa

Read the python script for more information: scripts/train_sarsa.py

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

envquest-0.0.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

envquest-0.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: envquest-0.0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for envquest-0.0.3.tar.gz
Algorithm Hash digest
SHA256 25dcd6835cee9d8617bacc81e1dd1b68414a437da8ddb58185b91e2f6ce6684b
MD5 a7818918ab17cae26cd51dff171f14d7
BLAKE2b-256 749f11c21f6e08741b24db9686c4b6ec5eaa8c12f709ccea268c9d2e6c8cf010

See more details on using hashes here.

File details

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

File metadata

  • Download URL: envquest-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for envquest-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 37b61227e1caecc1c35e00d1796e36937f52becef757e3e695fd007485cefc86
MD5 23c1d74d1dd729810ff6ae6e0b94536a
BLAKE2b-256 02c1caf45fb1762a4a3cc279414908fd168077b5f39616ac89b101889eb49668

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