Get Logistic regression scores in CNN using Keras
The evaluate method return the loss value &amp; metrics values for the model in test mode.
Instead You should use

y_pred = model.predict(x_test, batch_size=batch_size)


As it generates output predictions for the input samples.
For more information, read Keras official documentation.