Minimal and Simple Deep Q-Learning implementation in Tensorflow Keras and Gym. Under 100 lines of code!
The explanation for the dqn.py
code is covered in the blog article
https://keon.io/deep-q-learning/
It is convenient to install dependencies with Conda:
conda create -f env.yml
Simply run the dqn.py
script:
python3 dqn.py