VGG16Backbone classkeras_cv.models.VGG16Backbone(
include_rescaling,
include_top,
input_tensor=None,
num_classes=None,
input_shape=(224, 224, 3),
pooling=None,
classifier_activation="softmax",
name="VGG16",
**kwargs
)
Reference: - Very Deep Convolutional Networks for Large-Scale Image Recognition (ICLR 2015) This class represents Keras Backbone of VGG16 model. Arguments
Rescaling(1/255.0) layer.include_top is True.layers.Input()) to use as image input for the model.include_top is False.None means that the output of the model will be
the 4D tensor output of the
last convolutional block.avg means that global average pooling
will be applied to the output of the
last convolutional block, and thus
the output of the model will be a 2D tensor.max means that global max pooling will
be applied.str or callable. The activation function to use
on the "top" layer. Ignored unless include_top=True. Set
classifier_activation=None to return the logits of the "top" layer.
When loading pretrained weights, classifier_activation can only
be None or "softmax".Returns
A keras.Model instance.
from_preset methodVGG16Backbone.from_preset()
Not implemented.
No presets available for this class.