mcmachado / options

42 stars 15 forks source link

Running for ALE environment #1

Open vaibhavnayel opened 4 years ago

vaibhavnayel commented 4 years ago

Hello How does one run this code for the freeway environment?

mcmachado commented 4 years ago

Hello, you are right, it is kind of embarrassing, but I didn't document anything. I ran this code a long time ago, but by just going over the source code, I wanna say the right place to start is here: https://github.com/mcmachado/options/blob/master/ale/optionDiscovery.py#L46

But you have to install the Arcade Learning Environment, set the paths properly, install the python wrapper, etc. OpenAI Gym won't work. Hopefully the current ALE version is backward compatible, otherwise you'll have to download an older version.

Let me know if you make progress on this.