在尝试拟合我的模型时,我面临以下问题: ValueError: Input 0 of layer "model" is incompatible with the layer: expected shape=(None, 256, 96, 3), found shape=(None, 1, 8, 3, 512) 我的模型的详细信息如下: img_height = 96
#Get back the convolutional part of a VGG
我正在尝试使用Keras和它预先构建的ImageNet CNN架构来做一个简单的二进制分类问题。对于VGG16,我采用了以下方法:
'''Rebuild the vgg16 using an empty但它需要一段时间来训练,我想使用Xception和InceptionV3采取类似的方法,因为它们是更轻的模型,具有更高的准确性。k