deep-learning-models
                                
                                
                                
                                    deep-learning-models copied to clipboard
                            
                            
                            
                        ResNet50 unexpected keyword argument 'include_top'
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?
in the line 195 of resNet50.py ,you need to change include_top=include_top to require_flatten=include_top
it works
TypeError: Xception() got an unexpected keyword argument 'require_flatten'