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