[Bug Report] single_observation_space
not updated with vectorized TransformObservation
#1287
Closed
1 task done
Labels
bug
Something isn't working
Describe the bug
gymnasium.wrappers.vector.TransformObservation
does not set the observation space correctly. It has an argument forobservation_space
, which is correct, but it keeps the oldsingle_observation_space
.TransformAction
appears to have the same issue.I believe this can be a simple fix by just adding a
single_observation_space
argument to the constructor.Code example
Expected output:
Actual output:
System info
Reproduced on 1.0.0 and on the main branch as of today (commit
fc74bb8
)Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: