Skip to content

npmenon/DQN-tensorflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asynchronous Method for Deep Reinforcement Learning

Google DeepMind's Paper: Asynchronous Method for Deep Reinforcement Learning.

model

This implementation contains:

  1. Deep Q-network and Q-learning
  2. Varying epsilon for improving exploration vs exploitation
    • to reduce the correlations between consecutive parameter updates
  3. Network for Q-learning targets are fixed for intervals
    • to reduce the correlations between target and predicted Q-values
  4. Separate actor-learner threads
    • To improve system performance

Requirements

Usage

First, install prerequisites with:

$ pip install tqdm gym[all]
$ pip install atari-py==0.0.21
$ pip install gym==0.7.0

To train a model for Breakout:

$ python main.py --env_name=Breakout-v0 --is_train=True
$ python main.py --env_name=Breakout-v0 --is_train=True --display=True

To test and record the screen with gym:

$ python main.py --is_train=False
$ python main.py --is_train=False --display=True

References

License

MIT License.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%