RobertTLange / gymnax

RL Environments in JAX 🌍
Apache License 2.0
585 stars 54 forks source link

Observation/Action Space Information & Sampling #2

Closed RobertTLange closed 3 years ago

RobertTLange commented 3 years ago

Add a wrapper that allows the user to sample random actions based on the observation space of different environments. Potentially it makes sense to store this data also in params_env_names. This could also be implemented as an experimental agent wrapper RandomAgent.

RobertTLange commented 3 years ago

I also want a table that gives observation space and action space specs for all environments. Add this to docs and to blog post.

RobertTLange commented 3 years ago

Addressed in d3d09ac51f56b95252ed4782aaec95529c461d02 and 1898f373bd595d28c84e51a1281786c831e86898, which add a set of spaces: Discrete, Box, Dict, Tuple.