Implementation of some Deep Reinforcement Learning algorithms and environments.
The goal of this project is to have complete modularity with the algorithms and models used.
The implementations are completely made in PyTorch.
The environments used can either be single-agent using the Gymnasium API, or multi-agents using the PettingZoo Parallel API. Most algorithms also support action masking.
- Python 3.11
- PyTorch 2.1.0
- Install all the requirements using
pip install -r requirements.txt
- Change the algorithm and the environment in the
main.py
file.
The following algorithms are currently available:
- PPO (discrete [supports action masking] and continuous actions)
- A2C (discrete [supports action masking] and continuous actions)
- DQN (discrete actions)
The following environments have been implemented:
- Snake
- Minesweeper
Any Gymnasium Env or PettingZoo ParallelEnv can be used.
- Timothé Watteau (@timothewt)
This project is licensed under the MIT License - see the LICENSE.md file for details