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

SOLVED ERROR. ValueError: Expected 2D array, got 1D array instead #10

Open
cbperez opened this issue Nov 28, 2019 · 1 comment
Open

Comments

@cbperez
Copy link

cbperez commented Nov 28, 2019

The following error:
ValueError: Expected 2D array, got 1D array instead
Using Python 3.7.3 was presented in the train_test.py code.
I solved this, adding the following sentence before obtaining rescaled_feature

global_feature= np.reshape(global_feature, (2, -1))

@Monarch1995
Copy link

thanks bro,it works.

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