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

cpp conversion error in example #63

Open
tyler-abbot opened this issue Feb 5, 2019 · 2 comments
Open

cpp conversion error in example #63

tyler-abbot opened this issue Feb 5, 2019 · 2 comments

Comments

@tyler-abbot
Copy link

When running the example in Python 3.6, I get the following error:

  File "~/conda/envs/MOE/lib/python3.6/site-packages/moe/optimal_learning/python/cpp_wrappers/expected_improvement_mcmc.py", line 93, in multistart_expected_improvement_mcmc_optimization
    status,
TypeError: No registered converter was able to produce a C++ rvalue of type double from this Python object of type numpy.int64

I'm curious if this could be caused by using the newer version of numpy, as the older version listed in the requirements was giving me errors when I attempted to pip install.

@tyler-abbot
Copy link
Author

I tried rebuilding using the older versions of numpy and scipy and still receive this error.

@kkim154
Copy link

kkim154 commented Feb 11, 2019

I have this same error.
If you run this with Hartmann3 example, you do not receive this error.

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