Tensorflow implementation of DQN
This implementation contains:
- Deep Q-network and Q-learning
- Experience replay memory
- to reduce the correlations between consecutive updates
- Network for Q-learning targets are fixed for intervals
- to reduce the correlations between target and predicted Q-values
- Double DQN
- Dueling DQN
- Python 2.7 or Python 3.3+
- gym
- tqdm
- SciPy or OpenCV2
- TensorFlow
First, install prerequisites with:
$ pip install tqdm gym[all]
To train a model for Breakout:
$ python main.py
or
// Disable game window. Be able to improve training effect with GPU.
$ python main.py --render=False
GPU: GTX 1060 3G
TBD
MIT License.