HumanCompatibleAI / overcooked_ai

A benchmark environment for fully cooperative human-AI performance.
https://arxiv.org/abs/1910.05789
MIT License
714 stars 152 forks source link

Replace instances of np.Inf to np.inf following Numpy 2.0 release #149

Open luke9kim8 opened 1 month ago

luke9kim8 commented 1 month ago

Since Numpy 2.0 release in June 2024, np.Inf is deprecated (See 'Highlights' in the release note). Would it be possible to have instances of np.Inf replaced with np.inf so we can use Numpy 2.0 when using this envrionment?

Creating the issue directly because I don't think there is a formal contribution guide. Please feel free to close this and link one in the comments if there is one.

micahcarroll commented 1 month ago

Thank you for pointing this our @luke9kim8!

Is np.inf compatible with older versions of Numpy? If so, feel free to find and replace all the instances, and make a PR!