In this section, we will make use of the pretrained RESNET50 model to develop an image classification model. We will use the same training and test data that we used in the previous section to make comparing classification performance easier.
Classifying images using the pretrained RESNET50 model
Model architecture
We will upload the RESNET50 model without including the top layer. This will help us customize the pretrained model for use with CIFAR10 data. Since the RESNET50 model is trained with the help of over 1 million images, it captures useful features and representations of images that can be reused with new but similar and smaller data. This reusability aspect of pretrained models not only helps to reduce the time and...