我试图NasNetlarge在没有顶部的 Keras 中使用,但我无法摆脱顶部:
from keras.applications import NASNetLarge
model = NASNetLarge(input_shape=(224, 224, 3), include_top=False,
weights="imagenet")
如果我使用 (331, 331, 3) 形状以外的任何形状,include_top=True即使我设置了include_top=False. 如果我将输入形状设置为 (331, 331, 3) 和include_top,False它会下载顶部的权重。我做错了什么还是 Keras 模块中有错误?