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

Downgrade NumPy used by HRNet #5574

Merged
merged 4 commits into from
Mar 23, 2023

Conversation

rodrigoberriel
Copy link
Contributor

@rodrigoberriel rodrigoberriel commented Jan 11, 2023

HRNet uses np.int which throws an error for NumPy >= 1.24, because its deprecation was finally expired. This PR creates an additional step during HRNet function image build, downgrading NumPy for a version < 1.24.

Motivation and context

Closes #5571.

How has this been tested?

I updated the CVAT locally and checked that I could successfully deploy HRNet on nuclio. After that, I tested the interactor on some images and everything is working as it should.

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@rodrigoberriel
Copy link
Contributor Author

@nmanovic please, let me know if there is anything else needed for this PR

Signed-off-by: Rodrigo Berriel <rodrigo.berriel@gmail.com>
@nmanovic nmanovic merged commit 9052168 into cvat-ai:develop Mar 23, 2023
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Jul 1, 2023
HRNet uses `np.int` which throws an error for NumPy >= 1.24, because its
deprecation was finally expired. This PR creates an additional step
during HRNet function image build, downgrading NumPy for a version <
1.24.

### Motivation and context
Closes cvat-ai#5571.
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

Successfully merging this pull request may close these issues.

HRNet stopped working after NumPy 1.24
4 participants