Farama-Foundation / Minigrid

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

Fixed deprecation warnings related to env.get_frame() function calls #424

Open jash-maester opened 3 months ago

jash-maester commented 3 months ago

Concerned Warning Message:


UserWarning: WARN: env.get_frame to get variables from other wrappers is deprecated and will be removed in v1.0, to get this variable you can do `env.unwrapped.get_frame` for environment variables or `env.get_wrapper_attr('get_frame')` that will search the reminding wrappers.

I hate warnings, so pushing for a quick fix.