This chapter will demonstrate how to use Keras to build CNN models. A CNN model can help you build an image classifier that can predict and classify the images. In general, you create some layers in the model architecture with initial values of weight and bias. Then you tune the weight and bias variables with the help of a training data set. You will learn how to code in Keras in this context. There is another approach that involves using pretrained models such as InceptionV3 and ResNet50 that can classify the images.
Let’s define a CNN model and ...