SlideShare a Scribd company logo
1 of 191
Download to read offline
Understanding Computer vision
Agenda
● About CloudxLab
● About Speaker
● Intro to Machine Learning
● Gradient Descent & Back Propagation
● Neural networks & CNN
● Computer Vision
● GANs
● Face Embedding
CloudxLab.com
AI enabled Ed-Tech platform solving the
skill-gap in emerging technologies.
CloudxLab.com
Learning can be hard without the
right tools, especially Deep Tech
The
Problem
Plethora of content but not
engaging enough
The instant feedback is not
available
Content alone in not
sufficient. Need Practice.
One course doesn’t fit all.
Every user is different
CloudxLab.com
How are we solving it?
Gamified Learning
Environment
Knowledge Graph
To engage you and your peers
for collaborative learning
To identify gaps, and strengths,
and to improve learning curve
CloudxLab.com
Gamified Learning
Environment
BootMLTM
- Build machine learning
models on the fly.
Auto Assessment Engine
Online Lab - Playground
Hooks - Concept Wise Discussion, XP
Points, Forum, Leaderboard
Auto Quiz, Slides Finder in Videos
Best in class content
User Behavioural Analytics
CloudxLab.com
Online Lab - Playground
Everything available on Cloud.
Zero installation - Get started instantaneously.
Real Experience - Real Learning
Access from anywhere, anytime 24x7.
Shared Datasets and Quick to Debug
Very easy to integrate into any LMS
Online Lab - PlaygroundAI Powered gamified environment
CloudxLab.com
Online Lab - PlaygroundAI Powered gamified environment
Technologies available on Cloud
Every open source tool - AI & Big Data
CloudxLab.com
Auto Assessment EngineAI Powered gamified environment
CloudxLab.com
Auto Assessment EngineAI Powered gamified environment
CloudxLab.com
Best In Class ContentAI Powered gamified environment
CloudxLab.com
Social Hooks: JobsAI Powered gamified environment
CloudxLab.com
Social Hooks: JobsAI Powered gamified environment
CloudxLab.com
Social Hooks: ForumAI Powered gamified environment
CloudxLab.com
BootML - build machine learning models on the fly.AI Powered gamified environment
CloudxLab.com
How are we solving it?
With what minimal learning can users get
maximum returns?
Optimized Algorithm to help users figure
out their current knowledge level
Knowledge Graph
Individual’s skill Graph Job skill graph
?
CloudxLab.com
Real / Relavent / Practical Learning
Engagement / Completion Rate
Competitors Map
University Courses
Classroom
Learning
What our
Users say
...And a 100+ such reviews
Feedback on Lab from Users
Been working with a startup from another ex-Amazonian: CloudxLab. Provides a learning environment
for big data processing on a real cluster, that you can access via a web browser. Neat stuff.
Frank Kane , Top Udemy Instructor
Am using cloudxlab for more than an year. The main advantage of using cloudxlab,
a) Get 6 node production cluster with all installed components, just getting user and password, you can start
working on it.
b) You have almost all the access... continue reading
Sachin Peedikakkandy , Sr Engineer at DXC Technology
We took CloudxLab to train our team on big data analytics and when we saw how much easier it
was to use it than set up our own infrastructure. Almost like plug-n-play.
IBM Blue Team , IBM India
(70,000+ Users)
Feedback on Course from Users
Learners from top US Universities
(And many more...)
Corporates
About Me
Sandeep Giri
Worked On Large Scale Computing
Graduated from IIT Roorkee
Software Engineer
Love Explaining Technologies
Founder
Feel free to add me on linkedin
Computer Vision is everywhere
What is Machine Learning?
What is Machine Learning?
Tom Murphy VII
http://tom7.org/
Question
What will you do to make this program learn any other games such as PacMan ?
Option 1 -
Write new
rules as per the
game
Option 2 - Just
hook it to new
game and let it
play for a while
Question
What will you do to make this program learn any other games such as PacMan ?
Option 1 -
Write new
rules as per the
game
Option 2 - Just
hook it to new
game and let it
play for a while
What is Deep Learning?
Nature has inspired many inventions
Inspiration from animal brains to achieve intelligence
How does machine learn?
Typical ML Process > Training
AlgorithmData Model
AlgorithmData Model
Live Data
Prediction
Typical ML Process > Predictions
Typical ML Process > Model and Algorithm
AlgorithmData Model
Live Data
Prediction
Predicting salary based on the number of years
of experience
2000
Predicting Salary
2000, 4000
Predicting Salary
2000, 4000, 6000
Predicting Salary
2000, 4000, 6000, ______
Predicting Salary
2000, 4000, 6000, 8000
Predicting Salary
Years of
Experience
Salary
1 2000
2 4000
3 6000
Historical Data
Let's formulate the machine learning problem..
Predicting Salary
Years of
Experience
Salary
1 2000
2 4000
3 6000
Model
Historical Data
Let's formulate the machine learning problem..
Training
Predicting Salary
Years of
Experience
Salary
1 2000
2 4000
3 6000
Years of
Experience
Salary
4 ???
Model
Historical Data
Unknown Salary
Let's formulate the machine learning problem..
Training
Predicting Salary
Years of
Experience
Salary
1 2000
2 4000
3 6000
Years of
Experience
Salary
4 ???
Model
Years of
Experience
Salary
4 8000
Historical Data
Unknown Salary
Prediction
Let's formulate the machine learning problem..
Training
Predicting Salary
Predicting Salary
1 2 3
2000
4000
6000
How would a computer do it? - plot it
→ Years
Salary
Predicting Salary
1 2 3
2000
4000
6000
How would a computer do it? - plot it
→ Years
Salary
Predicting Salary
1 2 3
2000
4000
6000
How would a computer do it? - plot it
→ Years
Salary
Predicting Salary
1 2 3
2000
4000
6000
How would a computer do it? - plot it
→ Years
Salary
Predicting Salary
1 2 3
2000
4000
6000
How would a computer do it? - plot it
→ Years
Salary
1 2 3
2000
4000
6000
4
Ask the plot for the salary in 4th yr!
Predicting Salary
→ Years
Salary
Predicting Salary
1 2 3
2000
4000
6000
8000
4
It is correct!
→ Years
Salary
1 2 3
2010
3980
6020
Life isn't perfect! You never get straight line!
Predicting Salary
2010
3980
6020
Linear Regression - Find best fitting line
1 2 3Predicting Salary
2010
3980
6020
Line 1
Line 2
Line 3
Normal Equation - Mathematically
Predicting Salary 1 2 3
Line 1Try multiple lines! Whichever is closer.
2010
3980
6020
Line 2
Line 3
Predicting Salary 1 2 3
Gradient Descent
1 2 3 4
2010
3980
6020
Initial Guess
Gradient Descent - A little greedy approach.
Gradient Descent
1 2 3 4
2010
3980
6020
Initial Guess
Try Increasing the
slope a little bit
Gradient Descent - find impact of slight change
Gradient Descent
1 2 3 4
2010
3980
6020
Initial Guess
Try Increasing the
slope a little bit
Gradient Descent - guess next line!
Next line
Gradient Descent
Gradient Descent
Increase in slope is proportional to Rate of decrease of error w.r.t change in slope
Gradient Descent
1 2 3 4
2010
3980
6020
Initial
Guess
Try Increasing the
slope a little bit
Next line
Gradient Descent
Increase in slope = learning rate * Rate of decrease of error wrt change in slope
Some constant.
Gradient Descent
1 2 3 4
2010
3980
6020
Initial
Guess
Try Increasing the
slope a little bit
Next line
1 2 3 4
2010
3980
6020
Initial
Guess
Try Increasing the
slope a little bit
Next line
Gradient Descent
New Slope = Old Slope + Learning Rate * Rate of decrease of error wrt change in slope
Gradient Descent
1 2 3 4
2010
3980
6020
Initial Guess
Try Increasing the slope a
little bit
Next line
What if error increased
due to increasing slope?
Gradient Descent
Start with random line
Gradient Descent
Gradient Descent > Flowchart
Increase the slope a bit
& Calculate change in error
Start with random line
Did the
error
decrease?
Gradient Descent
Gradient Descent > Flowchart
Increase the slope a bit
& Calculate change in error
Start with random line
Did the
error
decrease?
Increase the
slope.
Yes
Gradient Descent
Gradient Descent > Flowchart
Increase the slope a bit
& Calculate change in error
Start with random line
Did the
error
decrease?
Decrease the
slope.
No. Error
increased
Increase the
slope.
Yes
Gradient Descent
Gradient Descent > Flowchart
Increase the slope a bit
& Calculate change in error
Start with random line
Did the
error
decrease?
Decrease the
slope.
Stop, you have found the
best line
No. Error
increased
Increase the
slope.
Yes
No, Error didn't change
Gradient Descent
Gradient Descent > Flowchart
Increase the slope a bit
& Calculate change in error
Start with random line
Did the
error
decrease?
Decrease the
slope.
Stop, you have found the
best line
No. Error
increased
Increase the
slope.
Yes
No, Error didn't change
Next epoch / iterationNext epoch / iteration
Gradient Descent
Gradient Descent > Flowchart
Gradient Descent
Gradient Descent > Tap Analogy
Gradient Descent
Gradient Descent > Tap Analogy
Gradient Descent
Gradient Descent > Tap Analogy
Gradient Descent
New Position
Gradient Descent > Tap Analogy
Gradient Descent
Begin Again!
Gradient Descent > Tap Analogy
Gradient Descent
New Position
Slight right twist
Gradient Descent > Tap Analogy
What if we had two knob?
Comfortable
position
Gradient Descent > Tap Analogy
What if we had two knob?
Gradient Descent > Two Knobs
Gradient Descent
Gradient Descent > Two Knobs
Hot
Cold
Good Flow
Right Temperature
ModelInput Output
Gradient Descent > Model
Weights
What if we had more input features?
Hot
Cold
Good Flow
Right Temperature
Country
Gender
Climate
Gradient Descent > Model
Model
Weights
Input Output
Deep Learning - Artificial Neural Network(ANN)
Computing systems inspired by the biological neural networks that constitute animal
brains.
Deep Learning > Artificial Neural Network (ANN)
Multiple layers of neurons
Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
Multiple layers of neurons
Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
Multiple layers of neurons
Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
Multiple layers of neurons
Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
What if we had more input features?
Hot
Cold
Good Flow
Right Temperature
Model
Weights
Input Output
Country
Gender
Climate
Deep Learning > Simple Neural Network (ANN)
We could improve the model further...
Hot
Cold
Good Flow
Right Temperature
ModelInput Output
Country
Gender
Climate
Deep Learning > Deep Learning Neural Network (DNN)
And further….
Deep Neural Network...
Hot
Cold
Good Flow
Right Temperature
Neural NetworkInput layer Output layer
Country
Gender
Climate
Deep Learning > Deep Learning Neural Network (DNN)
Training Neural Networks - Single Neuron
Hot
Cold
Right Temperature
Deep Learning > Training Neural Network
Training Neural Networks - How?
Hot
Cold
Right Temperature
Deep Learning > Training Neural Network
Training Neural Networks - How?
Backpropagation - Two neuron
Hot
Cold
Right Temperature
First Knob Second Knob
Deep Learning > Training Neural Network > Backpropagation
Training Neural Networks - Backpropagation
Hot
Cold
Right Temperature
1. Initialisation
First Knob Second Knob
Deep Learning > Training Neural Network > Backpropagation
Training Neural Networks - Backpropagation
Hot
Cold
Right Temperature ??
2. Forward Pass
Interim temperature
Deep Learning > Training Neural Network > Backpropagation
Training Neural Networks - Backpropagation
Hot
Cold
Right Temperature ??
3. Reverse Pass - Tweak Second knob.
Interim temperature
Deep Learning > Training Neural Network > Backpropagation
Training Neural Networks - Backpropagation
Hot
Cold
Right Temperature ??
3. Reverse Pass - Tweak first knob.
Interim temperature
Deep Learning > Training Neural Network > Backpropagation
Training Neural Networks - Backpropagation
Hot
Cold
Right Temperature ??
4. Reverse Pass - Tweak first knob.
Interim temperature
Deep Learning > Training Neural Network > Backpropagation
Training Neural Networks - Backpropagation
Hot
Cold
Right Temperature ??
4. Reverse Pass - Tweak first knob.
Interim temperature
Deep Learning > Training Neural Network > Backpropagation
Training Neural Networks - Backpropagation
Hot
Cold
Right Temperature ??
Back to 1. Forward Pass - Take next instance
Interim temperature
Deep Learning > Training Neural Network > Backpropagation
Artificial Neuron - Let's get real!
Deep Learning > Artificial Neuron
Artificial Neuron - Let's get real!
Input
Neuron
Connection
weight Output
Deep Learning > Artificial Neuron
Artificial Neuron - Let's get real!
bias
Deep Learning > Artificial Neuron
Input
Neuron
Connection
weight Output
Artificial Neuron - Let's get real!
Output = Input * weight + bias
Deep Learning > Artificial Neuron > Weight and Bias
bias
Input
Neuron
Connection
weight Output
Artificial Neuron - Let's get real!
Output = Input * weight + bias
Deep Learning > Artificial Neuron > Weight and Bias
bias
Input
Neuron
Connection
weight Output
Artificial Neuron - Let's get real!
Input1 Neuron
bias
Output
Input2
Connection
Weight 2
Connection
Weight 1
Deep Learning > Artificial Neuron
Artificial Neuron - Let's get real!
Output = Input1 * weight1 + input2 * weight2 + bias
Deep Learning > Artificial Neuron
Input1 Neuron
bias
Output
Input2
Connection
Weight 2
Connection
Weight 1
Artificial Neuron - Let's get real!
Input1
Neuron
bias
Connection
weight
Input2
Connection
weight
Activation function
If value is too low, gives 0.
Output
Deep Learning > Artificial Neuron
Artificial Neuron - Let's get real!
Input1 Neuron
bias
Connection
weight
Output
Activation function
If value is too low, gives 0.Input2
Connection
weight
Deep Learning > Artificial Neuron
Artificial Neuron - To make it like a electric circuit
Input1 Neuron
bias
Connection
weight
Output
Input2
Connection
weight
Deep Learning > Artificial Neuron
Artificial Neuron - To make it like a electric circuit
Input1 Neuron
bias
Connection
weight
Output
Input2
Connection
weight
Deep Learning > Artificial Neuron
Backpropagation with example
Training a network based on years of work experience as input and Salary as output
Deep Learning > Artificial Neuron > Backpropagation
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Deep Learning > Artificial Neuron > Backpropagation
Training a network based on years of work experience as input and Salary as output
First Second
?
?
?
?
actual
value
Epoch 1
Record 1
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Deep Learning > Artificial Neuron > Backpropagation
1.0
4
Initialize with random weights or
knobs.
50
0.1
30
actual
value
100
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 1
Deep Learning > Artificial Neuron > Backpropagation
Two Neurons - 4 knobs.
Take first record...
?
4
?
?
?
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 1
actual
value
100
Deep Learning > Artificial Neuron > Backpropagation
1.0
4
Do the forward pass
50
0.1
30
54
4*1.0 + 50
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 1
actual
value
100
Deep Learning > Artificial Neuron > Backpropagation
1.0
4
Do the forward pass
50
0.1
30
actual
value
10035.454
Compute
d value
54*0.1 + 30
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 1
Deep Learning > Artificial Neuron > Backpropagation
1.0
4
Compute the error
50
0.1
30
actual
value
10035.454
Computed
value
{
|| 100 - 35.4 ||
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 1
Deep Learning > Artificial Neuron > Backpropagation
1.0
4
50
0.2
50
actual
value
10035.454
Computed
value
Back Pass: Tweak the knob of the
second neuron
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 1
Deep Learning > Artificial Neuron > Backpropagation
2.0
4
40
0.2
50
actual
value
10035.454
Computed
value
Back Pass: Freeze the second knob,
tweak the knob of the first neuron
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 1
Deep Learning > Artificial Neuron > Backpropagation
Next Record. Repeat the process,
Tweak the weights...
2.0
5
40
0.2
50
actual
value
13050 55
Computed
value
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 2
Deep Learning > Artificial Neuron > Backpropagation
Next Record. Repeat the process,
Tweak the weights...
3.0
2
45
0.25
55
actual
value
3051 67.75
Computed
value
Epoch 1
Record 3
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Deep Learning > Artificial Neuron > Backpropagation
Next Record. Repeat the process,
Tweak the weights...
3.5
5
47
0.2
40
actual
value
14064.5 65.2
Computed
value
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 1
Record 4
Deep Learning > Artificial Neuron > Backpropagation
Next Epoch. Begin again from the first
record ...
4.0
4
51
0.21
41
actual
value
10067 54.07
Computed
value
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 2
Record 1
Deep Learning > Artificial Neuron > Backpropagation
Epoch #2 , Second Record, and so on.
5.0
5
50
0.1
45
actual
value
13075 52.5
Computed
value
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
Epoch 2
Record 2
Deep Learning > Artificial Neuron > Backpropagation
Once it has been trained, it is ready to
do the predictions
4.75
6
42.25
0.215
43.12
???
Predicted
value
EMP
Work
Ex
Salary
emp1 4 100
emp2 5 130
emp3 2 30
emp4 5 140
emp5 6 ??
Deep Learning > Artificial Neuron > Backpropagation
MNIST - classifying a handwritten image into 10 labels.
ANN or Fully connected Neural Network
0
1
2
3
4
5
6
7
8
9
Labels
Deep Learning > Artificial Neuron > ANN
It would basically compute probabilities of various digits
Training Neural Network - MNIST
.001
.001
0.04
0.06
0.03
0.1
0.07
0.01
0.6
0.07
Probabilities
0
1
2
3
4
5
6
7
8
9
Labels
Deep Learning > Artificial Neuron > ANN
Training Neural Network - MNIST
How to train it?
.001
.001
0.04
0.06
0.03
0.1
0.07
0.01
0.6
0.07
Probabilities
Deep Learning > Artificial Neuron > ANN
Step 1 - Initialize the weights
ANN or Fully connected Neural Network
Actual
0
1
2
3
4
5
6
7
8
9
Labels
0
0
0
0
0
0
0
0
1
0
Deep Learning > Artificial Neuron > ANN
Training Neural Network - MNIST
Take an instance from training data.
Actual Labels
0
1
2
3
4
5
6
7
8
9
0
0
0
0
0
0
0
0
1
0
Deep Learning > Artificial Neuron > ANN
Step 2 - Forward pass
ANN or Fully connected Neural Network
Labels
Intermediate values
Actual
0
1
2
3
4
5
6
7
8
9
0
0
0
0
0
0
0
0
1
0
Deep Learning > Artificial Neuron > ANN
ANN or Fully connected Neural Network
Step 2 - Forward pass
0
1
2
3
4
5
6
7
8
9
0
0
0
0
0
0
0
0
1
0
Actual Labels
Deep Learning > Artificial Neuron > ANN
Step 2 - Forward pass
Actual Labels
.1
.1
0.05
0.15
0.11
0.99
0.1
0.18
0.02
0.1
Computed
ANN or Fully connected Neural Network
0
0
0
0
0
0
0
0
1
0
0
1
2
3
4
5
6
7
8
9
Deep Learning > Artificial Neuron > ANN
ANN or Fully connected Neural Network
Step 2 - Forward pass
Actual Labels
.1
.1
0.05
0.15
0.11
0.99
0.1
0.18
0.02
Computed
0
0
0
0
0
0
0
0
1
0
0
1
2
3
4
5
6
7
8
90.1
Deep Learning > Artificial Neuron > ANN
ANN or Fully connected Neural Network
Step 3 - Back Pass - Second Layer
Frozen
Layer
0.1
Actual Labels
.1
.1
0.05
0.15
0.11
0.99
0.1
0.18
0.02
Computed
0
0
0
0
0
0
0
0
1
0
0
1
2
3
4
5
6
7
8
9
Deep Learning > Artificial Neuron > ANN
Training Neural Network - MNIST
.1
.1
0.05
0.15
0.11
0.99
0.1
0.18
0.02
0.1
Predicted
Frozen
Layer
Step 2 - Forward pass
Actual Labels
0
0
0
0
0
0
0
0
1
0
0
1
2
3
4
5
6
7
8
9
Deep Learning > Artificial Neuron > ANN > Training
Pick next instance
Training Neural Network - MNIST
.45
.01
0.03
0.25
0.01
0.03
0.02
0.1
0.01
0.1
Predicted Actual Labels
1
0
0
0
0
0
0
0
0
0
0
1
2
3
4
5
6
7
8
9
Deep Learning > Artificial Neuron > ANN > Training
Next Iteration or epoch
Training Neural Network - MNIST
.1
.1
0.05
0.15
0.11
0.99
0.1
0.18
0.02
0.1
Predicted
0
0
0
0
0
0
0
0
1
0
Actual
Deep Learning > Artificial Neuron > ANN > Training
Male
Female
This will require a lot of computing
power
Layers of neurons
10,000
pixels Output layer
100x100
3 layers each with 10000 weights and 2 last
Total connections: 10000x10000 + 10000x10000 + 10000x2 ~ 200 million
CNN > Fully Connected Network vs CNN
Male
Female
This will require a lot of computing
power
Layers of neurons
10,000
pixels Output layer
100x100
CNN > Fully Connected Network vs CNN
Also notice that the adjacent pixels at 0,0 and 1,1 would go far away.
CNNs solve this problem by using partially connected layers called
Convolutional Layers
CNN > Fully Connected Network vs CNN
CNN > Convolutional Layer
● Neurons in the first convolutional layer are
connected only to pixels in their receptive
fields.
Convolutional Layer
CNN > Convolutional Layer
● Neurons in the first convolutional layer are
connected only to pixels in their receptive
fields.
Receptive Field
Convolutional Layer
CNN > Convolutional Layer
Convolutional Layer
● Neurons in the first convolutional layer are
connected only to pixels in their receptive
fields.
● Each neuron in the second convolutional
layer is connected only to neurons located
within a small rectangle in the first layer
Receptive Field
CNN > Convolutional Layer
Convolutional Layer
● The network concentrates on low-level
features in the first hidden layer
Receptive Field
CNN > Convolutional Layer
Convolutional Layer
● The network concentrates on low-level
features in the first hidden layer
● Then assemble them into higher-level
features in the next hidden layer and so on.
Receptive Field
CNN > Convolutional Layer
Convolutional Layer
● The network concentrates on low-level
features in the first hidden layer
● Then assemble them into higher-level
features in the next hidden layer and so on.
● This hierarchical structure is common in
real-world images
Receptive Field
CNN > Convolutional Layer
CNN > Convolutional Layer
CNN > Convolutional Layer
Input Layer
This figure shows how the layers of CNN are formed
CNN > Convolutional Layer
Input Layer
Convolutional Layer
This figure shows how the layers of CNN are formed
This figure shows how the layers of CNN are formed
CNN > Convolutional Layer
Input Layer
Convolutional Layer
Receptive Field
CNN > Convolutional Layer
This figure shows how the layers of CNN are formed
Input Layer
Convolutional Layer
CNN > Convolutional Layer
0 1 0
0 1 0
0 1 0
0 0 0
1 1 1
0 0 0
Vertical Filter Horizontal Filter
This figure shows how the layers of CNN are formed
Convolutional Layer
Input Layer
CNN > Pooling Layers
Input Image
Shrinked Image
Pooling Layers
CNN > Pooling Layers
Pooling Layers
● Computes the maximum value of the receptive field - Max pool
CNN > Pooling Layers
Pooling Layers
● Computes the maximum value of the receptive field - Max pool
● Computes the average of all pixels - Average pool
Output
CNN > Architectures
The Image Classification Challenge:
1,000 object classes 1,431,167 images
Progress so far
Russakovsky et al. IJCV 2015
Problems related to image classification ...
A typical CNN..
How AI works in it?
Various Computer Vision Task
How AI works in it?
Sliding Window
R-CNN < Fast R-CNN
< Faster R-CNN < Mask R-CNN
< YOLO < YOLO v3
How AI works in it?
YOLO v3
(You Only Look Once)
Fastest object detection algorithm
Deep CNN
Intersection
over Union
Bounding Box
Detection
Yolo v3 - Deep CNN
More at:
https://pjreddie.com/media/files/papers/YOLOv3.pdf
https://www.youtube.com/watch?v=MPU2HistivI
What?
● In a conference like this
● we want to live stream and record it.
● But the presenter gets out of focus as she/he moves
● Automating the cameraman is the only option!
● For the humanity :)
● See https://cloudxlab.com/blog/creating-ai-based-cameraman/
The Setup
How does it work?
● Read image from the USB camera
● Using OPENCV / YOLO identify the object in the image
● Keep only the persons
● For all the persons
○ Pick the one which has the biggest bounding box
● Rotate the motors to bring
○ Centre of the bounding box to centre of the main image,
● Sleep for some time, go back to step 1
Beyond 2D Object Detection...
Object Detection + Captioning = Dense Captioning
Generative Adversarial Network (GANs)
Image
Generator
Detector
Real
Fake
By Ian J. Goodfellow, Yoshua Bengio and others in 2014.
Yann LeCun called adversarial training “the most interesting idea in the last 10 years in ML.”
Generative Adversarial Network (GANs)
https://www.youtube.com/watch?v=kSLJriaOumA
Face Embedding
Example Face Embedding
Example Face Embedding
Facenet
Facenet
Facenet
Facenet
[0.3, -0.1, 0.3, …… 128 numbers]
[0.2, 0.1, 0.8, …… 128 numbers]
[0.1, 0.2, 0.6, …… 128 numbers]
[0.8, 0.9, 0.3, …… 128 numbers]
Facenet
[0.2, -0.1, 0.3, …… 128 numbers]
Example Face Embedding
Facenet
Facenet
Facenet
Facenet
[0.3, -0.1, 0.3, …… 128 numbers]
[0.2, 0.1, 0.8, …… 128 numbers]
[0.1, 0.2, 0.6, …… 128 numbers]
[0.8, 0.9, 0.3, …… 128 numbers]
Facenet
[0.2, -0.1, 0.3, …… 128 numbers]
Face Embedding
Result
Suraj SharmaSandeep Giri
DejaView.AI - It is a plug and play solution to recognize and recall your users.
Few of the use cases are: Giving loyalty points to your users, letting your
employees enter the premises based on the face recognition.
Application of Computer Vision
Upskill Yourself - Get Certification From E&ICT Academy, IIT Roorkee
● Big Data Engineering
with Hadoop and Spark
● Self-paced
● 60+ hours of learning
● Starts from $59
● Machine Learning
Specialization - Includes
Python, Machine Learning
and Deep Learning
● Self-paced
● 100+ hours of learning
● Starts from $99
● Python Foundations for
Machine Learning
● Self-paced
● 40+ hours of learning
● Starts from $99
Upskill Yourself
● AI for Managers
● For Technical product managers, project
managers, business heads, senior
managers and team leads
● Self-paced
● 60+ hours of learning
● Starts from $99
Questions?
https://discuss.cloudxlab.com
reachus@cloudxlab.com

More Related Content

What's hot

COCOA: Communication-Efficient Coordinate Ascent
COCOA: Communication-Efficient Coordinate AscentCOCOA: Communication-Efficient Coordinate Ascent
COCOA: Communication-Efficient Coordinate Ascentjeykottalam
 
MLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott ClarkMLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott ClarkSigOpt
 
Introduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learnIntroduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learnMatt Hagy
 
Get Competitive with Driverless AI
Get Competitive with Driverless AIGet Competitive with Driverless AI
Get Competitive with Driverless AISri Ambati
 
Scalable Deep Learning Using Apache MXNet
Scalable Deep Learning Using Apache MXNetScalable Deep Learning Using Apache MXNet
Scalable Deep Learning Using Apache MXNetAmazon Web Services
 
Introduction to Machine Learning in Python using Scikit-Learn
Introduction to Machine Learning in Python using Scikit-LearnIntroduction to Machine Learning in Python using Scikit-Learn
Introduction to Machine Learning in Python using Scikit-LearnAmol Agrawal
 
Appraiser : How Airbnb Generates Complex Models in Spark for Demand Prediction
Appraiser : How Airbnb Generates Complex Models in Spark for Demand PredictionAppraiser : How Airbnb Generates Complex Models in Spark for Demand Prediction
Appraiser : How Airbnb Generates Complex Models in Spark for Demand PredictionYang Li Hector Yee
 
(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305Amazon Web Services
 
QCon Rio - Machine Learning for Everyone
QCon Rio - Machine Learning for EveryoneQCon Rio - Machine Learning for Everyone
QCon Rio - Machine Learning for EveryoneDhiana Deva
 
Distributed Deep Learning on AWS with Apache MXNet
Distributed Deep Learning on AWS with Apache MXNetDistributed Deep Learning on AWS with Apache MXNet
Distributed Deep Learning on AWS with Apache MXNetAmazon Web Services
 
Tom Peters, Software Engineer, Ufora at MLconf ATL 2016
Tom Peters, Software Engineer, Ufora at MLconf ATL 2016Tom Peters, Software Engineer, Ufora at MLconf ATL 2016
Tom Peters, Software Engineer, Ufora at MLconf ATL 2016MLconf
 
Robust real time object detection
Robust real time object detectionRobust real time object detection
Robust real time object detectionErliyah Jannah
 
Deep Learning Meetup 7 - Building a Deep Learning-powered Search Engine
Deep Learning Meetup 7 - Building a Deep Learning-powered Search EngineDeep Learning Meetup 7 - Building a Deep Learning-powered Search Engine
Deep Learning Meetup 7 - Building a Deep Learning-powered Search EngineKoby Karp
 
Data Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learnData Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learnAsim Jalis
 
Deep learning with TensorFlow
Deep learning with TensorFlowDeep learning with TensorFlow
Deep learning with TensorFlowBarbara Fusinska
 
Surge: Rise of Scalable Machine Learning at Yahoo!
Surge: Rise of Scalable Machine Learning at Yahoo!Surge: Rise of Scalable Machine Learning at Yahoo!
Surge: Rise of Scalable Machine Learning at Yahoo!DataWorks Summit
 
Machine Learning Overview
Machine Learning OverviewMachine Learning Overview
Machine Learning OverviewMykhailo Koval
 
Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...
Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...
Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...MLconf
 
Better {ML} Together: GraphLab Create + Spark
Better {ML} Together: GraphLab Create + Spark Better {ML} Together: GraphLab Create + Spark
Better {ML} Together: GraphLab Create + Spark Turi, Inc.
 
Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16
Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16
Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16MLconf
 

What's hot (20)

COCOA: Communication-Efficient Coordinate Ascent
COCOA: Communication-Efficient Coordinate AscentCOCOA: Communication-Efficient Coordinate Ascent
COCOA: Communication-Efficient Coordinate Ascent
 
MLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott ClarkMLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott Clark
 
Introduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learnIntroduction to Machine Learning with Python and scikit-learn
Introduction to Machine Learning with Python and scikit-learn
 
Get Competitive with Driverless AI
Get Competitive with Driverless AIGet Competitive with Driverless AI
Get Competitive with Driverless AI
 
Scalable Deep Learning Using Apache MXNet
Scalable Deep Learning Using Apache MXNetScalable Deep Learning Using Apache MXNet
Scalable Deep Learning Using Apache MXNet
 
Introduction to Machine Learning in Python using Scikit-Learn
Introduction to Machine Learning in Python using Scikit-LearnIntroduction to Machine Learning in Python using Scikit-Learn
Introduction to Machine Learning in Python using Scikit-Learn
 
Appraiser : How Airbnb Generates Complex Models in Spark for Demand Prediction
Appraiser : How Airbnb Generates Complex Models in Spark for Demand PredictionAppraiser : How Airbnb Generates Complex Models in Spark for Demand Prediction
Appraiser : How Airbnb Generates Complex Models in Spark for Demand Prediction
 
(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305
 
QCon Rio - Machine Learning for Everyone
QCon Rio - Machine Learning for EveryoneQCon Rio - Machine Learning for Everyone
QCon Rio - Machine Learning for Everyone
 
Distributed Deep Learning on AWS with Apache MXNet
Distributed Deep Learning on AWS with Apache MXNetDistributed Deep Learning on AWS with Apache MXNet
Distributed Deep Learning on AWS with Apache MXNet
 
Tom Peters, Software Engineer, Ufora at MLconf ATL 2016
Tom Peters, Software Engineer, Ufora at MLconf ATL 2016Tom Peters, Software Engineer, Ufora at MLconf ATL 2016
Tom Peters, Software Engineer, Ufora at MLconf ATL 2016
 
Robust real time object detection
Robust real time object detectionRobust real time object detection
Robust real time object detection
 
Deep Learning Meetup 7 - Building a Deep Learning-powered Search Engine
Deep Learning Meetup 7 - Building a Deep Learning-powered Search EngineDeep Learning Meetup 7 - Building a Deep Learning-powered Search Engine
Deep Learning Meetup 7 - Building a Deep Learning-powered Search Engine
 
Data Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learnData Science and Machine Learning Using Python and Scikit-learn
Data Science and Machine Learning Using Python and Scikit-learn
 
Deep learning with TensorFlow
Deep learning with TensorFlowDeep learning with TensorFlow
Deep learning with TensorFlow
 
Surge: Rise of Scalable Machine Learning at Yahoo!
Surge: Rise of Scalable Machine Learning at Yahoo!Surge: Rise of Scalable Machine Learning at Yahoo!
Surge: Rise of Scalable Machine Learning at Yahoo!
 
Machine Learning Overview
Machine Learning OverviewMachine Learning Overview
Machine Learning Overview
 
Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...
Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...
Le Song, Assistant Professor, College of Computing, Georgia Institute of Tech...
 
Better {ML} Together: GraphLab Create + Spark
Better {ML} Together: GraphLab Create + Spark Better {ML} Together: GraphLab Create + Spark
Better {ML} Together: GraphLab Create + Spark
 
Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16
Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16
Sergei Vassilvitskii, Research Scientist, Google at MLconf NYC - 4/15/16
 

Similar to Understanding computer vision with Deep Learning

ML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptxML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptxMayankChadha14
 
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...gdgsurrey
 
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...Simplilearn
 
2020 04 10 Catch IT - Getting started with ML.Net
2020 04 10 Catch IT - Getting started with ML.Net2020 04 10 Catch IT - Getting started with ML.Net
2020 04 10 Catch IT - Getting started with ML.NetBruno Capuano
 
Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon Web Services
 
B4UConference_machine learning_deeplearning
B4UConference_machine learning_deeplearningB4UConference_machine learning_deeplearning
B4UConference_machine learning_deeplearningHoa Le
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9Roger Barga
 
Meetup 29042015
Meetup 29042015Meetup 29042015
Meetup 29042015lbishal
 
Deep Learning Introduction - WeCloudData
Deep Learning Introduction - WeCloudDataDeep Learning Introduction - WeCloudData
Deep Learning Introduction - WeCloudDataWeCloudData
 
Why computer programming
Why computer programmingWhy computer programming
Why computer programmingTUOS-Sam
 
Using Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsUsing Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsScott Clark
 
Using Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsUsing Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsSigOpt
 
Machine learning workshop @DYP Pune
Machine learning workshop @DYP PuneMachine learning workshop @DYP Pune
Machine learning workshop @DYP PuneGanesh Raskar
 
Cloudera Data Science Challenge
Cloudera Data Science ChallengeCloudera Data Science Challenge
Cloudera Data Science ChallengeMark Nichols, P.E.
 
Data Science Challenge presentation given to the CinBITools Meetup Group
Data Science Challenge presentation given to the CinBITools Meetup GroupData Science Challenge presentation given to the CinBITools Meetup Group
Data Science Challenge presentation given to the CinBITools Meetup GroupDoug Needham
 
Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkDavid Chiu
 
2020 04 04 NetCoreConf - Machine Learning.Net
2020 04 04 NetCoreConf - Machine Learning.Net2020 04 04 NetCoreConf - Machine Learning.Net
2020 04 04 NetCoreConf - Machine Learning.NetBruno Capuano
 
Machine Learning in e commerce - Reboot
Machine Learning in e commerce - RebootMachine Learning in e commerce - Reboot
Machine Learning in e commerce - RebootMarion DE SOUSA
 
Knowledge graphs, meet Deep Learning
Knowledge graphs, meet Deep LearningKnowledge graphs, meet Deep Learning
Knowledge graphs, meet Deep LearningConnected Data World
 
Nss power point_machine_learning
Nss power point_machine_learningNss power point_machine_learning
Nss power point_machine_learningGauravsd2014
 

Similar to Understanding computer vision with Deep Learning (20)

ML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptxML Study Jams - Session 3.pptx
ML Study Jams - Session 3.pptx
 
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
 
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
 
2020 04 10 Catch IT - Getting started with ML.Net
2020 04 10 Catch IT - Getting started with ML.Net2020 04 10 Catch IT - Getting started with ML.Net
2020 04 10 Catch IT - Getting started with ML.Net
 
Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)
 
B4UConference_machine learning_deeplearning
B4UConference_machine learning_deeplearningB4UConference_machine learning_deeplearning
B4UConference_machine learning_deeplearning
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9
 
Meetup 29042015
Meetup 29042015Meetup 29042015
Meetup 29042015
 
Deep Learning Introduction - WeCloudData
Deep Learning Introduction - WeCloudDataDeep Learning Introduction - WeCloudData
Deep Learning Introduction - WeCloudData
 
Why computer programming
Why computer programmingWhy computer programming
Why computer programming
 
Using Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsUsing Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning Models
 
Using Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsUsing Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning Models
 
Machine learning workshop @DYP Pune
Machine learning workshop @DYP PuneMachine learning workshop @DYP Pune
Machine learning workshop @DYP Pune
 
Cloudera Data Science Challenge
Cloudera Data Science ChallengeCloudera Data Science Challenge
Cloudera Data Science Challenge
 
Data Science Challenge presentation given to the CinBITools Meetup Group
Data Science Challenge presentation given to the CinBITools Meetup GroupData Science Challenge presentation given to the CinBITools Meetup Group
Data Science Challenge presentation given to the CinBITools Meetup Group
 
Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data Work
 
2020 04 04 NetCoreConf - Machine Learning.Net
2020 04 04 NetCoreConf - Machine Learning.Net2020 04 04 NetCoreConf - Machine Learning.Net
2020 04 04 NetCoreConf - Machine Learning.Net
 
Machine Learning in e commerce - Reboot
Machine Learning in e commerce - RebootMachine Learning in e commerce - Reboot
Machine Learning in e commerce - Reboot
 
Knowledge graphs, meet Deep Learning
Knowledge graphs, meet Deep LearningKnowledge graphs, meet Deep Learning
Knowledge graphs, meet Deep Learning
 
Nss power point_machine_learning
Nss power point_machine_learningNss power point_machine_learning
Nss power point_machine_learning
 

Recently uploaded

Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Understanding computer vision with Deep Learning

  • 2. Agenda ● About CloudxLab ● About Speaker ● Intro to Machine Learning ● Gradient Descent & Back Propagation ● Neural networks & CNN ● Computer Vision ● GANs ● Face Embedding
  • 3. CloudxLab.com AI enabled Ed-Tech platform solving the skill-gap in emerging technologies.
  • 4. CloudxLab.com Learning can be hard without the right tools, especially Deep Tech The Problem Plethora of content but not engaging enough The instant feedback is not available Content alone in not sufficient. Need Practice. One course doesn’t fit all. Every user is different
  • 5. CloudxLab.com How are we solving it? Gamified Learning Environment Knowledge Graph To engage you and your peers for collaborative learning To identify gaps, and strengths, and to improve learning curve
  • 6. CloudxLab.com Gamified Learning Environment BootMLTM - Build machine learning models on the fly. Auto Assessment Engine Online Lab - Playground Hooks - Concept Wise Discussion, XP Points, Forum, Leaderboard Auto Quiz, Slides Finder in Videos Best in class content User Behavioural Analytics
  • 7. CloudxLab.com Online Lab - Playground Everything available on Cloud. Zero installation - Get started instantaneously. Real Experience - Real Learning Access from anywhere, anytime 24x7. Shared Datasets and Quick to Debug Very easy to integrate into any LMS Online Lab - PlaygroundAI Powered gamified environment
  • 8. CloudxLab.com Online Lab - PlaygroundAI Powered gamified environment Technologies available on Cloud Every open source tool - AI & Big Data
  • 9. CloudxLab.com Auto Assessment EngineAI Powered gamified environment
  • 10. CloudxLab.com Auto Assessment EngineAI Powered gamified environment
  • 11. CloudxLab.com Best In Class ContentAI Powered gamified environment
  • 12. CloudxLab.com Social Hooks: JobsAI Powered gamified environment
  • 13. CloudxLab.com Social Hooks: JobsAI Powered gamified environment
  • 14. CloudxLab.com Social Hooks: ForumAI Powered gamified environment
  • 15. CloudxLab.com BootML - build machine learning models on the fly.AI Powered gamified environment
  • 16. CloudxLab.com How are we solving it? With what minimal learning can users get maximum returns? Optimized Algorithm to help users figure out their current knowledge level Knowledge Graph Individual’s skill Graph Job skill graph ?
  • 17. CloudxLab.com Real / Relavent / Practical Learning Engagement / Completion Rate Competitors Map University Courses Classroom Learning
  • 18. What our Users say ...And a 100+ such reviews
  • 19. Feedback on Lab from Users Been working with a startup from another ex-Amazonian: CloudxLab. Provides a learning environment for big data processing on a real cluster, that you can access via a web browser. Neat stuff. Frank Kane , Top Udemy Instructor Am using cloudxlab for more than an year. The main advantage of using cloudxlab, a) Get 6 node production cluster with all installed components, just getting user and password, you can start working on it. b) You have almost all the access... continue reading Sachin Peedikakkandy , Sr Engineer at DXC Technology We took CloudxLab to train our team on big data analytics and when we saw how much easier it was to use it than set up our own infrastructure. Almost like plug-n-play. IBM Blue Team , IBM India (70,000+ Users)
  • 20. Feedback on Course from Users
  • 21. Learners from top US Universities (And many more...)
  • 23. About Me Sandeep Giri Worked On Large Scale Computing Graduated from IIT Roorkee Software Engineer Love Explaining Technologies Founder Feel free to add me on linkedin
  • 24. Computer Vision is everywhere
  • 25.
  • 26.
  • 27. What is Machine Learning?
  • 28.
  • 29. What is Machine Learning?
  • 31.
  • 32. Question What will you do to make this program learn any other games such as PacMan ? Option 1 - Write new rules as per the game Option 2 - Just hook it to new game and let it play for a while
  • 33. Question What will you do to make this program learn any other games such as PacMan ? Option 1 - Write new rules as per the game Option 2 - Just hook it to new game and let it play for a while
  • 34. What is Deep Learning?
  • 35. Nature has inspired many inventions
  • 36. Inspiration from animal brains to achieve intelligence
  • 38. Typical ML Process > Training AlgorithmData Model
  • 40. Typical ML Process > Model and Algorithm AlgorithmData Model Live Data Prediction
  • 41. Predicting salary based on the number of years of experience
  • 45. 2000, 4000, 6000, ______ Predicting Salary
  • 46. 2000, 4000, 6000, 8000 Predicting Salary
  • 47. Years of Experience Salary 1 2000 2 4000 3 6000 Historical Data Let's formulate the machine learning problem.. Predicting Salary
  • 48. Years of Experience Salary 1 2000 2 4000 3 6000 Model Historical Data Let's formulate the machine learning problem.. Training Predicting Salary
  • 49. Years of Experience Salary 1 2000 2 4000 3 6000 Years of Experience Salary 4 ??? Model Historical Data Unknown Salary Let's formulate the machine learning problem.. Training Predicting Salary
  • 50. Years of Experience Salary 1 2000 2 4000 3 6000 Years of Experience Salary 4 ??? Model Years of Experience Salary 4 8000 Historical Data Unknown Salary Prediction Let's formulate the machine learning problem.. Training Predicting Salary
  • 51. Predicting Salary 1 2 3 2000 4000 6000 How would a computer do it? - plot it → Years Salary
  • 52. Predicting Salary 1 2 3 2000 4000 6000 How would a computer do it? - plot it → Years Salary
  • 53. Predicting Salary 1 2 3 2000 4000 6000 How would a computer do it? - plot it → Years Salary
  • 54. Predicting Salary 1 2 3 2000 4000 6000 How would a computer do it? - plot it → Years Salary
  • 55. Predicting Salary 1 2 3 2000 4000 6000 How would a computer do it? - plot it → Years Salary
  • 56. 1 2 3 2000 4000 6000 4 Ask the plot for the salary in 4th yr! Predicting Salary → Years Salary
  • 57. Predicting Salary 1 2 3 2000 4000 6000 8000 4 It is correct! → Years Salary
  • 58. 1 2 3 2010 3980 6020 Life isn't perfect! You never get straight line! Predicting Salary
  • 59. 2010 3980 6020 Linear Regression - Find best fitting line 1 2 3Predicting Salary
  • 60. 2010 3980 6020 Line 1 Line 2 Line 3 Normal Equation - Mathematically Predicting Salary 1 2 3
  • 61. Line 1Try multiple lines! Whichever is closer. 2010 3980 6020 Line 2 Line 3 Predicting Salary 1 2 3
  • 63. 1 2 3 4 2010 3980 6020 Initial Guess Gradient Descent - A little greedy approach. Gradient Descent
  • 64. 1 2 3 4 2010 3980 6020 Initial Guess Try Increasing the slope a little bit Gradient Descent - find impact of slight change Gradient Descent
  • 65. 1 2 3 4 2010 3980 6020 Initial Guess Try Increasing the slope a little bit Gradient Descent - guess next line! Next line Gradient Descent
  • 66. Gradient Descent Increase in slope is proportional to Rate of decrease of error w.r.t change in slope Gradient Descent 1 2 3 4 2010 3980 6020 Initial Guess Try Increasing the slope a little bit Next line
  • 67. Gradient Descent Increase in slope = learning rate * Rate of decrease of error wrt change in slope Some constant. Gradient Descent 1 2 3 4 2010 3980 6020 Initial Guess Try Increasing the slope a little bit Next line
  • 68. 1 2 3 4 2010 3980 6020 Initial Guess Try Increasing the slope a little bit Next line Gradient Descent New Slope = Old Slope + Learning Rate * Rate of decrease of error wrt change in slope Gradient Descent
  • 69. 1 2 3 4 2010 3980 6020 Initial Guess Try Increasing the slope a little bit Next line What if error increased due to increasing slope? Gradient Descent
  • 70. Start with random line Gradient Descent Gradient Descent > Flowchart
  • 71. Increase the slope a bit & Calculate change in error Start with random line Did the error decrease? Gradient Descent Gradient Descent > Flowchart
  • 72. Increase the slope a bit & Calculate change in error Start with random line Did the error decrease? Increase the slope. Yes Gradient Descent Gradient Descent > Flowchart
  • 73. Increase the slope a bit & Calculate change in error Start with random line Did the error decrease? Decrease the slope. No. Error increased Increase the slope. Yes Gradient Descent Gradient Descent > Flowchart
  • 74. Increase the slope a bit & Calculate change in error Start with random line Did the error decrease? Decrease the slope. Stop, you have found the best line No. Error increased Increase the slope. Yes No, Error didn't change Gradient Descent Gradient Descent > Flowchart
  • 75. Increase the slope a bit & Calculate change in error Start with random line Did the error decrease? Decrease the slope. Stop, you have found the best line No. Error increased Increase the slope. Yes No, Error didn't change Next epoch / iterationNext epoch / iteration Gradient Descent Gradient Descent > Flowchart
  • 79. Gradient Descent New Position Gradient Descent > Tap Analogy
  • 80. Gradient Descent Begin Again! Gradient Descent > Tap Analogy
  • 81. Gradient Descent New Position Slight right twist Gradient Descent > Tap Analogy
  • 82. What if we had two knob? Comfortable position Gradient Descent > Tap Analogy
  • 83. What if we had two knob? Gradient Descent > Two Knobs
  • 85. Hot Cold Good Flow Right Temperature ModelInput Output Gradient Descent > Model Weights
  • 86. What if we had more input features? Hot Cold Good Flow Right Temperature Country Gender Climate Gradient Descent > Model Model Weights Input Output
  • 87. Deep Learning - Artificial Neural Network(ANN) Computing systems inspired by the biological neural networks that constitute animal brains. Deep Learning > Artificial Neural Network (ANN)
  • 88. Multiple layers of neurons Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
  • 89. Multiple layers of neurons Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
  • 90. Multiple layers of neurons Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
  • 91. Multiple layers of neurons Deep Learning > Simple Neural Network (ANN) > Deep Learning Neural Network (DNN)
  • 92. What if we had more input features? Hot Cold Good Flow Right Temperature Model Weights Input Output Country Gender Climate Deep Learning > Simple Neural Network (ANN)
  • 93. We could improve the model further... Hot Cold Good Flow Right Temperature ModelInput Output Country Gender Climate Deep Learning > Deep Learning Neural Network (DNN)
  • 94. And further…. Deep Neural Network... Hot Cold Good Flow Right Temperature Neural NetworkInput layer Output layer Country Gender Climate Deep Learning > Deep Learning Neural Network (DNN)
  • 95. Training Neural Networks - Single Neuron Hot Cold Right Temperature Deep Learning > Training Neural Network
  • 96. Training Neural Networks - How? Hot Cold Right Temperature Deep Learning > Training Neural Network
  • 97. Training Neural Networks - How? Backpropagation - Two neuron Hot Cold Right Temperature First Knob Second Knob Deep Learning > Training Neural Network > Backpropagation
  • 98. Training Neural Networks - Backpropagation Hot Cold Right Temperature 1. Initialisation First Knob Second Knob Deep Learning > Training Neural Network > Backpropagation
  • 99. Training Neural Networks - Backpropagation Hot Cold Right Temperature ?? 2. Forward Pass Interim temperature Deep Learning > Training Neural Network > Backpropagation
  • 100. Training Neural Networks - Backpropagation Hot Cold Right Temperature ?? 3. Reverse Pass - Tweak Second knob. Interim temperature Deep Learning > Training Neural Network > Backpropagation
  • 101. Training Neural Networks - Backpropagation Hot Cold Right Temperature ?? 3. Reverse Pass - Tweak first knob. Interim temperature Deep Learning > Training Neural Network > Backpropagation
  • 102. Training Neural Networks - Backpropagation Hot Cold Right Temperature ?? 4. Reverse Pass - Tweak first knob. Interim temperature Deep Learning > Training Neural Network > Backpropagation
  • 103. Training Neural Networks - Backpropagation Hot Cold Right Temperature ?? 4. Reverse Pass - Tweak first knob. Interim temperature Deep Learning > Training Neural Network > Backpropagation
  • 104. Training Neural Networks - Backpropagation Hot Cold Right Temperature ?? Back to 1. Forward Pass - Take next instance Interim temperature Deep Learning > Training Neural Network > Backpropagation
  • 105. Artificial Neuron - Let's get real! Deep Learning > Artificial Neuron
  • 106. Artificial Neuron - Let's get real! Input Neuron Connection weight Output Deep Learning > Artificial Neuron
  • 107. Artificial Neuron - Let's get real! bias Deep Learning > Artificial Neuron Input Neuron Connection weight Output
  • 108. Artificial Neuron - Let's get real! Output = Input * weight + bias Deep Learning > Artificial Neuron > Weight and Bias bias Input Neuron Connection weight Output
  • 109. Artificial Neuron - Let's get real! Output = Input * weight + bias Deep Learning > Artificial Neuron > Weight and Bias bias Input Neuron Connection weight Output
  • 110. Artificial Neuron - Let's get real! Input1 Neuron bias Output Input2 Connection Weight 2 Connection Weight 1 Deep Learning > Artificial Neuron
  • 111. Artificial Neuron - Let's get real! Output = Input1 * weight1 + input2 * weight2 + bias Deep Learning > Artificial Neuron Input1 Neuron bias Output Input2 Connection Weight 2 Connection Weight 1
  • 112. Artificial Neuron - Let's get real! Input1 Neuron bias Connection weight Input2 Connection weight Activation function If value is too low, gives 0. Output Deep Learning > Artificial Neuron
  • 113. Artificial Neuron - Let's get real! Input1 Neuron bias Connection weight Output Activation function If value is too low, gives 0.Input2 Connection weight Deep Learning > Artificial Neuron
  • 114. Artificial Neuron - To make it like a electric circuit Input1 Neuron bias Connection weight Output Input2 Connection weight Deep Learning > Artificial Neuron
  • 115. Artificial Neuron - To make it like a electric circuit Input1 Neuron bias Connection weight Output Input2 Connection weight Deep Learning > Artificial Neuron
  • 116. Backpropagation with example Training a network based on years of work experience as input and Salary as output Deep Learning > Artificial Neuron > Backpropagation
  • 117. EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Deep Learning > Artificial Neuron > Backpropagation Training a network based on years of work experience as input and Salary as output
  • 118. First Second ? ? ? ? actual value Epoch 1 Record 1 EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Deep Learning > Artificial Neuron > Backpropagation
  • 119. 1.0 4 Initialize with random weights or knobs. 50 0.1 30 actual value 100 EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 1 Deep Learning > Artificial Neuron > Backpropagation
  • 120. Two Neurons - 4 knobs. Take first record... ? 4 ? ? ? EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 1 actual value 100 Deep Learning > Artificial Neuron > Backpropagation
  • 121. 1.0 4 Do the forward pass 50 0.1 30 54 4*1.0 + 50 EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 1 actual value 100 Deep Learning > Artificial Neuron > Backpropagation
  • 122. 1.0 4 Do the forward pass 50 0.1 30 actual value 10035.454 Compute d value 54*0.1 + 30 EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 1 Deep Learning > Artificial Neuron > Backpropagation
  • 123. 1.0 4 Compute the error 50 0.1 30 actual value 10035.454 Computed value { || 100 - 35.4 || EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 1 Deep Learning > Artificial Neuron > Backpropagation
  • 124. 1.0 4 50 0.2 50 actual value 10035.454 Computed value Back Pass: Tweak the knob of the second neuron EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 1 Deep Learning > Artificial Neuron > Backpropagation
  • 125. 2.0 4 40 0.2 50 actual value 10035.454 Computed value Back Pass: Freeze the second knob, tweak the knob of the first neuron EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 1 Deep Learning > Artificial Neuron > Backpropagation
  • 126. Next Record. Repeat the process, Tweak the weights... 2.0 5 40 0.2 50 actual value 13050 55 Computed value EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 2 Deep Learning > Artificial Neuron > Backpropagation
  • 127. Next Record. Repeat the process, Tweak the weights... 3.0 2 45 0.25 55 actual value 3051 67.75 Computed value Epoch 1 Record 3 EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Deep Learning > Artificial Neuron > Backpropagation
  • 128. Next Record. Repeat the process, Tweak the weights... 3.5 5 47 0.2 40 actual value 14064.5 65.2 Computed value EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 1 Record 4 Deep Learning > Artificial Neuron > Backpropagation
  • 129. Next Epoch. Begin again from the first record ... 4.0 4 51 0.21 41 actual value 10067 54.07 Computed value EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 2 Record 1 Deep Learning > Artificial Neuron > Backpropagation
  • 130. Epoch #2 , Second Record, and so on. 5.0 5 50 0.1 45 actual value 13075 52.5 Computed value EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 Epoch 2 Record 2 Deep Learning > Artificial Neuron > Backpropagation
  • 131. Once it has been trained, it is ready to do the predictions 4.75 6 42.25 0.215 43.12 ??? Predicted value EMP Work Ex Salary emp1 4 100 emp2 5 130 emp3 2 30 emp4 5 140 emp5 6 ?? Deep Learning > Artificial Neuron > Backpropagation
  • 132. MNIST - classifying a handwritten image into 10 labels. ANN or Fully connected Neural Network 0 1 2 3 4 5 6 7 8 9 Labels Deep Learning > Artificial Neuron > ANN
  • 133. It would basically compute probabilities of various digits Training Neural Network - MNIST .001 .001 0.04 0.06 0.03 0.1 0.07 0.01 0.6 0.07 Probabilities 0 1 2 3 4 5 6 7 8 9 Labels Deep Learning > Artificial Neuron > ANN
  • 134. Training Neural Network - MNIST How to train it? .001 .001 0.04 0.06 0.03 0.1 0.07 0.01 0.6 0.07 Probabilities Deep Learning > Artificial Neuron > ANN
  • 135. Step 1 - Initialize the weights ANN or Fully connected Neural Network Actual 0 1 2 3 4 5 6 7 8 9 Labels 0 0 0 0 0 0 0 0 1 0 Deep Learning > Artificial Neuron > ANN
  • 136. Training Neural Network - MNIST Take an instance from training data. Actual Labels 0 1 2 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 1 0 Deep Learning > Artificial Neuron > ANN
  • 137. Step 2 - Forward pass ANN or Fully connected Neural Network Labels Intermediate values Actual 0 1 2 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 1 0 Deep Learning > Artificial Neuron > ANN
  • 138. ANN or Fully connected Neural Network Step 2 - Forward pass 0 1 2 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 1 0 Actual Labels Deep Learning > Artificial Neuron > ANN
  • 139. Step 2 - Forward pass Actual Labels .1 .1 0.05 0.15 0.11 0.99 0.1 0.18 0.02 0.1 Computed ANN or Fully connected Neural Network 0 0 0 0 0 0 0 0 1 0 0 1 2 3 4 5 6 7 8 9 Deep Learning > Artificial Neuron > ANN
  • 140. ANN or Fully connected Neural Network Step 2 - Forward pass Actual Labels .1 .1 0.05 0.15 0.11 0.99 0.1 0.18 0.02 Computed 0 0 0 0 0 0 0 0 1 0 0 1 2 3 4 5 6 7 8 90.1 Deep Learning > Artificial Neuron > ANN
  • 141. ANN or Fully connected Neural Network Step 3 - Back Pass - Second Layer Frozen Layer 0.1 Actual Labels .1 .1 0.05 0.15 0.11 0.99 0.1 0.18 0.02 Computed 0 0 0 0 0 0 0 0 1 0 0 1 2 3 4 5 6 7 8 9 Deep Learning > Artificial Neuron > ANN
  • 142. Training Neural Network - MNIST .1 .1 0.05 0.15 0.11 0.99 0.1 0.18 0.02 0.1 Predicted Frozen Layer Step 2 - Forward pass Actual Labels 0 0 0 0 0 0 0 0 1 0 0 1 2 3 4 5 6 7 8 9 Deep Learning > Artificial Neuron > ANN > Training
  • 143. Pick next instance Training Neural Network - MNIST .45 .01 0.03 0.25 0.01 0.03 0.02 0.1 0.01 0.1 Predicted Actual Labels 1 0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8 9 Deep Learning > Artificial Neuron > ANN > Training
  • 144. Next Iteration or epoch Training Neural Network - MNIST .1 .1 0.05 0.15 0.11 0.99 0.1 0.18 0.02 0.1 Predicted 0 0 0 0 0 0 0 0 1 0 Actual Deep Learning > Artificial Neuron > ANN > Training
  • 145. Male Female This will require a lot of computing power Layers of neurons 10,000 pixels Output layer 100x100 3 layers each with 10000 weights and 2 last Total connections: 10000x10000 + 10000x10000 + 10000x2 ~ 200 million CNN > Fully Connected Network vs CNN
  • 146. Male Female This will require a lot of computing power Layers of neurons 10,000 pixels Output layer 100x100 CNN > Fully Connected Network vs CNN Also notice that the adjacent pixels at 0,0 and 1,1 would go far away.
  • 147. CNNs solve this problem by using partially connected layers called Convolutional Layers CNN > Fully Connected Network vs CNN
  • 148. CNN > Convolutional Layer ● Neurons in the first convolutional layer are connected only to pixels in their receptive fields. Convolutional Layer
  • 149. CNN > Convolutional Layer ● Neurons in the first convolutional layer are connected only to pixels in their receptive fields. Receptive Field Convolutional Layer
  • 150. CNN > Convolutional Layer Convolutional Layer ● Neurons in the first convolutional layer are connected only to pixels in their receptive fields. ● Each neuron in the second convolutional layer is connected only to neurons located within a small rectangle in the first layer Receptive Field
  • 151. CNN > Convolutional Layer Convolutional Layer ● The network concentrates on low-level features in the first hidden layer Receptive Field
  • 152. CNN > Convolutional Layer Convolutional Layer ● The network concentrates on low-level features in the first hidden layer ● Then assemble them into higher-level features in the next hidden layer and so on. Receptive Field
  • 153. CNN > Convolutional Layer Convolutional Layer ● The network concentrates on low-level features in the first hidden layer ● Then assemble them into higher-level features in the next hidden layer and so on. ● This hierarchical structure is common in real-world images Receptive Field
  • 156. CNN > Convolutional Layer Input Layer This figure shows how the layers of CNN are formed
  • 157. CNN > Convolutional Layer Input Layer Convolutional Layer This figure shows how the layers of CNN are formed
  • 158. This figure shows how the layers of CNN are formed CNN > Convolutional Layer Input Layer Convolutional Layer Receptive Field
  • 159. CNN > Convolutional Layer This figure shows how the layers of CNN are formed Input Layer Convolutional Layer
  • 160. CNN > Convolutional Layer 0 1 0 0 1 0 0 1 0 0 0 0 1 1 1 0 0 0 Vertical Filter Horizontal Filter This figure shows how the layers of CNN are formed Convolutional Layer Input Layer
  • 161. CNN > Pooling Layers Input Image Shrinked Image Pooling Layers
  • 162. CNN > Pooling Layers Pooling Layers ● Computes the maximum value of the receptive field - Max pool
  • 163. CNN > Pooling Layers Pooling Layers ● Computes the maximum value of the receptive field - Max pool ● Computes the average of all pixels - Average pool
  • 165. The Image Classification Challenge: 1,000 object classes 1,431,167 images
  • 166. Progress so far Russakovsky et al. IJCV 2015
  • 167. Problems related to image classification ...
  • 169. How AI works in it? Various Computer Vision Task
  • 170. How AI works in it? Sliding Window
  • 171. R-CNN < Fast R-CNN < Faster R-CNN < Mask R-CNN < YOLO < YOLO v3
  • 172. How AI works in it? YOLO v3 (You Only Look Once) Fastest object detection algorithm Deep CNN Intersection over Union Bounding Box Detection
  • 173. Yolo v3 - Deep CNN More at: https://pjreddie.com/media/files/papers/YOLOv3.pdf
  • 175. What? ● In a conference like this ● we want to live stream and record it. ● But the presenter gets out of focus as she/he moves ● Automating the cameraman is the only option! ● For the humanity :) ● See https://cloudxlab.com/blog/creating-ai-based-cameraman/
  • 177. How does it work? ● Read image from the USB camera ● Using OPENCV / YOLO identify the object in the image ● Keep only the persons ● For all the persons ○ Pick the one which has the biggest bounding box ● Rotate the motors to bring ○ Centre of the bounding box to centre of the main image, ● Sleep for some time, go back to step 1
  • 178. Beyond 2D Object Detection... Object Detection + Captioning = Dense Captioning
  • 179. Generative Adversarial Network (GANs) Image Generator Detector Real Fake By Ian J. Goodfellow, Yoshua Bengio and others in 2014. Yann LeCun called adversarial training “the most interesting idea in the last 10 years in ML.”
  • 184. Example Face Embedding Facenet Facenet Facenet Facenet [0.3, -0.1, 0.3, …… 128 numbers] [0.2, 0.1, 0.8, …… 128 numbers] [0.1, 0.2, 0.6, …… 128 numbers] [0.8, 0.9, 0.3, …… 128 numbers] Facenet [0.2, -0.1, 0.3, …… 128 numbers]
  • 185. Example Face Embedding Facenet Facenet Facenet Facenet [0.3, -0.1, 0.3, …… 128 numbers] [0.2, 0.1, 0.8, …… 128 numbers] [0.1, 0.2, 0.6, …… 128 numbers] [0.8, 0.9, 0.3, …… 128 numbers] Facenet [0.2, -0.1, 0.3, …… 128 numbers]
  • 187.
  • 188. DejaView.AI - It is a plug and play solution to recognize and recall your users. Few of the use cases are: Giving loyalty points to your users, letting your employees enter the premises based on the face recognition. Application of Computer Vision
  • 189. Upskill Yourself - Get Certification From E&ICT Academy, IIT Roorkee ● Big Data Engineering with Hadoop and Spark ● Self-paced ● 60+ hours of learning ● Starts from $59 ● Machine Learning Specialization - Includes Python, Machine Learning and Deep Learning ● Self-paced ● 100+ hours of learning ● Starts from $99 ● Python Foundations for Machine Learning ● Self-paced ● 40+ hours of learning ● Starts from $99
  • 190. Upskill Yourself ● AI for Managers ● For Technical product managers, project managers, business heads, senior managers and team leads ● Self-paced ● 60+ hours of learning ● Starts from $99