An open API service indexing awesome lists of open source software.

https://github.com/jedrazb/rl-grid-world

Reinforcement learning agent which finds a path to the goal in a grid world. This exercise was done as a coursework for course C424 at Imperial College London.
https://github.com/jedrazb/rl-grid-world

deep-q-learning deep-q-network grid-world reinforcement-agents reinforcement-learning reinforcement-learning-agent

Last synced: 3 months ago
JSON representation

Reinforcement learning agent which finds a path to the goal in a grid world. This exercise was done as a coursework for course C424 at Imperial College London.

Awesome Lists containing this project

README

          

# Deep Q-learning agent in the grid world
Deep Q-learning agent which finds a path to the goal in a grid world. This exercise was done as a coursework for course C424 at Imperial College London.

--------
Dependencies: `numpy`, `cv2`, `torch`

To start the training run:
```
python train_and_test.py
```

-------

Following techniques were used:
* Deep Q-network (created in PyTorch)
* Models with continous (`agent_radians.py`) and discrete actions (`agent.py`)
* Prioritised experience replay buffer
* Epsilon greedy policy
* Target network
* Sampling using Cross Entropy Method