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

ResNet50 unexpected keyword argument 'include_top' #104

Open
santoshk17 opened this issue Nov 18, 2018 · 3 comments
Open

ResNet50 unexpected keyword argument 'include_top' #104

santoshk17 opened this issue Nov 18, 2018 · 3 comments

Comments

@santoshk17
Copy link

Keras version - 2.2.4
Python - 3.6.6
issue:
----> 6 model = ResNet50(input_tensor=image_input, include_top=True,weights='imagenet')
TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top'

is there a fix for this?

@yeLer
Copy link

yeLer commented Nov 22, 2018

in the line 195 of resNet50.py ,you need to change include_top=include_top to require_flatten=include_top

@pc-mysql
Copy link

it works

@smitsavaliya-1258
Copy link

TypeError: Xception() got an unexpected keyword argument 'require_flatten'

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

4 participants