Skip to main content

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

Project description

RL Studio

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.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded Python 3

EnvQuest-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: envquest-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5d862892156e0cdb62976ed651f1600c6e0259975565cff7a18fbe7c095b3c60
MD5 bb542b57c772277f66e11699831a543d
BLAKE2b-256 88637c9fd72a04743ae68df3e0dc772e7a3918f41c25501bb498f45161fbb99f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: envquest-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 739f811c87340edc2f4f124996fa4ba16b3240d3916b6d46f541949f170e6345
MD5 a868801f7afd04925ce2a0f97cf4a87a
BLAKE2b-256 3ae147c598116d35c339b9122e3c3fb1406b4f021252308d9e4483c842057c10

See more details on using hashes here.

File details

Details for the file EnvQuest-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: EnvQuest-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e52f9d8589f6144cf52cdbeae8c62fd844dbdaa7b043ddbdb12f146f869c9081
MD5 1e762eb2d4a791ff110af45a5ed79033
BLAKE2b-256 f8eda95ae18cef1f0cf0bbac50406a53b4ce94cddbffc079b8912b40bc65c9cf

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