muupan/async-rl

What to put in <path-to-rom>

FerranAlet opened this issue · 2 comments

In:
python demo_a3c_ale.py [--use-lstm]

I've been looking at what to put in for quite a while but I have just found it's related to ALE. I've tried putting either 'breakout' or the path to the ALE repo in my desktop but neither works; what should I put?

Thanks!

if you want just input rom name ,

ale.py 50 line

change code

ale.loadROM(rom_filename) to

import atari_py
self.game_path = atari_py.get_game_path(rom_filename)
ale.loadROM(self.game_path)

and

cmd : python demo_a3c_ale.py space_invaders trained_model/space_invaders_lstm/80000000_finish.h5 --use-lstm

Correction:

ale.loadROM(self.game_path)

Should be:

le.loadROM(str.encode(self.game_path))