Closed n-kish closed 1 month ago
After looking at this problem more, I realized the issue I face is handled in the gymnasium's Ant-v5 environment. However, Stable-baselines3 version == 2.3.2 doesn't support v5 environments.
you may give https://github.com/DLR-RM/stable-baselines3/pull/1837 a try then.
🐛 Bug
Added more information to communicate the issue better.
When I try gym.make and provide a custom xml_file with a different number of body parts to that of the original XML file, instead of dynamically updating the observation shape, I receive a mismatch in the observation shape error.
xml_file (custom_ant.xml):
To Reproduce
Python code:
Relevant log output / Error message
System Info
Python version == 3.8.16 Stable-baselines3 version == 2.3.2 Gymnasium version == 0.29.1
Checklist