Timeline for How to create custom action space in openai.gym
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 13, 2022 at 7:10 | vote | accept | kumar | ||
Sep 13, 2022 at 7:09 | comment | added | kumar | Thank you. this resolved my issue. For those of you looking for exact answer it is '''' from gym import spaces import numpy as np import random space = spaces.Discrete(2,) print(space.sample()) '''' | |
Sep 9, 2022 at 18:11 | history | answered | Nicolas Martin | CC BY-SA 4.0 |