gym-super-mario icon indicating copy to clipboard operation
gym-super-mario copied to clipboard

How train Mario game with OpenAI gym in the cloud, and download this agent, and run this agent on myself computer ?

Open jinpengchina opened this issue 7 years ago • 3 comments

jinpengchina avatar Oct 06 '17 16:10 jinpengchina

Does the lack of answers mean it's not possible?

In the worst case we can probably use xfvb perhaps? https://en.wikipedia.org/wiki/Xvfb

If it's opengl based, we could also use something like the spring headless stubs, https://github.com/hughperkins/springheadless/tree/cdb02269c0df1b492e92040682173c521e5d24d3/tools/HeadlessSpring , but I suspect that mario being 2d is not opengl-based :)

hughperkins avatar Apr 23 '18 03:04 hughperkins

seems like @valiro21 got it working with xfvb https://github.com/ppaquette/gym-super-mario/issues/9#issuecomment-359909899

hughperkins avatar Apr 23 '18 03:04 hughperkins

@hughperkins FWIW I got it training in AWS using the Unity ML Agents AMI, which does all the X Server setup for you: https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Training-on-Amazon-Web-Service.md

danielnbarbosa avatar Nov 14 '18 23:11 danielnbarbosa