Farama-Foundation / Minigrid

Simple and easily configurable grid world environments for reinforcement learning
https://minigrid.farama.org/
Other
2.09k stars 604 forks source link

[Question] Is there a way to make the rendered environment no longer highlight the agent's field of view? #326

Closed liruiluo closed 1 year ago

liruiluo commented 1 year ago

Question

Recently I am using object segmentation module to extract objects in images. However, the brightening of the agent's field of view hinders this behavior. Is there an easy way to do this?

thesofakillers commented 1 year ago

Hi @liruiluo, did you find a way of doing this? Could you share? Alternatively maybe @pseudo-rnd-thoughts could you comment? Thank you.

thesofakillers commented 1 year ago

I am using the FullyObsWrapper but still get the field-of-view highlight when rendering.

liruiluo commented 1 year ago

Hi @liruiluo, did you find a way of doing this? Could you share? Alternatively maybe @pseudo-rnd-thoughts could you comment? Thank you.

In an old version I modified the internal code base to implement this function, however, I have forgotten the implementation at that time