Training AI to play NES/SNES games on NN python



I am currently getting into Deep Learning and would like to set up an environment for training an Artificial Neural Network or NEAT to play simple video games on NES (Mario etc.) and SNES ( Donkey Kong Country etc.), using TensorFlow/TFLearn in Python.

I started off with OpenAI gym environment and there is actually a super-mario environment for gym on github, which I fail to install as Gym-pull is not available anymore and latest gym package doesn't even have scoreboard folder (I am on windows 10, conda environment).

Now, what would be the best way to set up a solid training environment that will be similar to OpenAI gym in terms of simplicity?

Unfortunately OpenAI universe isn't compatible with Windows 10 atm, and I really don't want to get a different setting like ubuntu environment to make it work. I would like to stay in win10.

If someone could guide me for suggested setup or refer me to articles/ documentation where similar things have been done in win10 python env. for NES/SNES, I would be extremely grateful! I assume an emulator with python API (perhaps Nintaco?) is a way to go? How would I then get the 'observation output', I would need to scan the live pixel output of the game, which I am not sure how to do.




Posted 2018-04-29T01:34:48.543

Reputation: 31

Question was closed 2020-06-02T23:31:58.090

Programming issues are off-topic here. Please, read for more details and to understand which questions are on-topic here. If you have a programming issue, the best place to ask your question is Stack Overflow.

– nbro – 2020-06-02T23:32:03.633


Could this help?

– Eskapp – 2018-04-30T18:52:28.417

No answers