这种问题出现在classification model 中可能是模型的最后一层池化层后没有加flatten层,导致上述错误
Error when checking target: expected 'layers' to have 4 dimensions, but got array with shape (num,2)
最新推荐文章于 2023-09-18 21:42:26 发布
这种问题出现在classification model 中可能是模型的最后一层池化层后没有加flatten层,导致上述错误