SlideShare a Scribd company logo
Intro	
  To	
  Convolu,onal	
  Neural	
  
Networks	
  
Mark	
  Scully	
  
datapraxis.com	
  
Why	
  CNNs?	
  
h@ps://papers.nips.cc/paper/4824-­‐imagenet-­‐classifica,on-­‐with-­‐deep-­‐convolu,onal-­‐neural-­‐networks	
  
Image	
  Classifica,on	
  
Object	
  Recogni,on	
  
h@ps://research.googleblog.com/2014/09/building-­‐deeper-­‐understanding-­‐of-­‐images.html	
  
h@p://cs.stanford.edu/people/karpathy/deepimagesent/	
  
Automa,c	
  Cap,oning	
  
h@ps://research.googleblog.com/2014/11/a-­‐picture-­‐is-­‐worth-­‐thousand-­‐coherent.html	
  
Facial	
  Recogni,on	
  	
  
Y.	
  Taigman,	
  M.	
  Yang,	
  M.	
  Ranzato,	
  L.	
  Wolf,	
  DeepFace:	
  Closing	
  the	
  Gap	
  to	
  Human-­‐Level	
  Performance	
  in	
  Face	
  Verifica,on,	
  CVPR	
  
2014	
  
Terminator	
  Vision	
  
Colorize	
  Black	
  &	
  White	
  Images	
  
h@p://richzhang.github.io/coloriza,on/	
  
Style	
  Transfer	
  
h@p://genekogan.com/works/style-­‐transfer/	
  
Mona	
  Lisa	
  restyled	
  by	
  Picasso,	
  van	
  Gough,	
  and	
  Monet	
  
Generate	
  An	
  Image	
  From	
  A	
  Sketch	
  
h@ps://affinelayer.com/pixsrv/	
  
ImageNet	
  Challenge	
  
Alexnet	
  
Li	
  Fei-­‐Fei:	
  ImageNet	
  Large	
  Scale	
  Visual	
  Recogni,on	
  Challenge,	
  2014	
  
ImageNet	
  Challenge	
  
ILSVRC+
ImageNet Classification error throughout years and groups
Li	
  Fei-­‐Fei:	
  ImageNet	
  Large	
  Scale	
  Visual	
  Recogni,on	
  Challenge,	
  2014	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
Input	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Pool	
  
FC	
  
Dropout	
  
FC	
  
Dropout	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  
1097-­‐1105,	
  2012	
  
FC	
  1000	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  1097-­‐1105,	
  
2012	
  	
  
ImageNet	
  Challenge	
  
Alexnet	
  
Li	
  Fei-­‐Fei:	
  ImageNet	
  Large	
  Scale	
  Visual	
  Recogni,on	
  Challenge,	
  2014	
  
Tradi,onal	
  Approach	
  To	
  Image	
  
Classifica,on	
  
Input	
  Image	
  
Hand	
  
Extracted	
  
Features	
  
Classifier	
   Object	
  Label	
  
Issues	
  
•  Who	
  makes	
  the	
  features?	
  
– Need	
  an	
  expert	
  for	
  each	
  problem	
  domain	
  
•  Which	
  features?	
  
– Are	
  they	
  the	
  same	
  for	
  every	
  problem	
  type?	
  
•  How	
  robust	
  are	
  these	
  features	
  to	
  real	
  images?	
  
– Transla,on,	
  Rota,on,	
  contrast	
  changes,	
  etc.	
  
Are	
  these	
  pictures	
  of	
  the	
  same	
  thing?	
  
Features	
  Are	
  Hierarchical	
  
	
  
•  A	
  squirrel	
  is	
  a	
  combina,on	
  of	
  fur,	
  arms,	
  legs,	
  
&	
  a	
  tail	
  in	
  specific	
  propor,ons.	
  
•  A	
  tail	
  is	
  made	
  of	
  texture,	
  color,	
  and	
  spa,al	
  
rela,onships	
  
•  A	
  texture	
  is	
  made	
  of	
  oriented	
  edges,	
  
gradients,	
  and	
  colors	
  
Image	
  Features	
  
•  A	
  feature	
  is	
  something	
  in	
  the	
  image	
  or	
  derived	
  
from	
  it	
  that’s	
  relevant	
  to	
  the	
  task	
  
•  Edges	
  
•  Lines	
  at	
  different	
  angles,	
  curves,	
  etc.	
  
•  Colors,	
  or	
  pa@erns	
  of	
  colors	
  
•  SIFT,	
  SURF,	
  HOG,	
  GIST,	
  ORB,	
  etc	
  
Edges	
  
Ideally	
  We’d	
  Learn	
  Features	
  
Input	
  
Image	
  
Output	
  
Label	
  
Ideally	
  We’d	
  Learn	
  Features	
  
Input	
  
Image	
  
Output	
  
Label	
  
CNNs	
  
What	
  is	
  a	
  Neural	
  Network?	
  
•  Perceptron	
  is	
  biologically	
  inspired	
  
•  A	
  mental	
  model	
  for	
  interpre,ng	
  the	
  math	
  
h@p://cs231n.stanford.edu/index.html	
  	
  
Perceptron	
  
1	
  
x1	
  
x2	
  
x3	
  
xm	
  
Σ	
   Output	
  
Ac,va,on	
  
Func,on	
  
Sum	
  
w0	
  
w1	
  
w2	
  
w3	
  
wm	
  
Weights	
  
Inputs	
  
Perceptron	
  
1	
  
x1	
  
x2	
  
x3	
  
xm	
  
Σ	
   Output	
  
Ac,va,on	
  
Func,on	
  
Sum	
  
w0	
  
w1	
  
w2	
  
w3	
  
wm	
  
Weights	
  
Inputs	
  
wi xi
i=0
m
∑ = w0 x0 + w1x1 + w2 x2 +...+ wm xm
Ac,va,on	
  Func,ons	
  
Training:	
  Upda,ng	
  Weights	
  
1	
  
x1	
  
x2	
  
x3	
  
x4	
  
Σ	
   Output	
  
Ac,va,on	
  
Func,on	
  
Sum	
  
w0	
  
w1	
  
w2	
  
w3	
  
w4	
  
Weights	
  
Inputs	
  
Error	
  =	
  Output	
  -­‐	
  Target	
  
Perceptron	
  Decision	
  Boundary	
  
Deep	
  (Mul,-­‐Layer)	
  Neural	
  Network	
  
Backpropaga,on	
  
•  Error	
  propagates	
  backward	
  and	
  it	
  all	
  works	
  via	
  
(normally	
  stochas,c)	
  gradient	
  descent.	
  
•  (wave	
  hands)	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  1097-­‐1105,	
  
2012	
  	
  
CNN	
  Layer	
  Architecture	
  
Input	
  
Convolu,on	
  
Nonlinearity	
  
Pooling	
  (op,onal)	
  
Dropout	
  (op,onal)	
  
CNN	
  Layer	
  Architecture	
  
Input	
  
Convolu,on	
  
Nonlinearity	
  
Pooling	
  (op,onal)	
  
Dropout	
  (op,onal)	
  
Input:	
  Pixels	
  Are	
  Just	
  Numbers	
  
h@ps://medium.com/@ageitgey/machine-­‐learning-­‐is-­‐fun-­‐part-­‐3-­‐deep-­‐learning-­‐and-­‐convolu,onal-­‐neural-­‐networks-­‐
f40359318721	
  
CNN	
  Layer	
  Architecture	
  
Input	
  
Convolu,on	
  
Nonlinearity	
  
Pooling	
  (op,onal)	
  
Dropout	
  (op,onal)	
  
Goals	
  
•  Need	
  to	
  detect	
  the	
  same	
  feature	
  anywhere	
  in	
  
an	
  image	
  
•  Reuse	
  the	
  same	
  weights	
  over	
  and	
  over	
  
•  What	
  we	
  really	
  want	
  is	
  one	
  neuron	
  that	
  
detects	
  a	
  feature	
  that	
  we	
  slide	
  over	
  the	
  image	
  
Neuron	
  =	
  Filter	
  
•  Act	
  as	
  detectors	
  for	
  some	
  specific	
  image	
  
feature	
  
•  Take	
  images	
  as	
  inputs	
  and	
  produce	
  image	
  like	
  
feature	
  maps	
  as	
  outputs	
  
Convolu,on	
  
•  Like	
  sliding	
  a	
  matrix	
  over	
  the	
  input	
  and	
  
performing	
  dot	
  products	
  
•  It’s	
  all	
  just	
  matrix	
  mul,plica,on	
  
Convolu,on	
  
Convolu,on	
  
Filters	
  (or	
  Kernels)	
  
Sharpen	
  
Filters	
  (or	
  Kernels)	
  
Box	
  Blur	
  
Filters	
  (or	
  Kernels)	
  
Edge	
  Detec,on	
  
Feature	
  Map	
  
Alexnet	
  Architecture	
  
Convolu,ons	
  
CNN	
  Layer	
  Architecture	
  
Input	
  
Convolu,on	
  
Nonlinearity	
  
Pooling	
  (op,onal)	
  
Dropout	
  (op,onal)	
  
Nonlinearity	
  
CNN	
  Layer	
  Architecture	
  
Input	
  
Convolu,on	
  
Nonlinearity	
  
Pooling	
  (op,onal)	
  
Dropout	
  (op,onal)	
  
Max	
  Pooling	
  Example	
  
Alexnet	
  Architecture	
  
3x3	
  stride	
  2	
  Max	
  Pooling	
  
Pooling	
  
•  Allows	
  us	
  to	
  look	
  at	
  more	
  of	
  the	
  image	
  
•  Max,	
  sum,	
  and	
  L2	
  pooling	
  
•  A	
  type	
  of	
  downsampling	
  
CNN	
  Layer	
  Architecture	
  
Input	
  
Convolu,on	
  
Nonlinearity	
  
Pooling	
  (op,onal)	
  
Dropout	
  (op,onal)	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
Input	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Pool	
  
FC	
  
Dropout	
  
FC	
  
Dropout	
  
FC	
  1000	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  
1097-­‐1105,	
  2012	
  
Dropout	
  
Dropout	
  
h@p://cs231n.github.io/neural-­‐networks-­‐2/	
  
•  Randomly	
  disable	
  some	
  neurons	
  on	
  the	
  
forward	
  pass	
  
•  Prevents	
  overfiong	
  
	
  
Let’s	
  Predict	
  Something!	
  
•  We	
  have	
  all	
  these	
  features,	
  how	
  do	
  we	
  learn	
  
to	
  label	
  something	
  based	
  on	
  them?	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
Input	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Pool	
  
FC	
  
Dropout	
  
FC	
  
Dropout	
  
FC	
  1000	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  
1097-­‐1105,	
  2012	
  
Fully	
  Connected	
  
Fully	
  Connected	
  Layers	
  
•  Each	
  neuron	
  is	
  connected	
  to	
  all	
  inputs	
  
•  Standard	
  mul,layer	
  neural	
  net	
  
•  Learns	
  non-­‐linear	
  combina,ons	
  of	
  the	
  feature	
  
maps	
  to	
  make	
  predic,ons	
  
Alexnet	
  Architecture	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
Input	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Pool	
  
FC	
  
Dropout	
  
FC	
  
Dropout	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  
1097-­‐1105,	
  2012	
  
FC	
  1000	
  
Which	
  Class	
  Is	
  It	
  Again?	
  
•  FC-­‐1000	
  gives	
  us	
  1000	
  numbers,	
  one	
  per	
  class,	
  
how	
  do	
  we	
  compare	
  them?	
  
Soqmax	
  
•  Mul,-­‐class	
  version	
  of	
  logis,c	
  func,on	
  
•  Outputs	
  normalized	
  class	
  “probabili,es”	
  
•  Takes	
  m	
  inputs	
  and	
  produces	
  m	
  outputs	
  
between	
  zero	
  and	
  one,	
  that	
  sum	
  to	
  one	
  
•  Cross-­‐entropy	
  loss	
  
•  Differen,able	
  
h@ps://papers.nips.cc/paper/4824-­‐imagenet-­‐classifica,on-­‐with-­‐deep-­‐convolu,onal-­‐neural-­‐networks	
  
Image	
  Classifica,on	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  1097-­‐1105,	
  
2012	
  	
  
Layer	
  1	
  
Learned	
  Filters	
  –	
  Layer1	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  1097-­‐1105,	
  
2012	
  	
  
Layer	
  2	
  
Learned	
  Filters	
  –	
  Layer2	
  
Visualizing	
  and	
  Understanding	
  Convolu,onal	
  Networks	
  -­‐	
  Zeiler	
  &	
  Fergus,	
  ECCV	
  2014	
  	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  1097-­‐1105,	
  
2012	
  	
  
Layer	
  3	
  
Learned	
  Filters	
  -­‐	
  Layer3	
  
Visualizing	
  and	
  Understanding	
  Convolu,onal	
  Networks	
  -­‐	
  Zeiler	
  &	
  Fergus,	
  ECCV	
  2014	
  	
  	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  1097-­‐1105,	
  
2012	
  	
  
Layer	
  4	
   Layer	
  5	
  
Learned	
  Features	
  –	
  Layers	
  4	
  &	
  5	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  1097-­‐1105,	
  
2012	
  	
  
Alexnet	
  Architecture	
  -­‐	
  2012	
  
Input	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Pool	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Conv	
  
Relu	
  
Pool	
  
FC	
  
Dropout	
  
FC	
  
Dropout	
  
ImageNet	
  Classifica,on	
  with	
  Deep	
  Convolu,onal	
  Neural	
  Networks	
  Alex	
  Krizhevsky,	
  Ilya	
  Sutskever	
  and	
  Geoffrey	
  E.	
  Hinton	
  
Advances	
  in	
  Neural	
  Informa,on	
  Processing	
  Systems	
  25	
  eds.F.	
  Pereira,	
  C.J.C.	
  Burges,	
  L.	
  Bo@ou	
  and	
  K.Q.	
  Weinberger	
  pp.	
  
1097-­‐1105,	
  2012	
  
FC	
  1000	
  
VGG16	
  
h@ps://blog.heuritech.com/2016/02/29/a-­‐brief-­‐report-­‐of-­‐the-­‐heuritech-­‐deep-­‐learning-­‐meetup-­‐5/	
  
Google’s	
  Incep,on	
  Module	
  
To	
  Learn	
  More	
  
•  h@p://colah.github.io/posts/2014-­‐07-­‐
Understanding-­‐Convolu,ons/	
  
•  h@ps://adeshpande3.github.io/
adeshpande3.github.io/The-­‐9-­‐Deep-­‐Learning-­‐
Papers-­‐You-­‐Need-­‐To-­‐Know-­‐About.html	
  
•  h@p://cs231n.github.io/	
  
•  h@p://course.fast.ai/	
  
Ques,ons?	
  

More Related Content

What's hot

101: Convolutional Neural Networks
101: Convolutional Neural Networks 101: Convolutional Neural Networks
101: Convolutional Neural Networks
Mad Scientists
 
Introduction to Deep learning
Introduction to Deep learningIntroduction to Deep learning
Introduction to Deep learning
leopauly
 
Convolutional neural network
Convolutional neural network Convolutional neural network
Convolutional neural network
Yan Xu
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
Muhammad Haroon
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
Deep learning ppt
Deep learning pptDeep learning ppt
Deep learning ppt
BalneSridevi
 
ViT (Vision Transformer) Review [CDM]
ViT (Vision Transformer) Review [CDM]ViT (Vision Transformer) Review [CDM]
ViT (Vision Transformer) Review [CDM]
Dongmin Choi
 
Batch normalization presentation
Batch normalization presentationBatch normalization presentation
Batch normalization presentation
Owin Will
 
Intro to deep learning
Intro to deep learning Intro to deep learning
Intro to deep learning
David Voyles
 
An Introduction to Deep Learning
An Introduction to Deep LearningAn Introduction to Deep Learning
An Introduction to Deep Learning
Poo Kuan Hoong
 
An introduction to Deep Learning
An introduction to Deep LearningAn introduction to Deep Learning
An introduction to Deep Learning
Julien SIMON
 
Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)
Yuta Niki
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
Ismail El Gayar
 
CNN Tutorial
CNN TutorialCNN Tutorial
CNN Tutorial
Sungjoon Choi
 
Deep learning - A Visual Introduction
Deep learning - A Visual IntroductionDeep learning - A Visual Introduction
Deep learning - A Visual Introduction
Lukas Masuch
 
Transformer in Vision
Transformer in VisionTransformer in Vision
Transformer in Vision
Sangmin Woo
 
Image classification using CNN
Image classification using CNNImage classification using CNN
Image classification using CNN
Noura Hussein
 
Attention is All You Need (Transformer)
Attention is All You Need (Transformer)Attention is All You Need (Transformer)
Attention is All You Need (Transformer)
Jeong-Gwan Lee
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural Network
Knoldus Inc.
 
Convolutional Neural Network
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural Network
Vignesh Suresh
 

What's hot (20)

101: Convolutional Neural Networks
101: Convolutional Neural Networks 101: Convolutional Neural Networks
101: Convolutional Neural Networks
 
Introduction to Deep learning
Introduction to Deep learningIntroduction to Deep learning
Introduction to Deep learning
 
Convolutional neural network
Convolutional neural network Convolutional neural network
Convolutional neural network
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
 
Deep learning ppt
Deep learning pptDeep learning ppt
Deep learning ppt
 
ViT (Vision Transformer) Review [CDM]
ViT (Vision Transformer) Review [CDM]ViT (Vision Transformer) Review [CDM]
ViT (Vision Transformer) Review [CDM]
 
Batch normalization presentation
Batch normalization presentationBatch normalization presentation
Batch normalization presentation
 
Intro to deep learning
Intro to deep learning Intro to deep learning
Intro to deep learning
 
An Introduction to Deep Learning
An Introduction to Deep LearningAn Introduction to Deep Learning
An Introduction to Deep Learning
 
An introduction to Deep Learning
An introduction to Deep LearningAn introduction to Deep Learning
An introduction to Deep Learning
 
Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
CNN Tutorial
CNN TutorialCNN Tutorial
CNN Tutorial
 
Deep learning - A Visual Introduction
Deep learning - A Visual IntroductionDeep learning - A Visual Introduction
Deep learning - A Visual Introduction
 
Transformer in Vision
Transformer in VisionTransformer in Vision
Transformer in Vision
 
Image classification using CNN
Image classification using CNNImage classification using CNN
Image classification using CNN
 
Attention is All You Need (Transformer)
Attention is All You Need (Transformer)Attention is All You Need (Transformer)
Attention is All You Need (Transformer)
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural Network
 
Convolutional Neural Network
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural Network
 

Similar to Intro To Convolutional Neural Networks

Teaching machines to see the process of designing (datasets) with ai
Teaching machines to see  the process of designing (datasets) with aiTeaching machines to see  the process of designing (datasets) with ai
Teaching machines to see the process of designing (datasets) with ai
DevFest DC
 
Evolution of Deep Learning and new advancements
Evolution of Deep Learning and new advancementsEvolution of Deep Learning and new advancements
Evolution of Deep Learning and new advancements
Chitta Ranjan
 
Conventional Neural Networks and compute
Conventional Neural Networks and computeConventional Neural Networks and compute
Conventional Neural Networks and compute
YobuDJob1
 
Deep Learning with Python (PyData Seattle 2015)
Deep Learning with Python (PyData Seattle 2015)Deep Learning with Python (PyData Seattle 2015)
Deep Learning with Python (PyData Seattle 2015)
Alexander Korbonits
 
Image Translation with GAN
Image Translation with GANImage Translation with GAN
Image Translation with GAN
Junho Cho
 
20141003.journal club
20141003.journal club20141003.journal club
20141003.journal club
Hayaru SHOUNO
 
Yann le cun
Yann le cunYann le cun
Yann le cun
Yandex
 
[Mmlab seminar 2016] deep learning for human pose estimation
[Mmlab seminar 2016] deep learning for human pose estimation[Mmlab seminar 2016] deep learning for human pose estimation
[Mmlab seminar 2016] deep learning for human pose estimation
Wei Yang
 
Fcv learn yu
Fcv learn yuFcv learn yu
Fcv learn yu
zukun
 
Scalable image recognition model with deep embedding
Scalable image recognition model with deep embeddingScalable image recognition model with deep embedding
Scalable image recognition model with deep embedding
捷恩 蔡
 
Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)
Julien SIMON
 
CNN Algorithm
CNN AlgorithmCNN Algorithm
CNN Algorithm
georgejustymirobi1
 
Talk from NVidia Developer Connect
Talk from NVidia Developer ConnectTalk from NVidia Developer Connect
Talk from NVidia Developer Connect
Anuj Gupta
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
Sujit Pal
 
Modeling perceptual similarity and shift invariance in deep networks
Modeling perceptual similarity and shift invariance in deep networksModeling perceptual similarity and shift invariance in deep networks
Modeling perceptual similarity and shift invariance in deep networks
NAVER Engineering
 
Intro to Neural Networks
Intro to Neural NetworksIntro to Neural Networks
Intro to Neural Networks
Dean Wyatte
 
Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Wanjin Yu
 
MLIP - Chapter 3 - Introduction to deep learning
MLIP - Chapter 3 - Introduction to deep learningMLIP - Chapter 3 - Introduction to deep learning
MLIP - Chapter 3 - Introduction to deep learning
Charles Deledalle
 
Mit6870 orsu lecture11
Mit6870 orsu lecture11Mit6870 orsu lecture11
Mit6870 orsu lecture11
zukun
 
A brief introduction to recent segmentation methods
A brief introduction to recent segmentation methodsA brief introduction to recent segmentation methods
A brief introduction to recent segmentation methods
Shunta Saito
 

Similar to Intro To Convolutional Neural Networks (20)

Teaching machines to see the process of designing (datasets) with ai
Teaching machines to see  the process of designing (datasets) with aiTeaching machines to see  the process of designing (datasets) with ai
Teaching machines to see the process of designing (datasets) with ai
 
Evolution of Deep Learning and new advancements
Evolution of Deep Learning and new advancementsEvolution of Deep Learning and new advancements
Evolution of Deep Learning and new advancements
 
Conventional Neural Networks and compute
Conventional Neural Networks and computeConventional Neural Networks and compute
Conventional Neural Networks and compute
 
Deep Learning with Python (PyData Seattle 2015)
Deep Learning with Python (PyData Seattle 2015)Deep Learning with Python (PyData Seattle 2015)
Deep Learning with Python (PyData Seattle 2015)
 
Image Translation with GAN
Image Translation with GANImage Translation with GAN
Image Translation with GAN
 
20141003.journal club
20141003.journal club20141003.journal club
20141003.journal club
 
Yann le cun
Yann le cunYann le cun
Yann le cun
 
[Mmlab seminar 2016] deep learning for human pose estimation
[Mmlab seminar 2016] deep learning for human pose estimation[Mmlab seminar 2016] deep learning for human pose estimation
[Mmlab seminar 2016] deep learning for human pose estimation
 
Fcv learn yu
Fcv learn yuFcv learn yu
Fcv learn yu
 
Scalable image recognition model with deep embedding
Scalable image recognition model with deep embeddingScalable image recognition model with deep embedding
Scalable image recognition model with deep embedding
 
Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)Deep Learning: concepts and use cases (October 2018)
Deep Learning: concepts and use cases (October 2018)
 
CNN Algorithm
CNN AlgorithmCNN Algorithm
CNN Algorithm
 
Talk from NVidia Developer Connect
Talk from NVidia Developer ConnectTalk from NVidia Developer Connect
Talk from NVidia Developer Connect
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
 
Modeling perceptual similarity and shift invariance in deep networks
Modeling perceptual similarity and shift invariance in deep networksModeling perceptual similarity and shift invariance in deep networks
Modeling perceptual similarity and shift invariance in deep networks
 
Intro to Neural Networks
Intro to Neural NetworksIntro to Neural Networks
Intro to Neural Networks
 
Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning Big Data Intelligence: from Correlation Discovery to Causal Reasoning
Big Data Intelligence: from Correlation Discovery to Causal Reasoning
 
MLIP - Chapter 3 - Introduction to deep learning
MLIP - Chapter 3 - Introduction to deep learningMLIP - Chapter 3 - Introduction to deep learning
MLIP - Chapter 3 - Introduction to deep learning
 
Mit6870 orsu lecture11
Mit6870 orsu lecture11Mit6870 orsu lecture11
Mit6870 orsu lecture11
 
A brief introduction to recent segmentation methods
A brief introduction to recent segmentation methodsA brief introduction to recent segmentation methods
A brief introduction to recent segmentation methods
 

Recently uploaded

STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
g4dpvqap0
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
74nqk8xf
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
mzpolocfi
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 

Recently uploaded (20)

STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 

Intro To Convolutional Neural Networks

  • 1. Intro  To  Convolu,onal  Neural   Networks   Mark  Scully   datapraxis.com  
  • 7. Facial  Recogni,on     Y.  Taigman,  M.  Yang,  M.  Ranzato,  L.  Wolf,  DeepFace:  Closing  the  Gap  to  Human-­‐Level  Performance  in  Face  Verifica,on,  CVPR   2014  
  • 9. Colorize  Black  &  White  Images   h@p://richzhang.github.io/coloriza,on/  
  • 10. Style  Transfer   h@p://genekogan.com/works/style-­‐transfer/   Mona  Lisa  restyled  by  Picasso,  van  Gough,  and  Monet  
  • 11. Generate  An  Image  From  A  Sketch   h@ps://affinelayer.com/pixsrv/  
  • 12. ImageNet  Challenge   Alexnet   Li  Fei-­‐Fei:  ImageNet  Large  Scale  Visual  Recogni,on  Challenge,  2014  
  • 13. ImageNet  Challenge   ILSVRC+ ImageNet Classification error throughout years and groups Li  Fei-­‐Fei:  ImageNet  Large  Scale  Visual  Recogni,on  Challenge,  2014  
  • 14. Alexnet  Architecture  -­‐  2012   Input   Conv   Relu   Pool   Conv   Relu   Pool   Conv   Relu   Conv   Relu   Conv   Relu   Pool   FC   Dropout   FC   Dropout   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.   1097-­‐1105,  2012   FC  1000  
  • 15. Alexnet  Architecture  -­‐  2012   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.  1097-­‐1105,   2012    
  • 16. ImageNet  Challenge   Alexnet   Li  Fei-­‐Fei:  ImageNet  Large  Scale  Visual  Recogni,on  Challenge,  2014  
  • 17. Tradi,onal  Approach  To  Image   Classifica,on   Input  Image   Hand   Extracted   Features   Classifier   Object  Label  
  • 18. Issues   •  Who  makes  the  features?   – Need  an  expert  for  each  problem  domain   •  Which  features?   – Are  they  the  same  for  every  problem  type?   •  How  robust  are  these  features  to  real  images?   – Transla,on,  Rota,on,  contrast  changes,  etc.  
  • 19. Are  these  pictures  of  the  same  thing?  
  • 20. Features  Are  Hierarchical     •  A  squirrel  is  a  combina,on  of  fur,  arms,  legs,   &  a  tail  in  specific  propor,ons.   •  A  tail  is  made  of  texture,  color,  and  spa,al   rela,onships   •  A  texture  is  made  of  oriented  edges,   gradients,  and  colors  
  • 21. Image  Features   •  A  feature  is  something  in  the  image  or  derived   from  it  that’s  relevant  to  the  task   •  Edges   •  Lines  at  different  angles,  curves,  etc.   •  Colors,  or  pa@erns  of  colors   •  SIFT,  SURF,  HOG,  GIST,  ORB,  etc  
  • 23. Ideally  We’d  Learn  Features   Input   Image   Output   Label  
  • 24. Ideally  We’d  Learn  Features   Input   Image   Output   Label   CNNs  
  • 25. What  is  a  Neural  Network?   •  Perceptron  is  biologically  inspired   •  A  mental  model  for  interpre,ng  the  math   h@p://cs231n.stanford.edu/index.html    
  • 26. Perceptron   1   x1   x2   x3   xm   Σ   Output   Ac,va,on   Func,on   Sum   w0   w1   w2   w3   wm   Weights   Inputs  
  • 27. Perceptron   1   x1   x2   x3   xm   Σ   Output   Ac,va,on   Func,on   Sum   w0   w1   w2   w3   wm   Weights   Inputs   wi xi i=0 m ∑ = w0 x0 + w1x1 + w2 x2 +...+ wm xm
  • 29. Training:  Upda,ng  Weights   1   x1   x2   x3   x4   Σ   Output   Ac,va,on   Func,on   Sum   w0   w1   w2   w3   w4   Weights   Inputs   Error  =  Output  -­‐  Target  
  • 32. Backpropaga,on   •  Error  propagates  backward  and  it  all  works  via   (normally  stochas,c)  gradient  descent.   •  (wave  hands)  
  • 33.
  • 34. Alexnet  Architecture  -­‐  2012   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.  1097-­‐1105,   2012    
  • 35. CNN  Layer  Architecture   Input   Convolu,on   Nonlinearity   Pooling  (op,onal)   Dropout  (op,onal)  
  • 36. CNN  Layer  Architecture   Input   Convolu,on   Nonlinearity   Pooling  (op,onal)   Dropout  (op,onal)  
  • 37. Input:  Pixels  Are  Just  Numbers   h@ps://medium.com/@ageitgey/machine-­‐learning-­‐is-­‐fun-­‐part-­‐3-­‐deep-­‐learning-­‐and-­‐convolu,onal-­‐neural-­‐networks-­‐ f40359318721  
  • 38. CNN  Layer  Architecture   Input   Convolu,on   Nonlinearity   Pooling  (op,onal)   Dropout  (op,onal)  
  • 39. Goals   •  Need  to  detect  the  same  feature  anywhere  in   an  image   •  Reuse  the  same  weights  over  and  over   •  What  we  really  want  is  one  neuron  that   detects  a  feature  that  we  slide  over  the  image  
  • 40. Neuron  =  Filter   •  Act  as  detectors  for  some  specific  image   feature   •  Take  images  as  inputs  and  produce  image  like   feature  maps  as  outputs  
  • 41. Convolu,on   •  Like  sliding  a  matrix  over  the  input  and   performing  dot  products   •  It’s  all  just  matrix  mul,plica,on  
  • 44. Filters  (or  Kernels)   Sharpen  
  • 45. Filters  (or  Kernels)   Box  Blur  
  • 46. Filters  (or  Kernels)   Edge  Detec,on   Feature  Map  
  • 48. CNN  Layer  Architecture   Input   Convolu,on   Nonlinearity   Pooling  (op,onal)   Dropout  (op,onal)  
  • 50. CNN  Layer  Architecture   Input   Convolu,on   Nonlinearity   Pooling  (op,onal)   Dropout  (op,onal)  
  • 52. Alexnet  Architecture   3x3  stride  2  Max  Pooling  
  • 53. Pooling   •  Allows  us  to  look  at  more  of  the  image   •  Max,  sum,  and  L2  pooling   •  A  type  of  downsampling  
  • 54. CNN  Layer  Architecture   Input   Convolu,on   Nonlinearity   Pooling  (op,onal)   Dropout  (op,onal)  
  • 55. Alexnet  Architecture  -­‐  2012   Input   Conv   Relu   Pool   Conv   Relu   Pool   Conv   Relu   Conv   Relu   Conv   Relu   Pool   FC   Dropout   FC   Dropout   FC  1000   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.   1097-­‐1105,  2012   Dropout  
  • 56. Dropout   h@p://cs231n.github.io/neural-­‐networks-­‐2/   •  Randomly  disable  some  neurons  on  the   forward  pass   •  Prevents  overfiong    
  • 57. Let’s  Predict  Something!   •  We  have  all  these  features,  how  do  we  learn   to  label  something  based  on  them?  
  • 58. Alexnet  Architecture  -­‐  2012   Input   Conv   Relu   Pool   Conv   Relu   Pool   Conv   Relu   Conv   Relu   Conv   Relu   Pool   FC   Dropout   FC   Dropout   FC  1000   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.   1097-­‐1105,  2012   Fully  Connected  
  • 59. Fully  Connected  Layers   •  Each  neuron  is  connected  to  all  inputs   •  Standard  mul,layer  neural  net   •  Learns  non-­‐linear  combina,ons  of  the  feature   maps  to  make  predic,ons  
  • 61. Alexnet  Architecture  -­‐  2012   Input   Conv   Relu   Pool   Conv   Relu   Pool   Conv   Relu   Conv   Relu   Conv   Relu   Pool   FC   Dropout   FC   Dropout   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.   1097-­‐1105,  2012   FC  1000  
  • 62. Which  Class  Is  It  Again?   •  FC-­‐1000  gives  us  1000  numbers,  one  per  class,   how  do  we  compare  them?  
  • 63. Soqmax   •  Mul,-­‐class  version  of  logis,c  func,on   •  Outputs  normalized  class  “probabili,es”   •  Takes  m  inputs  and  produces  m  outputs   between  zero  and  one,  that  sum  to  one   •  Cross-­‐entropy  loss   •  Differen,able  
  • 65. Alexnet  Architecture  -­‐  2012   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.  1097-­‐1105,   2012     Layer  1  
  • 66. Learned  Filters  –  Layer1  
  • 67. Alexnet  Architecture  -­‐  2012   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.  1097-­‐1105,   2012     Layer  2  
  • 68. Learned  Filters  –  Layer2   Visualizing  and  Understanding  Convolu,onal  Networks  -­‐  Zeiler  &  Fergus,  ECCV  2014    
  • 69. Alexnet  Architecture  -­‐  2012   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.  1097-­‐1105,   2012     Layer  3  
  • 70. Learned  Filters  -­‐  Layer3   Visualizing  and  Understanding  Convolu,onal  Networks  -­‐  Zeiler  &  Fergus,  ECCV  2014      
  • 71. Alexnet  Architecture  -­‐  2012   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.  1097-­‐1105,   2012     Layer  4   Layer  5  
  • 72. Learned  Features  –  Layers  4  &  5  
  • 73. Alexnet  Architecture  -­‐  2012   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.  1097-­‐1105,   2012    
  • 74. Alexnet  Architecture  -­‐  2012   Input   Conv   Relu   Pool   Conv   Relu   Pool   Conv   Relu   Conv   Relu   Conv   Relu   Pool   FC   Dropout   FC   Dropout   ImageNet  Classifica,on  with  Deep  Convolu,onal  Neural  Networks  Alex  Krizhevsky,  Ilya  Sutskever  and  Geoffrey  E.  Hinton   Advances  in  Neural  Informa,on  Processing  Systems  25  eds.F.  Pereira,  C.J.C.  Burges,  L.  Bo@ou  and  K.Q.  Weinberger  pp.   1097-­‐1105,  2012   FC  1000  
  • 77. To  Learn  More   •  h@p://colah.github.io/posts/2014-­‐07-­‐ Understanding-­‐Convolu,ons/   •  h@ps://adeshpande3.github.io/ adeshpande3.github.io/The-­‐9-­‐Deep-­‐Learning-­‐ Papers-­‐You-­‐Need-­‐To-­‐Know-­‐About.html   •  h@p://cs231n.github.io/   •  h@p://course.fast.ai/