Skip to content

aloooha/DQN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play CartPole through DQN

Tensorflow implementation of [Human-Level Control through Deep Reinforcement Learning]

This implementation contains:

  1. Deep Q-network
  2. Experience replay memory
    • to reduce the correlations between consecutive updates
  3. Network for Q-learning targets are fixed for intervals
    • to reduce the correlations between target and predicted Q-values

Algorithm:

model

target network update model:

target_network

Requirements

Usage

First, install prerequisites with:

$ pip install gym
$ pip install tensorlayer

To train a model:

$ python main.py

if you want to see the display, modify the code main.py

display = True

To see the train log in tensorboard:

$ tensorboard --logdir=./result/tensorboard

References

License

GPLv3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages