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

"Expected 2D array, got 1D array instead" when running gp_interpolation.py #107

Open
Gloria949 opened this issue Sep 12, 2023 · 0 comments

Comments

@Gloria949
Copy link

Gloria949 commented Sep 12, 2023

Hello, when I tried to run gp_interpolation.py, it reported this error

1

Then I tried to print the shapes of these two parameters , used
print(curr_x)
print(curr_x.shape)
print(curr_y)
print(curr_y.shape)
,and obtained the following results:

QULU}7AS6QZCX04FYQ(9JQR

May I ask how to solve this problem?

@Gloria949 Gloria949 changed the title "Expected 2D array, got 1D array instead" when runnign "Expected 2D array, got 1D array instead" when running gp_interpolation.py Sep 12, 2023
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

1 participant