Image Classification using deep learning

A
Image Classification
using deep learning
Done By :
Asma Hawari - Qamar AL-Zaman Hafez - Amena Samra - Nader Pervis
CIFR10
It’s mini-images dataset
Consists of 60000 images
Split into 50000 training and
10000 testing
2
CIFR 10 Dataset
3
“ There are thousands of solutions
for this problem and we tried many
to increase the test accuracy .”
4
Preprocessing Data &
Normalization
1. Convert from uint8 to float32
2. Scale the images values to range 0-1
3. Apply OneHotEncoding to the Labels
Train Neural Network from scratch
First we try AlexNet Neural Network
7
AlexNet Architecture
 11*11 kernel size
 5 convolutional layers
 3 fully connected layers
CNN
Convolutional Neural Network
But why CNN Not MLP ?
8
9
CNN Architecture
10
Convolution Operation with kernel size 3*3
11
CNNs learn Hierarchical features
As we go deeper into the network , the neurons get
information from larger parts of the image and from various
other neurons
The neurons at the later layers can learn more complicated
features like eyes / legs
12
Max Pooling :
Pooling layers is mostly used immediately after the
convolutional layer to reduce the spatial size (only width and
height , not depth ) .
This reduces the number of parameters to avoid Overfitting
13
Dropout Layer :
avoid Overfitting by putting Dropout Layer after each Max-
Pooling Layer
14
ReLu ( Rectified Linear Unit ) as Activation Function :
ReLu function is zero when z is less than zero and f(z) is
equal to z when z is above or equal to zero
15
Visualize The Model
What is the CNN result ?
▫ This solution return 78% accuracy which is not bad but
there was Overfitting
16
What is Data Augmentation ?
▫ Rotation of the image , shifting left/right/top/bottom
by some amount , flip the image horizontally or
vertically , zoom ..etc.
17
What is the CNN result ?
▫ To solve the Overfitting Problem we did
DATA AUGMENTATION and it solved the problem !!!
Accuracy is 79.57%
18
Transfer
Learning
What is transfer learning ?
19
To use already trained models on very large amounts of data for
difficult tasks with thousands of classes that research group share in
the competitions like ILSVRC and ImageNet
Transfer Learning
20
Pre-trained Models on :
ImageNet
It contains more than 14 million
images belong to more than
20,000 classes
ILSVRC
ImageNet Large Scale Visual
Recognition Challenge to
evaluate their computer vision
algorithms
The training data subset of
ImageNet 1.2 million images
belong to 1000 class
21
Why Use Pre-trained
Models ?
22
Why Use Pre-trained Models ?
23
20XX
We need powerful GPUs
20XX
It takes a large amount of time
to train the network
20XX
To finding all the unknown
parameters we need a lot of data
20XX
Deep networks have large
number of unknown parameters.
This network is characterized by its simplicity , using only 3*3
convolutional layers stacked on top of each other in increasing depth
VGG16 -VGG19
24
GoogleNet Or InceptionV3
25
The goal of the inception module is to act as a “multi-level feature
extractor “ by computing 1*1 , 3*3 and 5*5 convolutions within the
same module of the network .
The output of these filters are then stacked along the channel
dimensions and before being fed into the next layer in the network
GoogleNet Or InceptionV3
26
What is Vanishing Gradient Problem ?
27
This problem makes it really hard to learn and tune the parameters
of the earlier layers in the network , and it’s becomes worse as the
number of layers in the architectures increase .
ResNet
28
This architecture solved Vanishing gradient problem by identity
mapping
OUR PROCESS IS
29
STEP 3
compare the results
STEP 1
Extract features from The
pre-trained models (VGG16 &
VGG19 & InceptionV3 &
ResNet)
STEP 2
Fine-tuning the parameters
By trying to build LinearSVC
classifier with many possible C
Extract Features
30
Visualze our Features by PCA
31
Fine Tuning The SVM Parameters
32
The Result is
33
91,58
Whoa! That’s a big number, aren’t you proud?
34
83,45
KNN
100%
Total success!
90,37
Logistic Regression
35
36
THANKS!
Any questions?
1 de 36

Recomendados

Image classification using cnn por
Image classification using cnnImage classification using cnn
Image classification using cnnSumeraHangi
719 visualizações22 slides
Convolutional neural network por
Convolutional neural networkConvolutional neural network
Convolutional neural networkMojammilHusain
1.1K visualizações11 slides
Convolutional Neural Network por
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural NetworkVignesh Suresh
262 visualizações10 slides
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S... por
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Simplilearn
13.6K visualizações63 slides
Deep Learning - Convolutional Neural Networks por
Deep Learning - Convolutional Neural NetworksDeep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksChristian Perone
71.4K visualizações86 slides
Image classification using CNN por
Image classification using CNNImage classification using CNN
Image classification using CNNNoura Hussein
5.3K visualizações14 slides

Mais conteúdo relacionado

Mais procurados

CNN Tutorial por
CNN TutorialCNN Tutorial
CNN TutorialSungjoon Choi
5.6K visualizações37 slides
Image classification with Deep Neural Networks por
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural NetworksYogendra Tamang
7.6K visualizações29 slides
CNN and its applications by ketaki por
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketakiKetaki Patwari
1.7K visualizações50 slides
Convolutional Neural Network and Its Applications por
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its ApplicationsKasun Chinthaka Piyarathna
4.6K visualizações23 slides
Machine Learning - Convolutional Neural Network por
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural NetworkRichard Kuo
1K visualizações36 slides
Understanding Convolutional Neural Networks por
Understanding Convolutional Neural NetworksUnderstanding Convolutional Neural Networks
Understanding Convolutional Neural NetworksJeremy Nixon
1.4K visualizações36 slides

Mais procurados(20)

CNN Tutorial por Sungjoon Choi
CNN TutorialCNN Tutorial
CNN Tutorial
Sungjoon Choi5.6K visualizações
Image classification with Deep Neural Networks por Yogendra Tamang
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural Networks
Yogendra Tamang7.6K visualizações
CNN and its applications by ketaki por Ketaki Patwari
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketaki
Ketaki Patwari1.7K visualizações
Convolutional Neural Network and Its Applications por Kasun Chinthaka Piyarathna
Convolutional Neural Network and Its ApplicationsConvolutional Neural Network and Its Applications
Convolutional Neural Network and Its Applications
Kasun Chinthaka Piyarathna4.6K visualizações
Machine Learning - Convolutional Neural Network por Richard Kuo
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural Network
Richard Kuo1K visualizações
Understanding Convolutional Neural Networks por Jeremy Nixon
Understanding Convolutional Neural NetworksUnderstanding Convolutional Neural Networks
Understanding Convolutional Neural Networks
Jeremy Nixon1.4K visualizações
Deep learning por Benha University
Deep learningDeep learning
Deep learning
Benha University8.4K visualizações
Image Classification with Deep Learning | DevFest + GDay, George Town, Mala... por Virot "Ta" Chiraphadhanakul
Image Classification with Deep Learning  |  DevFest + GDay, George Town, Mala...Image Classification with Deep Learning  |  DevFest + GDay, George Town, Mala...
Image Classification with Deep Learning | DevFest + GDay, George Town, Mala...
Virot "Ta" Chiraphadhanakul1.3K visualizações
Convolutional neural network por Yan Xu
Convolutional neural network Convolutional neural network
Convolutional neural network
Yan Xu5.3K visualizações
Resnet por ashwinjoseph95
ResnetResnet
Resnet
ashwinjoseph951.6K visualizações
Convolutional Neural Network (CNN) - image recognition por YUNG-KUEI CHEN
Convolutional Neural Network (CNN)  - image recognitionConvolutional Neural Network (CNN)  - image recognition
Convolutional Neural Network (CNN) - image recognition
YUNG-KUEI CHEN4.3K visualizações
cnn ppt.pptx por rohithprabhas1
cnn ppt.pptxcnn ppt.pptx
cnn ppt.pptx
rohithprabhas1291 visualizações
Object classification using CNN & VGG16 Model (Keras and Tensorflow) por Lalit Jain
Object classification using CNN & VGG16 Model (Keras and Tensorflow) Object classification using CNN & VGG16 Model (Keras and Tensorflow)
Object classification using CNN & VGG16 Model (Keras and Tensorflow)
Lalit Jain6.5K visualizações
Introduction to Convolutional Neural Networks por Hannes Hapke
Introduction to Convolutional Neural NetworksIntroduction to Convolutional Neural Networks
Introduction to Convolutional Neural Networks
Hannes Hapke4.9K visualizações
CNN Machine learning DeepLearning por Abhishek Sharma
CNN Machine learning DeepLearningCNN Machine learning DeepLearning
CNN Machine learning DeepLearning
Abhishek Sharma541 visualizações
GAN - Theory and Applications por Emanuele Ghelfi
GAN - Theory and ApplicationsGAN - Theory and Applications
GAN - Theory and Applications
Emanuele Ghelfi9.4K visualizações
Convolutional Neural Networks : Popular Architectures por ananth
Convolutional Neural Networks : Popular ArchitecturesConvolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular Architectures
ananth1.6K visualizações
Convolutional Neural Networks por Ashray Bhandare
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
Ashray Bhandare16.1K visualizações
Convolutional Neural Networks (CNN) por Gaurav Mittal
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
Gaurav Mittal58.5K visualizações

Similar a Image Classification using deep learning

ImageNet Classification with Deep Convolutional Neural Networks por
ImageNet Classification with Deep Convolutional Neural NetworksImageNet Classification with Deep Convolutional Neural Networks
ImageNet Classification with Deep Convolutional Neural NetworksWilly Marroquin (WillyDevNET)
349 visualizações9 slides
Introduction to Convolutional Neural Networks por
Introduction to Convolutional Neural NetworksIntroduction to Convolutional Neural Networks
Introduction to Convolutional Neural NetworksParrotAI
512 visualizações25 slides
Convolutional neural networks 이론과 응용 por
Convolutional neural networks 이론과 응용Convolutional neural networks 이론과 응용
Convolutional neural networks 이론과 응용홍배 김
2.2K visualizações63 slides
Deep learning-practical por
Deep learning-practicalDeep learning-practical
Deep learning-practicalHitesh Mohapatra
1.2K visualizações33 slides
Modern Convolutional Neural Network techniques for image segmentation por
Modern Convolutional Neural Network techniques for image segmentationModern Convolutional Neural Network techniques for image segmentation
Modern Convolutional Neural Network techniques for image segmentationGioele Ciaparrone
2.9K visualizações59 slides
深度學習在AOI的應用 por
深度學習在AOI的應用深度學習在AOI的應用
深度學習在AOI的應用CHENHuiMei
1.4K visualizações55 slides

Similar a Image Classification using deep learning (20)

ImageNet Classification with Deep Convolutional Neural Networks por Willy Marroquin (WillyDevNET)
ImageNet Classification with Deep Convolutional Neural NetworksImageNet Classification with Deep Convolutional Neural Networks
ImageNet Classification with Deep Convolutional Neural Networks
Willy Marroquin (WillyDevNET)349 visualizações
Introduction to Convolutional Neural Networks por ParrotAI
Introduction to Convolutional Neural NetworksIntroduction to Convolutional Neural Networks
Introduction to Convolutional Neural Networks
ParrotAI512 visualizações
Convolutional neural networks 이론과 응용 por 홍배 김
Convolutional neural networks 이론과 응용Convolutional neural networks 이론과 응용
Convolutional neural networks 이론과 응용
홍배 김2.2K visualizações
Deep learning-practical por Hitesh Mohapatra
Deep learning-practicalDeep learning-practical
Deep learning-practical
Hitesh Mohapatra1.2K visualizações
Modern Convolutional Neural Network techniques for image segmentation por Gioele Ciaparrone
Modern Convolutional Neural Network techniques for image segmentationModern Convolutional Neural Network techniques for image segmentation
Modern Convolutional Neural Network techniques for image segmentation
Gioele Ciaparrone2.9K visualizações
深度學習在AOI的應用 por CHENHuiMei
深度學習在AOI的應用深度學習在AOI的應用
深度學習在AOI的應用
CHENHuiMei1.4K visualizações
Computer Vision for Beginners por Sanghamitra Deb
Computer Vision for BeginnersComputer Vision for Beginners
Computer Vision for Beginners
Sanghamitra Deb197 visualizações
Waste Classification System using Convolutional Neural Networks.pptx por JohnPrasad14
Waste Classification System using Convolutional Neural Networks.pptxWaste Classification System using Convolutional Neural Networks.pptx
Waste Classification System using Convolutional Neural Networks.pptx
JohnPrasad145 visualizações
Mnist report ppt por RaghunandanJairam
Mnist report pptMnist report ppt
Mnist report ppt
RaghunandanJairam423 visualizações
Mnist report por RaghunandanJairam
Mnist reportMnist report
Mnist report
RaghunandanJairam148 visualizações
cnn.pdf por Amnaalia
cnn.pdfcnn.pdf
cnn.pdf
Amnaalia19 visualizações
IRJET- Mango Classification using Convolutional Neural Networks por IRJET Journal
IRJET- Mango Classification using Convolutional Neural NetworksIRJET- Mango Classification using Convolutional Neural Networks
IRJET- Mango Classification using Convolutional Neural Networks
IRJET Journal33 visualizações
Introduction to computer vision por Marcin Jedyk
Introduction to computer visionIntroduction to computer vision
Introduction to computer vision
Marcin Jedyk56 visualizações
Learn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak por PyData
Learn to Build an App to Find Similar Images using Deep Learning- Piotr TeterwakLearn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak
Learn to Build an App to Find Similar Images using Deep Learning- Piotr Teterwak
PyData5.9K visualizações
Introduction to computer vision with Convoluted Neural Networks por MarcinJedyk
Introduction to computer vision with Convoluted Neural NetworksIntroduction to computer vision with Convoluted Neural Networks
Introduction to computer vision with Convoluted Neural Networks
MarcinJedyk60 visualizações
Deep-learning-for-computer-vision-applications-using-matlab.pdf por AubainYro1
Deep-learning-for-computer-vision-applications-using-matlab.pdfDeep-learning-for-computer-vision-applications-using-matlab.pdf
Deep-learning-for-computer-vision-applications-using-matlab.pdf
AubainYro17 visualizações
Vision Transformer(ViT) / An Image is Worth 16*16 Words: Transformers for Ima... por changedaeoh
Vision Transformer(ViT) / An Image is Worth 16*16 Words: Transformers for Ima...Vision Transformer(ViT) / An Image is Worth 16*16 Words: Transformers for Ima...
Vision Transformer(ViT) / An Image is Worth 16*16 Words: Transformers for Ima...
changedaeoh293 visualizações
Convolution Neural Network (CNN) por Suraj Aavula
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)
Suraj Aavula13.6K visualizações
Deep Neural Network DNN.docx por jaffarbikat
Deep Neural Network DNN.docxDeep Neural Network DNN.docx
Deep Neural Network DNN.docx
jaffarbikat3 visualizações

Último

Five Things You SHOULD Know About Postman por
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanPostman
33 visualizações43 slides
Mini-Track: Challenges to Network Automation Adoption por
Mini-Track: Challenges to Network Automation AdoptionMini-Track: Challenges to Network Automation Adoption
Mini-Track: Challenges to Network Automation AdoptionNetwork Automation Forum
12 visualizações27 slides
Democratising digital commerce in India-Report por
Democratising digital commerce in India-ReportDemocratising digital commerce in India-Report
Democratising digital commerce in India-ReportKapil Khandelwal (KK)
15 visualizações161 slides
STPI OctaNE CoE Brochure.pdf por
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdfmadhurjyapb
14 visualizações1 slide
Microsoft Power Platform.pptx por
Microsoft Power Platform.pptxMicrosoft Power Platform.pptx
Microsoft Power Platform.pptxUni Systems S.M.S.A.
53 visualizações38 slides
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive por
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveNetwork Automation Forum
31 visualizações35 slides

Último(20)

Five Things You SHOULD Know About Postman por Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman33 visualizações
Mini-Track: Challenges to Network Automation Adoption por Network Automation Forum
Mini-Track: Challenges to Network Automation AdoptionMini-Track: Challenges to Network Automation Adoption
Mini-Track: Challenges to Network Automation Adoption
Network Automation Forum12 visualizações
Democratising digital commerce in India-Report por Kapil Khandelwal (KK)
Democratising digital commerce in India-ReportDemocratising digital commerce in India-Report
Democratising digital commerce in India-Report
Kapil Khandelwal (KK)15 visualizações
STPI OctaNE CoE Brochure.pdf por madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb14 visualizações
Microsoft Power Platform.pptx por Uni Systems S.M.S.A.
Microsoft Power Platform.pptxMicrosoft Power Platform.pptx
Microsoft Power Platform.pptx
Uni Systems S.M.S.A.53 visualizações
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive por Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Network Automation Forum31 visualizações
virtual reality.pptx por G036GaikwadSnehal
virtual reality.pptxvirtual reality.pptx
virtual reality.pptx
G036GaikwadSnehal11 visualizações
Case Study Copenhagen Energy and Business Central.pdf por Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana16 visualizações
Unit 1_Lecture 2_Physical Design of IoT.pdf por StephenTec
Unit 1_Lecture 2_Physical Design of IoT.pdfUnit 1_Lecture 2_Physical Design of IoT.pdf
Unit 1_Lecture 2_Physical Design of IoT.pdf
StephenTec12 visualizações
SUPPLIER SOURCING.pptx por angelicacueva6
SUPPLIER SOURCING.pptxSUPPLIER SOURCING.pptx
SUPPLIER SOURCING.pptx
angelicacueva615 visualizações
Uni Systems for Power Platform.pptx por Uni Systems S.M.S.A.
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptx
Uni Systems S.M.S.A.56 visualizações
Serverless computing with Google Cloud (2023-24) por wesley chun
Serverless computing with Google Cloud (2023-24)Serverless computing with Google Cloud (2023-24)
Serverless computing with Google Cloud (2023-24)
wesley chun11 visualizações
Scaling Knowledge Graph Architectures with AI por Enterprise Knowledge
Scaling Knowledge Graph Architectures with AIScaling Knowledge Graph Architectures with AI
Scaling Knowledge Graph Architectures with AI
Enterprise Knowledge30 visualizações
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf por Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
Dr. Jimmy Schwarzkopf19 visualizações
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors por sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab19 visualizações
The details of description: Techniques, tips, and tangents on alternative tex... por BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada127 visualizações
Voice Logger - Telephony Integration Solution at Aegis por Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma39 visualizações
Evolving the Network Automation Journey from Python to Platforms por Network Automation Forum
Evolving the Network Automation Journey from Python to PlatformsEvolving the Network Automation Journey from Python to Platforms
Evolving the Network Automation Journey from Python to Platforms
Network Automation Forum13 visualizações
Network Source of Truth and Infrastructure as Code revisited por Network Automation Forum
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisited
Network Automation Forum26 visualizações

Image Classification using deep learning