SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

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

Ähnlich wie 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
 

Kürzlich hochgeladen

Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 

Kürzlich hochgeladen (20)

Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 

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