📜  TypeError: cannot unpack non-iterable float object evaluate - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:28.546000             🧑  作者: Mango

代码示例1
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