huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving
MIT License
922 stars 186 forks source link

Remove gym dependency #2074

Closed saulfield closed 1 year ago

saulfield commented 1 year ago

More progress towards #1981.

saulfield commented 1 year ago

All the examples appear to be working with gymnasium aside from drive and platoon. There appears to be an issue with stable_baselines3 (see the failing CI test). I tried using v2.0.0 which added support for gymnasium, but the error is still happening. I've made this a draft PR since I think we should just do this all in one go, instead of leaving gym as a dependency for the rl examples, which would require some additional code changes.

Adaickalavan commented 1 year ago

PR #2075 updates the drive and platoon examples to use Stable Baselines3 v2.0.0 and gymnasium.