We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'
The text was updated successfully, but these errors were encountered:
try change from keras.applications.imagenet_utils import _obtain_input_shape for from keras_applications.imagenet_utils import _obtain_input_shape
from keras.applications.imagenet_utils import _obtain_input_shape
from keras_applications.imagenet_utils import _obtain_input_shape
or try require_flatten instead include_top
require_flatten
include_top
model = Xception(require_flatten=False, weights='imagenet')
Sorry, something went wrong.
No branches or pull requests
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'
The text was updated successfully, but these errors were encountered: