concept pretrained weight in category deep learning

appears as: pretrained weights, pretrained weights
Deep Learning for Vision Systems

This is an excerpt from Manning's book Deep Learning for Vision Systems.

To adapt the VGG16 network to our problem, we are going to download the VGG16 network with the pretrained weights and remove the classifier part then add our own classifier. Then retrain the new network. This is called using a pretrained network as a feature extractor. We will discuss the different types of transfer learning later in this chapter.

# import the VGG16 model from Keras
from keras.applications.vgg16 import VGG16
 
# download the model’s pretrained weights and save it in the variable base_model
# note that here we specified to keras to download the imagenet weights
# include_top is false to ignore the FC classifier part on top of the model
base_model = VGG16(weights = "imagenet", include_top=False, input_shape = (224,224, 3))
base_model.summary()