poutyne icon indicating copy to clipboard operation
poutyne copied to clipboard

fix: np.Inf was deprecated forever and is now gone

Open dhdaines opened this issue 1 year ago • 1 comments

As the title says :-) poutyne.EarlyStopping is not compatible with NumPy 2.0, which has finally removed all of the various aliases to np.inf.

This fixes that. It seems there aren't any other places where you were using np.Inf. Not sure if there are any other NumPy 2.0 compatibility issues.

dhdaines avatar Jun 28 '24 02:06 dhdaines

Deploy Preview for poutyne ready!

Name Link
Latest commit c637959239ec905bfd1b91d8d10b0ac6cff3810e
Latest deploy log https://app.netlify.com/sites/poutyne/deploys/667e22c4797a1e0008abd053
Deploy Preview https://deploy-preview-171--poutyne.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 28 '24 02:06 netlify[bot]

Sorry for the delay.

freud14 avatar Jul 08 '24 15:07 freud14

Hi @dhdaines , I just released a new version with the fix. Thank you for your contribution.

freud14 avatar Jul 08 '24 19:07 freud14