Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eczy/relational-rl
https://github.com/eczy/relational-rl
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eczy/relational-rl
- Owner: eczy
- Created: 2020-04-18T00:25:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-01T18:49:12.000Z (4 months ago)
- Last Synced: 2024-10-27T17:37:52.266Z (3 months ago)
- Language: Python
- Size: 512 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# relational-rl
This repo contains 4 models:
* Q-learning
* SARSA
* Deep Q-learning
* Relational Q-learningBelow are the instructions:
1. Open the "relational-rl" directory from terminal1. Install dependencies:
```
pip install -r requirements.txt
```2. Run the following commands to run each of the models:
* Q-learning
```python
python main_TabularQLearning.py
```* SARSA
```python
python main_TabularSarsa.py
```* Deep Q-learning
```python
python main.py baseline
```* Relational Q-learning
```python
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`.