Skip to content

Instantly share code, notes, and snippets.

@jkarnows
jkarnows / openai_cartpole_v0_dqn.py
Last active September 8, 2016 07:19 — forked from imironhead/openai_cartpole_v0_dqn.py
jkarnows-cartpole-v0-dqn
"""
Solve OpenAI Gym Cartpole V0 with DQN.
TensorFlow code by TiehHung Chuang (imironhead), 2016-09-06
tf-slim code by Jeremy Karnowski jkarnows, 2016-09-07
"""
from __future__ import absolute_import
from __future__ import print_function
from __future__ import division