Deep Q-Network (DQN) is the first deep reinforcement learning method proposed by DeepMind.
Here we will train a Tensorflow DQN implementation based on DeepMind's DQN for playing Atari games.
Either use Virtual Environment through venv or anaconda:
To run, type the following into the terminal
$ python main.py --game <env_name>
However, if you are on an Anaconda virtual environment no need to type <env_name> just type
$ python main.py --game SpaceInvaders-v0 --display true
and instead of SpaceInvaders-v0
just type any other game name.
Thank you Kee Hyun Won for inspiring this code. I just adjusted the code for my environment and for the new tensorflow deprecated variables.