keras predict single example Example: model.predict([x_test]) error Just put model.predict(x_test) instead of model.predict([x_test])