标签: deep-learning
我有一个预测分析问题。我必须像在机器学习中那样做一个简单的分类。我希望我的代码不会弄平图层。使用Keras移除平坦化层后,出现如下所述的错误。
NameError: global name 'gen' is not defined
如何解决此错误?
ValueError: Error when checking target: expected dense_8 to have 3 dimensions, but got array with shape (76322, 1)