-
Notifications
You must be signed in to change notification settings - Fork 8
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
Minigrid Setup #326
Minigrid Setup #326
Conversation
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.
Please also:
- Remove the minigrid folder.
- update the minigrid config
This should be merged after #272 , since that has the support for environment wrappers. Once that's there, you should delete the MiniGridEnv class, and just register the minigrid wrappers, with names like 'minigrid.FullyObsWrapper'. |
@mrsamsami #272 is now merged, so can you update this PR? |
from minigrid import ( | ||
FlatObsWrapper, | ||
FullyObsWrapper, | ||
ImgObsWrapper, | ||
RGBImgObsWrapper, | ||
RGBImgPartialObsWrapper, | ||
) |
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.
Can you update with changes from dev branch and move these changes to gym/gym_wrappers.py, inside of a try block?
Like:
try:
importing and registering minigrid wrappers
except:
...
"minigrid.FullyObsWrapper": FullyObsWrapper, | ||
"minigrid.FlatObsWrapper": FlatObsWrapper, | ||
"minigrid.ImgObsWrapper": ImgObsWrapper, | ||
"minigrid.RGBImgObsWrapper": RGBImgObsWrapper, | ||
"minigrid.RGBImgPartialObsWrapper": RGBImgPartialObsWrapper, |
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.
These should be registered as gymwrappers and not environments
No description provided.