Skip to content

Conversation

@balaneshin
Copy link

To fix error: TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top'.

Without this change, to use vgg16.py, keras version should be degraded to 2.0.0.

To fix error: TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top', 
without this, keras version should be degraded to 2.0.0
@shubham-chawla
Copy link

To fix error: TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top'.

If you are on Python 3.x then change include_top=include_top) to require_flatten=include_top)

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

Successfully merging this pull request may close these issues.

2 participants