-
Notifications
You must be signed in to change notification settings - Fork 148
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
getting unexpected keyword argument 'include_top' #13
Comments
Are you using Keras v2.0.0? Because it seems like the error depends on keras version. At keras 2.0.8, which i was using, |
I am using keras==2.0.6, and i also got this error: |
change "include_top" to "require_flatten". Issue will resolved |
i made it success by degrade the keras version to 2.0.0 , and then change "include_top" to "require_flatten". |
this will work for keras 2.2.4 |
After using the example I get the following error:
`/keras_squeezenet/squeezenet.py in SqueezeNet(input_tensor, input_shape, weights, classes)
56
57
---> 58 input_shape = _obtain_input_shape(input_shape,default_size=227,min_size=48,data_format=K.image_data_format(),include_top=True)
59 #input_shape = _obtain_input_shape(input_shape,default_size=227,min_size=48,data_format=K.image_data_format())
60
TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top'`
Any idea what I'm overlooking? thx
The text was updated successfully, but these errors were encountered: