podondra / gym-gridworlds

Gridworld environments for OpenAI gym.
MIT License
80 stars 19 forks source link

catch up with gym 0.26.1 #7

Closed squidszyd closed 8 months ago

squidszyd commented 8 months ago

Current master version code is not compatible with gym v0.26 api, which requires:

# reset function should return additional info objects (a dict)
# and also takes two more args, i.e. seed and options
def reset(self, seed=None, options=None)
    ...
    return observations, info

Detail can be found at openai-gym doc: link

podondra commented 8 months ago

Not enough comments, information, and docs.

squidszyd commented 8 months ago

The commit message and info are updated. @podondra