Closed waymao closed 3 months ago
Thanks for reporting the issue, could you make a PR that fixes this issue?
I just ran into this issue as well. Is there a PR open for this? If not, I can try.
@catanzaromj There isn't a PR, if you want to make one then go for it
Describe the bug When the width and height of a custom minigrid environment are not the same, it causes the observation generated by
RGBImgObsWrapper
to have the width and height to be inverted. The shape of the obs in the obs space and the actual obs is thus inconsistent.Code example
System Info Describe the characteristic of your environment:
Additional context Possibly due to the way the grid renders itself (in the format of height/width/3), while the wrapper defines the observation space to be in width/height/3.
Checklist