Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to put in <path-to-rom> #30

Open
FerranAlet opened this issue Dec 10, 2017 · 2 comments
Open

What to put in <path-to-rom> #30

FerranAlet opened this issue Dec 10, 2017 · 2 comments

Comments

@FerranAlet
Copy link

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!

@FerranAlet FerranAlet changed the title path-to-rom What to put in <path-to-rom> Dec 10, 2017
@Clanatia
Copy link

Clanatia commented Dec 12, 2017

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

@williamissirius
Copy link

Correction:

ale.loadROM(self.game_path)

Should be:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants