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
# If the variable exists, you can also use `set_wrapper_attr` to set it
152
+
assert vec_env.has_attr("mu")
153
+
vec_env.env_method("set_wrapper_attr", "mu", 0.1)
151
154
152
155
153
156
In this example ``env.mu`` cannot be accessed/changed directly because it is wrapped in a ``VecEnv`` and because it could be wrapped with other wrappers (see `GH#1573 <https://github.com/DLR-RM/stable-baselines3/issues/1573>`_ for a longer explanation).
0 commit comments