deep-learning-models icon indicating copy to clipboard operation
deep-learning-models copied to clipboard

VGG19 fails to run (on Keras v2.0.9)

Open phizaz opened this issue 7 years ago • 1 comments

Here is the error (vgg19.py) :

Traceback (most recent call last):
  File "vgg19.py", line 195, in <module>
    model = VGG19(include_top=True, weights='imagenet')
  File "vgg19.py", line 100, in VGG19
    include_top=include_top)
TypeError: _obtain_input_shape() got an unexpected keyword argument 'include_top'

phizaz avatar Nov 19 '17 14:11 phizaz

you can change 'include_top=include_top" to "require_flatten=include_top".

zouqian2468 avatar Nov 23 '17 08:11 zouqian2468