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