Open czainab opened 6 years ago
try change from keras.applications.imagenet_utils import _obtain_input_shape
for from keras_applications.imagenet_utils import _obtain_input_shape
or try require_flatten
instead include_top
model = Xception(require_flatten=False, weights='imagenet')
I am trying to run the xception model code but it gives a type error of: _obtain_input_shape() got an unexpected keyword argument 'include_top'