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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file envquest-0.0.2.tar.gz.
File metadata
- Download URL: envquest-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c8df7229ea931a32805c438a7ea918aced6df568bba84b12c74b428696f40dc
|
|
| MD5 |
2d3a2350207cbe185913233c6b69cbdc
|
|
| BLAKE2b-256 |
e92be315f6479dc24f54dd42a3a79c0273dc942feae11ac22d1f5f72ad4ced5b
|
File details
Details for the file envquest-0.0.2-py3-none-any.whl.
File metadata
- Download URL: envquest-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a6a138aaa426ac244295dabf96a0737768d097eebc797b7790914d1e4873429
|
|
| MD5 |
3e46ad13922e8f2d5e99aab02d77677c
|
|
| BLAKE2b-256 |
14f66979d061284a9c7c3301b9866ec8db651efc0ac07fa58cc0b642ddf9f7f6
|