This project presents a deep learning model able to learn how toperform several tasks using the 1993 game DOOM as environment.The agent is trained using raw pixels from the game screen and uses a deep learning variant of the Q-learning algorithm. Several optimizations techniques were applied in order to maximize performance and results.
You can clone this repo via https using the following command:
https://github.com/zolastro/DeepGamer.git
The only major dependencies that you have to manually install are used for VizDoom. Follow their guide on how to install all the required dependencies.
The best way to get all needed dependencies is to use Anaconda. To install and initialize the environment, run the following commands:
conda env create -f src/environment.yml
conda activate deep-gamer
There are two scenarios to train the agent. To run them, go into the src
folder and run:
python basic.py
or
python defend_the_center.py
This graph shows the results of the agent in both scenarios.