Deep Learning in Matlab
Deep Learning in Matlab
A Brief Overview
2
Example 1: Object recognition using deep learning
3
Object recognition using deep learning
4
What
Whatis isMachine Learning?
Deep Learning?
5
Machine Learning vs Deep Learning
We specify the nature
of the features we want
to extract… …and the type of model
we want to build.
Machine Learning
6
Machine Learning vs Deep Learning
We need only specify
the architecture of the
model…
Deep Learning
7
▪ Deep learning is a type of machine learning in which a model learns to
perform tasks like classification – directly from images, texts, or signals.
▪ Deep learning performs end-to-end learning, and is usually
implemented using a neural network architecture.
▪ Deep learning algorithms also scale with data – traditional machine
learning saturates.
8
Why is Deep Learning So Popular Now?
AlexNet
Human
Accuracy
10
Pains In Deep Learning
11
Example: Vehicle recognition using deep transfer learning
Cars
Trucks
5 Category
SUVs
Classifier
Big Trucks
Vans
12
Import the Latest Models for Transfer Learning
Pretrained Models*
▪ AlexNet Import Models from Frameworks
▪ VGG-16 ▪ Caffe Model Importer
▪ Inception-v3
▪ ResNet50 AlexNet VGG-16 ResNet-50 ResNet-101
PRETRAINED PRETRAINED PRETRAINED MODEL PRETRAINED MODEL
MODEL MODEL
▪ ResNet-101
Caffe TensorFlow-
▪ Inception-resnet-v2 GoogLeNet Inception-v3
IMPORTER PRETRAINED Keras MODELS
MODEL IMPORTER
▪ SqueezeNet
▪ MobileNet(coming soon)
15
Localization using deep learning
Original Image
ROI detection
Pixel classification
16
Semantic Segmentation Network
Boat
Airplane
Other classes
17
Semantic Segmentation Network
18
Semantic Segmentation Demo
CamVid Dataset
1. Segmentation and Recognition Using Structure from Motion Point Clouds, ECCV 2008
2. Semantic Object Classes in Video: A High-Definition Ground Truth Database ,Pattern Recognition Letters
19
Semantic Segmentation
CamVid Dataset
1. Segmentation and Recognition Using Structure from Motion Point Clouds, ECCV 2008
2. Semantic Object Classes in Video: A High-Definition Ground Truth Database ,Pattern Recognition Letters
20
“I love to label and
preprocess my data”
~ Said no engineer, ever.
21
Ground truth Labeling
“How do I label
my data?”
Data
22
Attributes and Sublabels NEW in
23
Types of Datasets
ML or LSTM CNN
LSTM or CNN
24
Analyzing signal data using deep learning
TensorFlow
MATLAB
MXNet
GPU Coder
Using CUDA v9
AlexNet ResNet-50 VGG-16 and cuDNN v7
27
Overview of deep learning deployment options
“How do I deploy
my model?”
▪ Create Desktop Apps GPU Coder
Training Inference
29
Deploying to CPUs
Intel
MKL-DNN
Library
NVIDIA
GPU TensorRT &
Coder cuDNN
Libraries
Deep Learning
Networks
ARM
Compute
Library
30
MATLAB products for deep learning
31
Deep learning features overview
33
Deep learning in
automated driving…
34
Deep Learning Onramp
36