You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using RGBImgObsWrapper on an environment initialized with highlight=False, the images in the observation will still be rendered with highlight=True. This is because True highlighting is hardcoded in RGBImgObsWrapper, instead of respecting what is set by the environment being wrapped:
The plotted image will still show a highlight around the agent, despite us having specified not to highlight the agent's view.
System Info
Describe the characteristic of your environment:
Describe how minigrid was installed (pip, docker, source, ...) pip install minigrid
What OS/version of Linux you're using. Note that while we will accept PRs to improve Window's support, we do not officially support it.
MacOS Catalina 10.15.7
Describe the bug
When using
RGBImgObsWrapper
on an environment initialized withhighlight=False
, the images in the observation will still be rendered withhighlight=True
. This is becauseTrue
highlighting is hardcoded in RGBImgObsWrapper, instead of respecting what is set by the environment being wrapped:Minigrid/minigrid/wrappers.py
Line 326 in 546c040
Instead of
highlight=True
, that should sayhighlight=self.env.highlight
or equivalent.Code example
The plotted image will still show a highlight around the agent, despite us having specified not to highlight the agent's view.
System Info
Describe the characteristic of your environment:
minigrid
was installed (pip, docker, source, ...)pip install minigrid
MacOS Catalina 10.15.7
3.8.16
Additional context
Perhaps related: #162, #326
Checklist
The text was updated successfully, but these errors were encountered: