12 ms·
I've been using the python-neat library in open-ai's retro with some success. And while it works quickly, it normally finds local maximas. It seems to struggle
by wholemoley 8y ago
I've been using the python-neat library in open-ai's retro with some success. And while it works quickly, it normally finds local maximas. It seems to struggle with long sequences. And defining the fitness function/parameters is an artform.
Here's a video of Donkey Kong Country played by python-neat in open-ai's retro. It took 8 generations of 20 genones to beat level one. I'll post the code if anyone's interested.
https://vimeo.com/280611464 https://vimeo.com/280611464
- godelski 8y agoI'd be interested in the code.
- wholemoley 8y agoOk, I'll clean it up and post it.
- wholemoley 8y agoHere you go! https://www.youtube.com/watch?v=CFa6NhLgeL0&list=PLTWFMbPFsvz3CeozHfeuJIXWAJMkPtAdS https://www.youtube.com/watch?v=CFa6NhLgeL0&list=PLTWFMbPFsv... https://gitlab.com/lucasrthompson/Sonic-Bot-In-OpenAI-and-NEAT https://gitlab.com/lucasrthompson/Sonic-Bot-In-OpenAI-and-NE...
- stefanfisk 8y agoPlease do!
- wholemoley 8y agoAlrighty, I'll clean it up and post it.
- stefanfisk 8y agoI'd be happy to see uncleaned code as well, you don't have to make an effort on my part!
- wholemoley 8y agoHere you go! https://www.youtube.com/watch?v=CFa6NhLgeL0&list=PLTWFMbPFsvz3CeozHfeuJIXWAJMkPtAdS https://www.youtube.com/watch?v=CFa6NhLgeL0&list=PLTWFMbPFsv... https://gitlab.com/lucasrthompson/Sonic-Bot-In-OpenAI-and-NEAT https://gitlab.com/lucasrthompson/Sonic-Bot-In-OpenAI-and-NE...
- godelski 8y agoJust letting you know he posted his code under that viemo video. https://github.com/CodeReclaimers/neat-python https://github.com/CodeReclaimers/neat-python and https://github.com/openai/retro/ https://github.com/openai/retro/