ResNet50 unexpected keyword argument 'include_top'

Author: santoshk17Created Nov 18, 2018Updated Aug 16, 2021

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?

Source: fchollet/deep-learning-models