Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add numpy to dependencies including version #58

Open
crlna16 opened this issue Sep 24, 2024 · 1 comment
Open

Add numpy to dependencies including version #58

crlna16 opened this issue Sep 24, 2024 · 1 comment

Comments

@crlna16
Copy link

crlna16 commented Sep 24, 2024

The numpy version (2.0) that was installed with pip install ai-models was not compatible with the other libraries. Downgrading to version 1.26 fixed that for me. I would suggest to add numpy explicitly with a version 1.x to the dependencies until the libraries adapt to numpy 2.x

@stefan-maxar
Copy link

Seconding this. While some of the models work out of the box with Numpy 2.0, models such as FCNv2 (ai-models-fourcastnetv2) break from an import change (numpy v1.x: from numpy.lib.arraypad import pad numpy v2.x: from numpy import pad).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants