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

An error of example/pinn_forward/Helmholtz_Dirichlet_2d_HPO.py #1446

Open
lijialin03 opened this issue Aug 18, 2023 Discussed in #1445 · 2 comments
Open

An error of example/pinn_forward/Helmholtz_Dirichlet_2d_HPO.py #1446

lijialin03 opened this issue Aug 18, 2023 Discussed in #1445 · 2 comments

Comments

@lijialin03
Copy link
Contributor

lijialin03 commented Aug 18, 2023

Discussed in #1445

Originally posted by lijialin03 August 18, 2023
Function 'gp_minimize' of package 'skopt (scikit-optimize)' is used in this example and an error has been reported like,
16e8051a98747fcc62553d09c11b873b
The reason is that 'np.int' used in skopt was deprecated in NumPy 1.20. The newest NumPy is version 1.25.
My skopt version is 0.9.0. I think it is the latest version in https://pypi.org/search/?q=scikit-optimize. So this example may require NumPy 1.20 or lower while there is no version requirements of NumPy in requirements.txt.

@lululxvi
Copy link
Owner

How about fixing this using the solutions at scikit-optimize/scikit-optimize#1138

@lijialin03
Copy link
Contributor Author

How about fixing this using the solutions at scikit-optimize/scikit-optimize#1138

Yes, the solution do works. I submit a PR here #1450 to apply it.

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