Farama-Foundation/gym-docs

Minor error in vector API reset method

DDDOH opened this issue · 4 comments

DDDOH commented

For the vector API, reset method (https://www.gymlibrary.ml/content/vector_api/#reset), currently it shows
image
Note that for the parameter "options" - If to return the options
I doubt the actually meaning is
image
that is options actually is the reset option

Thanks for spotting this, we will update it

DDDOH commented

By the way, is it possible to pass different options for each of the environment in VecEnv, like how we handle the seed argument? The current implementation can only pass the same option to all the environments. Although we can pass a single option (which is actually a list of options) to every environment, and let each environment read its own option from the list, but I think it's better if there's an elegant official API.

Interesting idea, currently that is not a feature, would you want to make the PR?

DDDOH commented