So far, we have built our CNN deep learning models from scratch by specifying our own architecture. In this section, we will leverage a pretrained model that is basically an expert in the computer vision domain and renowned for image classification and categorization. We recommend you to check out Chapter 4, Transfer Learning Fundamentals, for a brief refresher around pretrained models and their applications in this domain.
Pretrained models are used in the following two popular ways when building new models or reusing them:
- Using a pretrained model as a feature extractor
- Fine-tuning the pretrained model
We will cover both of them in detail in this section. The pretrained model we will be using in this chapter is the popular VGG-16 model, created by the Visual Geometry Group at the University of Oxford, which specializes...