TypeError: cannot unpack non-iterable float object python code example
Example: TypeError: cannot unpack non-iterable float object evaluate
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