Unit 2 Convolutional Neural Network Flashcards
What is convolutional neural network?
Type of artificial neural network which is also called as ConvNets, mainly used for image classification and image processing it consists of a convolutional layer that has different operations than normal hidden layers in ANN
Components of CNN:
- Convolutional layer
- Pooling layer
- Fully connected layer
Components required by a convolutional layer:
It requires input data, a filter, a feature map
What is a filter?
It is a matrix containing random numbers and of fixed size usually 3x3
Also the smallest unit of a convolutional layer which is responsible for the processing of images to detect edges and different patterns like circles, square etc
Working of convolution layer (Convolution Operation):
Convolution layer receives the input images and the filters present in the convolution layer process this images to obtain different patterns like edges circles vertical sections etc.
What is meant by ‘convolved’?
The filter is slider over the entire image and a feature map is generated which shows all the patterns that are observed in the input images
What is parameter sharing?
Parameter sharing means using same parameters for more than one functions or neurons. This is the memory consumption and also there are fewer updations of the weights and biases
What is equivariant to translation?
Property that convolution layers have due to parameter sharing
Equivariant means that if the input changes the output changes the same way.
What are pooling layers?
The conduct dimensionality reduction that is reducing the number of parameters in the input. Similar to convolution layer, filter sweeps across the entire image but the differences that the filter does not have any weights
Types of pooling layer:
- Max pooling
- Average pooling
What is Alex-net?
- First large-scale CNN
- Used on large image datasets
- Sate-of-the-art results at the time of publication
- Used GPUs for training
- Used to win in ImageNet Large Scale Visual Recognition Challenge (ILSVRC)
Activation functions used in Alex-net
Activation functions used in hidden layers are ReLU and in output layer Softmax is used
Alex-net composed of:
5 convolutional layers with combination of max pooling layers, 3 fully-connected layers and 2 dropout layers
Total number of parameters used in Alex-net
Around 60 million