Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add flatten dict wrapper when observation space is dict (hack, don't …
…merge)
- Loading branch information
28b0567
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work and kind reply.
28b0567
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be more generic that specifying keys yourself
env = gym.wrappers.FlattenDictWrapper(env, dict_keys=env.observation_space.spaces.keys())