Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/kristjankorjus/Replicating-…
Browse files Browse the repository at this point in the history
…DeepMind
  • Loading branch information
kuz committed Dec 17, 2014
2 parents b2b9413 + 1ab0d1d commit 9313e21
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libraries/ale/makefile.unix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

srcdir ?= .
# Set this to 1 to enable SDL and display_screen
USE_SDL := 0
USE_SDL := 1
# Set this to 1 to enable the RLGlue interface
USE_RLGLUE := 0
DEFINES := -DRLGENV_NOMAINLOOP
Expand Down
Binary file added libraries/ale/roms/seaquest.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ale/ale.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ALE:
fout = ""
preprocessor = None

def __init__(self, memory, display_screen="true", skip_frames=4, game_ROM='../libraries/ale/roms/breakout.bin'):
def __init__(self, memory, display_screen, skip_frames, game_ROM):
"""
Initialize ALE class. Creates the FIFO pipes, launches ./ale and does the "handshake" phase of communication
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Main:

def __init__(self):
self.memory = MemoryD(self.memory_size)
self.ale = ALE(self.memory)
self.ale = ALE(self.memory, display_screen="true", skip_frames=4, game_ROM='../libraries/ale/roms/breakout.bin')
self.nnet = NeuralNet(self.state_size, self.number_of_actions, "ai/deepmind-layers.cfg", "ai/deepmind-params.cfg", "layer4")

def compute_epsilon(self, frames_played):
Expand Down

0 comments on commit 9313e21

Please sign in to comment.