This repo contains 4 models:
- Q-learning
- SARSA
- Deep Q-learning
- Relational Q-learning
Below are the instructions:
-
Open the "relational-rl" directory from terminal
-
Install dependencies:
pip install -r requirements.txt
- Run the following commands to run each of the models:
- Q-learning
python main_TabularQLearning.py
- SARSA
python main_TabularSarsa.py
- Deep Q-learning
python main.py baseline
- Relational Q-learning
python main.py relational
box_world_env.py
and boxworld_gen.py
are from Nathan Grinsztajn's BoxWorld implementation found at https://github.com/nathangrinsztajn/Box-World
.