Message Boards Message Boards

Get OpenAI Gym documentation?

Posted 4 years ago

I was excited to see that OpenAI's Gym can now be accessed through Mathematica. The examples all work perfectly. However, to do anything more requires knowing how to send actions other than "Random" to the device. But I can't find a way to query the list of supported actions. (I tried some obvious keys like "Left" and such, but with no luck). Are actions other than Random supported, and if so, is there a way I can get a list of them? Thanks! -- David

POSTED BY: David Cardinal
2 Replies
Posted 4 years ago

Try env@ActionSpace or env@"ActionSpace" for a list of actions.

Send actions with: DeviceExecute[env, "Step", Right].

POSTED BY: Robert Wilford

Thanks!

POSTED BY: David Cardinal
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract