Skip to content

ABeastofPrey/DQN-retro-tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playing Retro Airstriker-Genesis game using Deep Q-learing with Experience replay

Introduction

I implement the simple DQN algorithm to play Openai-retro Airstriker-Genesis game to studing basic deep reinforment learning.

result

Algorithm

Here is pseudo-code of Deep Q-learnig with experience replay.

algorithm

Networks

Here is the neuron network portion of DQN-v2013, it has three convolutional layers and two ful-connetion layers. The input is the original image from enviroment itself, and ouput is propability of each action of action space.

networks

Requirements

Usage

First, install all requirements.

To train a model:

$ python main.py --train True

To test your model via play the game:

$ python main.py --train False

Results

Currently, our best model can play the game warping to level 2.

level up

Simple results

History graph of loss.

loss

License

WTF (MIT)

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages