TypeError: Tidak dapat membongkar objek float yang tidak dapat diketahui mengevaluasi

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
Wide-eyed Wombat