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
Currently, I am working with Tianshou which offers an env.set_env_attr(name, value) function. However, when I don't disable all default gym wrappers (OrderEnforcing and PassivEnvChecker as of now), the setattr call issued by Tianshou onto the wrapped environment does not arrive at the actual environment object. Instead, the setattr is processed by the Wrapper object and, as a result, sets the attribute of the outermost wrapper. Do I overlook something?
Motivation
I don't see any clear reason, why this is not implemented correctly.
Pitch
See above.
Alternatives
Leave it as it is, which will lead people to not use your provided environment wrappers.
Additional context
Checklist
I have checked that there is no similar issue in the repo (required)
The text was updated successfully, but these errors were encountered:
Proposal
Currently, I am working with Tianshou which offers an env.set_env_attr(name, value) function. However, when I don't disable all default gym wrappers (OrderEnforcing and PassivEnvChecker as of now), the setattr call issued by Tianshou onto the wrapped environment does not arrive at the actual environment object. Instead, the setattr is processed by the Wrapper object and, as a result, sets the attribute of the outermost wrapper. Do I overlook something?
Motivation
I don't see any clear reason, why this is not implemented correctly.
Pitch
See above.
Alternatives
Leave it as it is, which will lead people to not use your provided environment wrappers.
Additional context
Checklist
The text was updated successfully, but these errors were encountered: