SlideShare a Scribd company logo
1 of 23
Download to read offline
Louis Monier
@louis_monier
https://www.linkedin.com/in/louismonier
Deep Learning for Images
I see what you mean...
Gregory Renard
@redo
https://www.linkedin.com/in/gregoryrenard
Class 2 - Q2 - 2016
Fun with Images
Image Classification: kayak, boy Entity Detection
kayak boy
Face Recognition
Leo
Gollum
More Fun with Images
Pose DetectionImage SegmentationImage Captioning: “A young boy
wearing an orange vest riding a
yellow kayak on water, with sunlight
reflections.”
Yet more Fun with Images
Optical Character Recognition (OCR):
Astronomy is the science which treats of the nature and
properties of the heavenly bodies.
Autonomous Vehicles
Handwriting Recognition:
combustible: “able to catch fire”, adjective for being capable of
igniting and burning.
Our Wet Hardware
Alternating layers of
- simple cells (filters)
- complex cells (combination)
Simple patterns to abstract concepts
~ 5B neurons for vision
Convolutional Neural Network (ConvNet, CNN)
Suggested by Kunihiko Fukushima, 1980
LeNet, by Yann LeCun, 1998, to classify hand-written digits
filterimage
= 6.6
= -7.8
1.0 - really want
0.2 - sort of want
-1.0 - don’t want
Convolution: Applying a Filter to a Signal
through
through
=
=
image filter
1.0
0.5
0.0
through
through
Convolutional Layer - Basic Unit
5x5x3 chunk of inputs
Layer N Layer N+1
ReLU
neuron
(3)
(3)
(3)
(3)
5 x 5 x 3 = 75 inputs
76 weights
Convolutional Layer: Add Depth
5x5x3 chunk of inputs
Layer N Layer N+1
Depth = 7 ReLU neurons in parallel,
with different weights
Stride = 1
Convolutional Layer: Repeat over entire image
L=W=5
D=4
zero
padding
D=7
Shared weights!!!
Pooling Layer: Squeeeeeze!
Max Pooling Average Pooling
Layer N+1Layer N
Classical CNN topology - VGGNet (2013)
224x224 112x112 56x56 28x28 14x14 FC
D=64
D=128
D=256
D=512
D=512
D=4096 D=4096 D=1000
FC FC + Softmax
ConvNet
Pool
Layer 1
Filter Matching images
Layer 2
Layer 3
Layer 4
Layer 5
Modern ConvNet - GoogLeNet
GoogLeNet (2014)
ResNet-34 (2015)
Manifolds
Real-life Data vs Random Data
If music be the food of love, play on!
-- William Shakespeare
3Flr'kI5;LS3oLj1xK52,BA1 Rea5IYSf
-- 1000 monkeys typing
-- Real world -- Random Pixels
Workshop : Keras & MNIST
https://github.com/holbertonschool/deep-learning/tree/master/Class%20%232
Workshop : Keras & CIFAR 10
https://github.com/holbertonschool/deep-learning/tree/master/Class%20%232

More Related Content

Similar to Deep Learning Class #2 - Deep learning for Images, I See What You Mean

Similar to Deep Learning Class #2 - Deep learning for Images, I See What You Mean (8)

Neuroaesthetics: Sciences embraces art
Neuroaesthetics: Sciences embraces artNeuroaesthetics: Sciences embraces art
Neuroaesthetics: Sciences embraces art
 
A new technology for a new era
A new technology for a new eraA new technology for a new era
A new technology for a new era
 
PHYSIOLOGY(OCULAR) PPT.pptx
PHYSIOLOGY(OCULAR) PPT.pptxPHYSIOLOGY(OCULAR) PPT.pptx
PHYSIOLOGY(OCULAR) PPT.pptx
 
4. darwin and the eye, part 1
4. darwin and the eye, part 14. darwin and the eye, part 1
4. darwin and the eye, part 1
 
Thesis
ThesisThesis
Thesis
 
Unit 1 How to Use Microscope
Unit 1 How to Use MicroscopeUnit 1 How to Use Microscope
Unit 1 How to Use Microscope
 
Night vision technology
Night vision technologyNight vision technology
Night vision technology
 
CHAPTER 3PERCEPTIONGraham Pike, Graham Edgar, and Helen
CHAPTER 3PERCEPTIONGraham Pike, Graham Edgar, and Helen CHAPTER 3PERCEPTIONGraham Pike, Graham Edgar, and Helen
CHAPTER 3PERCEPTIONGraham Pike, Graham Edgar, and Helen
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 

Recently uploaded (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

Deep Learning Class #2 - Deep learning for Images, I See What You Mean

  • 1. Louis Monier @louis_monier https://www.linkedin.com/in/louismonier Deep Learning for Images I see what you mean... Gregory Renard @redo https://www.linkedin.com/in/gregoryrenard Class 2 - Q2 - 2016
  • 2. Fun with Images Image Classification: kayak, boy Entity Detection kayak boy Face Recognition Leo Gollum
  • 3. More Fun with Images Pose DetectionImage SegmentationImage Captioning: “A young boy wearing an orange vest riding a yellow kayak on water, with sunlight reflections.”
  • 4. Yet more Fun with Images Optical Character Recognition (OCR): Astronomy is the science which treats of the nature and properties of the heavenly bodies. Autonomous Vehicles Handwriting Recognition: combustible: “able to catch fire”, adjective for being capable of igniting and burning.
  • 5. Our Wet Hardware Alternating layers of - simple cells (filters) - complex cells (combination) Simple patterns to abstract concepts ~ 5B neurons for vision
  • 6. Convolutional Neural Network (ConvNet, CNN) Suggested by Kunihiko Fukushima, 1980 LeNet, by Yann LeCun, 1998, to classify hand-written digits
  • 7. filterimage = 6.6 = -7.8 1.0 - really want 0.2 - sort of want -1.0 - don’t want Convolution: Applying a Filter to a Signal through through = = image filter 1.0 0.5 0.0 through through
  • 8. Convolutional Layer - Basic Unit 5x5x3 chunk of inputs Layer N Layer N+1 ReLU neuron (3) (3) (3) (3) 5 x 5 x 3 = 75 inputs 76 weights
  • 9. Convolutional Layer: Add Depth 5x5x3 chunk of inputs Layer N Layer N+1 Depth = 7 ReLU neurons in parallel, with different weights
  • 10. Stride = 1 Convolutional Layer: Repeat over entire image L=W=5 D=4 zero padding D=7 Shared weights!!!
  • 11. Pooling Layer: Squeeeeeze! Max Pooling Average Pooling Layer N+1Layer N
  • 12. Classical CNN topology - VGGNet (2013) 224x224 112x112 56x56 28x28 14x14 FC D=64 D=128 D=256 D=512 D=512 D=4096 D=4096 D=1000 FC FC + Softmax ConvNet Pool
  • 18. Modern ConvNet - GoogLeNet GoogLeNet (2014) ResNet-34 (2015)
  • 20. Real-life Data vs Random Data If music be the food of love, play on! -- William Shakespeare 3Flr'kI5;LS3oLj1xK52,BA1 Rea5IYSf -- 1000 monkeys typing -- Real world -- Random Pixels
  • 21.
  • 22. Workshop : Keras & MNIST https://github.com/holbertonschool/deep-learning/tree/master/Class%20%232
  • 23. Workshop : Keras & CIFAR 10 https://github.com/holbertonschool/deep-learning/tree/master/Class%20%232