Farama-Foundation / SuperSuit

A collection of wrappers for Gymnasium and PettingZoo environments (being merged into gymnasium.wrappers and pettingzoo.wrappers
Other
446 stars 56 forks source link

Out of date error message in vector.markov_vector_wrapper #172

Closed Benjamin-Etheredge closed 2 years ago

Benjamin-Etheredge commented 2 years ago

AssertionError: observation spaces not consistent. Perhaps you should wrap with `supersuit.aec_wrappers.pad_observations`? from SuperSuit.supersuit.vector.markov_vector_wrapper:29. aec_wrappers doesn't appear to exist anymore. There is a supersuit.multiagent_wrappers.padding_wrappers.pad_observations_v0. I'm not sure if this is the same as I still get issues using (likely user error).

I'm new to both pettingzoo and supersuit, so I'm not sure about the intended behavior/paths.

jjshoots commented 2 years ago

Heya, thanks for this! Yes this is indeed a bug and related to parts od the code being updated while others remain stagnant. I'll make a PR fixing it.

jjshoots commented 2 years ago

Hey @Benjamin-Etheredge, just checking, do you still have issues with your code?