Skip to content

Playing around with OpenAI gym. Just experimenting, no serious competition intended.

Notifications You must be signed in to change notification settings

yenicelik/SpaceInvaders--v0

Repository files navigation

SpaceInvaders--v0

Playing around with OpenAI gym using the SpaceInvader Environment. Just experimenting, no serious competition intended.

Usage

Run

python Spaceinvaders.py

for simple use. You can change the parameters within the setup.py-parameters dictionary.

Code Files

SpaceInvaders.py

Includes the 'main thread' of the program. Very simple abstraction level.

build_graph.py

Builds the tensorflow graph, as suggested by this famous paper by Mnih, Silver, Kavukcuooglu, Graves, Antanoglou, Wierstra and Riedmiller (DeepMind) Not all details are implemented yet, such as using the last 4 images as input.

helper.py

Includes helper functions for saving the model features, saving figures in matlab plots, and preprocess images (to apply efficient squared convolution)

setup.py

Creates environment and sets up parameters to be used during training

train.py

Implementation of a basic DeepQ-Learning algorithm. This is the heart of the program.


Feel free to contact me for suggestions on the style, implementation etc.

About

Playing around with OpenAI gym. Just experimenting, no serious competition intended.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages