Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update seeding with gym and handle Dict Observation Spaces #65

Merged
merged 4 commits into from
Aug 10, 2022

Conversation

saleml
Copy link
Contributor

@saleml saleml commented Aug 4, 2022

With recent changes to the gym and gym_minigrid's APIs, the code in this repo doesn't work out of the box. I made two small changes:

  • Change how seeding is done in env.py
  • Allow more flexibility when creating the ObssPreprocessor for Dict observation spaces

Additionally, I added if __name__ == '__main__' in train.py and evaluate.py, which seems to be necessary for multiprocessing to work on MacOS, as suggested here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants