Skip to content

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

@cbperez

Description

@cbperez

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions