Demystifying Deep Learning

Similar documents
Demystifying Deep Learning

2015 The MathWorks, Inc. 1

Introduction to Deep Learning in Signal Processing & Communications with MATLAB

Deep learning in MATLAB From Concept to CUDA Code

Deploying Deep Learning Networks to Embedded GPUs and CPUs

MoonRiver: Deep Neural Network in C++

NVIDIA DLI HANDS-ON TRAINING COURSE CATALOG

Embarquez votre Intelligence Artificielle (IA) sur CPU, GPU et FPGA

GPU Coder: Automatic CUDA and TensorRT code generation from MATLAB

Characterization and Benchmarking of Deep Learning. Natalia Vassilieva, PhD Sr. Research Manager

Deep Learning: Transforming Engineering and Science The MathWorks, Inc.

NVIDIA DEEP LEARNING INSTITUTE

A Deep Learning Approach to Vehicle Speed Estimation

What s New in MATLAB May 16, 2017

DEEP LEARNING AND DIGITS DEEP LEARNING GPU TRAINING SYSTEM

DEEP NEURAL NETWORKS CHANGING THE AUTONOMOUS VEHICLE LANDSCAPE. Dennis Lui August 2017

EFFICIENT INFERENCE WITH TENSORRT. Han Vanholder

An introduction to Machine Learning silicon

NVIDIA GPU CLOUD DEEP LEARNING FRAMEWORKS

HPE Deep Learning Cookbook: Recipes to Run Deep Learning Workloads. Natalia Vassilieva, Sergey Serebryakov

Embedded GPGPU and Deep Learning for Industrial Market

Inference Optimization Using TensorRT with Use Cases. Jack Han / 한재근 Solutions Architect NVIDIA

CNN optimization. Rassadin A

DIGITS DEEP LEARNING GPU TRAINING SYSTEM

NVIDIA FOR DEEP LEARNING. Bill Veenhuis

Machine Learning in WAN Research

Machine Learning in WAN Research

Data Mining: STATISTICA

MIOVISION DEEP LEARNING TRAFFIC ANALYTICS SYSTEM FOR REAL-WORLD DEPLOYMENT. Kurtis McBride CEO, Miovision

Deep Learning Frameworks with Spark and GPUs

Deep Learning mit PowerAI - Ein Überblick

Keras: Handwritten Digit Recognition using MNIST Dataset

Building the Most Efficient Machine Learning System

arxiv: v1 [cs.cv] 2 Sep 2018

Deep Learning Inferencing on IBM Cloud with NVIDIA TensorRT

Deep Learning for Computer Vision with MATLAB By Jon Cherrie

Content-Based Image Recovery

Code Mania Artificial Intelligence: a. Module - 1: Introduction to Artificial intelligence and Python:

Defense Data Generation in Distributed Deep Learning System Se-Yoon Oh / ADD-IDAR

Review: The best frameworks for machine learning and deep learning

Outline. Prepare the data Classification and regression Clustering Association rules Graphic user interface

Singularity for GPU and Deep Learning

Efficient Communication Library for Large-Scale Deep Learning

NVIDIA DGX SYSTEMS PURPOSE-BUILT FOR AI

Deep learning in action with DL4J

Practical Applications of Machine Learning for Image and Video in the Cloud

What s New in MATLAB and Simulink

Object recognition and computer vision using MATLAB and NVIDIA Deep Learning SDK

컴퓨터비전의최신기술 : Deep Learning, 3D Vision and Embedded Vision

Deep Model Compression

POINT CLOUD DEEP LEARNING

Fine-tuning Pre-trained Large Scaled ImageNet model on smaller dataset for Detection task

A NEW COMPUTING ERA JENSEN HUANG, FOUNDER & CEO GTC CHINA 2017

HOW TO BUILD A MODERN AI

Xilinx ML Suite Overview

Why data science is the new frontier in software development

Automated Driving Development

Shrinath Shanbhag Senior Software Engineer Microsoft Corporation

P I X E V I A : A I B A S E D, R E A L - T I M E C O M P U T E R V I S I O N S Y S T E M F O R D R O N E S

Optimizing CNN Inference on CPUs

SVM Segment Video Machine. Jiaming Song Yankai Zhang

1 Overview Definitions (read this section carefully) 2

Wu Zhiwen.

How to Build Optimized ML Applications with Arm Software

Convolutional Neural Network based Medical Imaging Segmentation: Recent Progress and Challenges. Jiaxing Tan

Voice, Image, Video : AI in action with AWS. 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

How to Build Optimized ML Applications with Arm Software

Object Detection Lecture Introduction to deep learning (CNN) Idar Dyrdal

DEEP NEURAL NETWORKS AND GPUS. Julie Bernauer

TensorFlow: A System for Learning-Scale Machine Learning. Google Brain

Tutorial on Keras CAP ADVANCED COMPUTER VISION SPRING 2018 KISHAN S ATHREY

The Path to Embedded Vision & AI using a Low Power Vision DSP. Yair Siegel, Director of Segment Marketing Hotchips August 2016

MULTI-SCALE OBJECT DETECTION WITH FEATURE FUSION AND REGION OBJECTNESS NETWORK. Wenjie Guan, YueXian Zou*, Xiaoqun Zhou

What s New in MATLAB and Simulink The MathWorks, Inc. 1

NVIDIA PLATFORM FOR AI

Implementing Deep Learning for Video Analytics on Tegra X1.

Making Sense of Artificial Intelligence: A Practical Guide

Real-Time* Multiple Object Tracking (MOT) for Autonomous Navigation

AI for HPC and HPC for AI Workflows: The Differences, Gaps and Opportunities with Data Management

GPU-Accelerated Deep Learning

A Quick Guide on Training a neural network using Keras.

DECISION SUPPORT SYSTEM USING TENSOR FLOW

The Establishment of Large Data Mining Platform Based on Cloud Computing. Wei CAI

Credit Card Fraud Detection Using Historical Transaction Data

Deep Face Recognition. Nathan Sun

Integrate MATLAB Analytics into Enterprise Applications

Counting Passenger Vehicles from Satellite Imagery

In partnership with. VelocityAI REFERENCE ARCHITECTURE WHITE PAPER

S INSIDE NVIDIA GPU CLOUD DEEP LEARNING FRAMEWORK CONTAINERS

Automatic detection of books based on Faster R-CNN

Machine Learning on VMware vsphere with NVIDIA GPUs

Application of Deep Learning Techniques in Satellite Telemetry Analysis.

Object Detection on Self-Driving Cars in China. Lingyun Li

Recurrent Neural Networks. Deep neural networks have enabled major advances in machine learning and AI. Convolutional Neural Networks

Scaling Distributed Machine Learning

Deep Learning Based Real-time Object Recognition System with Image Web Crawler

Deep Learning Frameworks. COSC 7336: Advanced Natural Language Processing Fall 2017

What s New for MATLAB David Willingham

How GPUs Power Comcast's X1 Voice Remote and Smart Video Analytics. Jan Neumann Comcast Labs DC May 10th, 2017

Kaggle Data Science Bowl 2017 Technical Report

Transcription:

Demystifying Deep Learning Mandar Gujrathi Mandar.Gujrathi@mathworks.com.au 2015 The MathWorks, Inc. 1

2

Deep Learning Applications Voice assistants (speech to text) Teaching character to beat video game Automatically colouring black-and-white images 3

Why MATLAB for Deep Learning? MATLAB is Productive MATLAB is Fast MATLAB Integrates with Open Source 4

What is Deep Learning? 5

Deep Learning Model learns to perform classification tasks directly from data. x1000 x1000 x1000 Deep Learning Model Image Classifier x1000 x1000 6

Data Types for Deep Learning Signal Text Image 7

Deep Learning is Versatile Detection of cars and road in autonomous driving systems Rain Detection and Removal 1 Iris Recognition 99.4% accuracy 2 1. Deep Joint Rain Detection and Removal from a Single Image" Wenhan Yang, Robby T. Tan, Jiashi Feng, Jiaying Liu, Zongming Guo, and Shuicheng Yan 2. Source: An experimental study of deep convolutional features for iris recognition Signal Processing in Medicine and Biology Symposium (SPMB), 2016 IEEE Shervin Minaee ; Amirali Abdolrashidiy ; Yao Wang; An experimental study of deep convolutional features for iris recognition 8

Deep Learning in 6 Lines of MATLAB Code 13

Why MATLAB for Deep Learning? MATLAB is Productive MATLAB is Fast MATLAB integrates with Open Source 14

I love to label and preprocess my data ~ Said no engineer, ever. 15

Caterpillar Case Study World s leading manufacturer of construction and mining equipment. Similarity between these projects? Autonomous haul trucks Pedestrian detection Equipment classification Terrain mapping 16

Computer Must Learn from Lots of Data ALL data must first be labeled to create these autonomous systems. We were spending way too much time ground-truthing [the data] --Larry Mianzo, Caterpillar 17

Semi-automated labelling Semi-automated labelling process Used MATLAB for entire development workflow. Because everything is in MATLAB, development time is short 18

How Does MATLAB Come into Play? 19

20

21

22

MATLAB is Productive Image Labeler App semi-automates labeling workflow Bootstrapping Improve automatic labeling by updating algorithm as you label more images correctly. Easy to load metadata even when labeling manually 23

Why MATLAB for Deep Learning? MATLAB is Productive MATLAB is Fast MATLAB integrates with Open Source 24

MATLAB is Fast Performance Training Deployment 25

What is Training? Feed labeled data into neural network to create working model x1000 x1000 x1000 Convolution Neural Network Image Classifier Model x1000 x1000 26

Deep Learning in Finance Predict Trade Weighted US Dollar Index 28

Another Network for Signals - LSTM LSTM = Long Short Term Memory (Networks) Signal, text, time-series data Use previous data to predict new information I live in France. I speak. c 0 C 1 C t 29

1. Prepare data Functionalities to: connect to FRED servers databases Handle Big Data Perform out of memory computations. 31

2. Split data Training Validation Test 70% 15% 15% Trains the model Computer learns from this data Checks accuracy of model during training Tests model accuracy Not used until validation accuracy is good 33

3. Define Network architecture and parameters 35

4. Train Network 37

Deep Learning on CPU, GPU, Multi-GPU and Clusters H OW TO TA RG E T? Single CPU Single CPU Single GPU Single CPU, Multiple GPUs On-prem server with GPUs Cloud GPUs (AWS) 38

Training Performance Seconds / Epoch TensorFlow MATLAB MXNet Batch size 32 39

MATLAB is Fast for Deployment Target a GPU for optimal performance NVIDIA GPUs use CUDA code We only have MATLAB code. Can we translate this? 41

GPU Coder Automatically generates CUDA Code from MATLAB Code can be used on NVIDIA GPUs CUDA extends C/C++ code with constructs for parallel computing 42

GPU Coder Performance 43

Prediction Performance: Fast with GPU Coder Images/Sec Why is GPU Coder so fast? Analyzes and optimizes network architecture Invested 15 years in code generation TensorFlow MATLAB MXNet GPU Coder AlexNet ResNet-50 VGG-16 44

Why MATLAB? MATLAB is Productive MATLAB is Fast MATLAB Integrates workflows 45

Used MATLAB and Open Source Together Used Caffe and MATLAB together Achieved significantly better results than an engineered rain model. 1. Deep Joint Rain Detection and Removal from a Single Image" Wenhan Yang, Robby T. Tan, Jiashi Feng, Jiaying Liu, Zongming Guo, and Shuicheng Yan Use our tools where it makes your workflow easier! 46

MATLAB Integrates Workflows Access to many pretrained models through add-ons Users wanted to import latest models Import models directly from TensorFlow or Caffe Allows for improved collaboration 47

Keras-Tensorflow Importer 48

MATLAB Integrates Workflows MATLAB supports entire deep learning workflow Use when it is convenient for your workflow Access to latest models Improved collaboration with other users 49

Why MATLAB for Deep Learning? MATLAB is Productive MATLAB is Fast (Performance) MATLAB Integrates with Open Source (Frameworks) 50