[BUG] Incompatible with gymnasium's NormalizeObservation wrapper due to missing "num_envs", "is_vector_env" and "single_observation_space" attributes #258
Labels
question
Further information is requested
Describe the bug
It seems that envpool's vectorized environment is not compatible with gymnasium's NormalizeObservation wrapper due to missing "num_envs", "is_vector_env" and "single_observation_space" attributes in the environments returned by envpool.
Here is the code for gymnasium's normalization wrapper:
The
init()
function needs the above three attributes to work correctly, but the environment object returned by envpool does not have them, causing theinit()
function to use default values, which are not correct.To Reproduce
Expected behavior
Actual behavior
Screenshots
No screenshots.
System info
Describe the characteristic of your environment:
Additional context
No context.
Reason and Possible fixes
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
Checklist
The text was updated successfully, but these errors were encountered: