Closed KevinHan1209 closed 3 months ago
Hello,
this is not a gym issue.
if you look at the error message: The observation returned by the
reset()method does not match the data type (cannot cast) of the given observation space
Expected: float32, actual dtype: float64
Also, in that case, even if the env checker raises an error, it might work when running the algorithm.
🐛 Bug
Trying to run the example learn.py from the original gym_pybullet_drone repo and came across a problem with the HoverAviary env. Seems to still be incompatible with gym env even with various versions of 2.x that I tried for stable_baselines3, which is said to support gymnasium. Not sure what's wrong at this point.
Stable_baselines3 versions checked:
Code example
Relevant log output / Error message
System Info
Checklist