-
Notifications
You must be signed in to change notification settings - Fork 36
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
Issue due to Numpy alias type deprecation #172
Comments
Hi, I have a similar problem when trying to use the surrogate benchmarks (specifically the SurrogatesSVMBenchmark): AttributeError: module 'numpy' has no attribute 'float'. |
Hi |
Hi, the current requirement for numpy is set to version >=1.18.1. However the latest version installment(v1.24.0) throws module ‘numpy’ has no attribute ‘float’. This is caused by the removal of numpy’s aliases for float, int and similar dtypes in latest version. This can be either fixed by setting the max_version limit on this dependency or by modifying the source code(utils/container_util.py) to use equivalent built-in types
The text was updated successfully, but these errors were encountered: