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
model = ResNet50(include_top=True, weights='imagenet') Traceback (most recent call last):
File "", line 1, in model = ResNet50(include_top=True, weights='imagenet')
File "", line 144, in ResNet50 include_top=include_top)
TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top'
The text was updated successfully, but these errors were encountered:
replace "include_top" as "require_flatten" in the resnet50. have a try
Sorry, something went wrong.
@NightFury10497 Keras 2.2 have some changes. Just do this and your program will work.
Change from: from keras.applications.imagenet_utils import _obtain_input_shape
To: from keras_applications.imagenet_utils import _obtain_input_shape
No branches or pull requests
model = ResNet50(include_top=True, weights='imagenet')
Traceback (most recent call last):
File "", line 1, in
model = ResNet50(include_top=True, weights='imagenet')
File "", line 144, in ResNet50
include_top=include_top)
TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top'
The text was updated successfully, but these errors were encountered: