Message Boards Message Boards

GROUPS:

Get OpenAI Gym documentation?

Posted 10 months ago
1349 Views
|
2 Replies
|
0 Total Likes
|

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

2 Replies
Posted 10 months ago

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

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

Thanks!

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