Instantiates the VGG19 architecture.

Used in the notebooks

Used in the guide Used in the tutorials


By default, it loads weights pre-trained on ImageNet. Check 'weights' for other options.

This model can be built both with 'channels_first' data format (channels, height, width) or 'channels_last' data format (height, width, channels).

The default input size for this model is 224x224.

include_top whether to include the 3 fully-connected layers at the top of the network.
weights one of None (random initialization), 'imagenet' (pre-training on ImageNet), or the path to the weights file to be loaded.
input_tensor optional Keras tensor (i.e. output of layers.Input()) to use as image input for the model.
input_shape optional shape tuple, only to be specified if include_top is False (otherwise the input shape has to be