ML Lab Session 06 - VGG16-CNN
ML Lab Session 06 - VGG16-CNN
to Machine Learning
Practical Session - VGG16 in CNN
Steps of the process
01 Import Data
02 Clean the Data
03 Split the data to testing & Training
04 Design the model
05 Train the Model
06 Make Predictions
07 Evaluate and Improve
Today’s session
2 Convolutional Layers
These layers apply mathematical operations to the input data to extract high-level features
and patterns from the images.
3 Pooling Layers
Pooling layers condense the output of the convolutional layers, reducing the information to
the most essential elements.
5 Output Layer
The output layer produces the final classification probabilities using the softmax activation
function. (softmax activation function assigns probabilities to different classes)
Convolutional Block
VGG16 consists of multiple convolutional blocks, each composed of multiple
convolutional layers followed by max-pooling layers.
➢ Convolutional Layer
Applies convolutional filters to the input to
extract features.
➢ Rectified Linear Unit (ReLU)
Introduces non-linearity by applying the
ReLU activation function to the output of the
convolutional layer.
➢ Max-Pooling Layer
shrink the image size by keeping only the
most important information, making the
network efficient for image recognition
Fully Connected Layers Block
After the convolutional blocks, there are fully connected layers that take the high-level
features extracted by the convolutional layers and perform classification.
➢ Flatten Layer
Converts the 3D volume into a 1D vector.
➢ Fully Connected (Dense) Layer
Neural network layers where each neuron
is connected to every neuron in the
previous layer.
Importance of VGG16 model in CNN tasks