you need to define a metric when you compile the model model.compile('adam', 'binary_crossentropy', metrics='accuracy') in this way during evaluation, loss and accuracy are returned