Skip to content
New issue

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

Xception Help #97

Open
czainab opened this issue Jun 9, 2018 · 1 comment
Open

Xception Help #97

czainab opened this issue Jun 9, 2018 · 1 comment

Comments

@czainab
Copy link

czainab commented Jun 9, 2018

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'

@Davidjordao
Copy link

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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants