TensorFlow & Keras implementation of DQN.
- Clone this repo:
git clone https://github.com/AdamStelmaszczyk/rl-tutorial.git
. - Install
conda
for dependency management. - Create
tutorial
conda environment:conda create -n tutorial python=3.6.5 -y
. - Activate
tutorial
conda environment:source activate tutorial
. All the following commands should be run in the activatedtutorial
environment. - Install basic dependencies:
pip install -r requirements.txt
.
There is an automatic build on Travis which does the same.
- Deactivate conda environment:
source deactivate
. - Remove
tutorial
conda environment:conda env remove -n tutorial -y
.
- MountainCar description: https://github.com/openai/gym/wiki/MountainCar-v0
- MountainCar source code: https://github.com/openai/gym/blob/4c460ba6c8959dd8e0a03b13a1ca817da6d4074f/gym/envs/classic_control/mountain_car.py