Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 719 Bytes

README.md

File metadata and controls

40 lines (31 loc) · 719 Bytes

relational-rl

This repo contains 4 models:

  • Q-learning
  • SARSA
  • Deep Q-learning
  • Relational Q-learning

Below are the instructions:

  1. Open the "relational-rl" directory from terminal

  2. Install dependencies:

pip install -r requirements.txt
  1. 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

Acknowledgement:

box_world_env.py and boxworld_gen.py are from Nathan Grinsztajn's BoxWorld implementation found at https://github.com/nathangrinsztajn/Box-World.