Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unpack #float #object #evaluate
ADD COMMENT
Topic
Name
4+8 =