CSC 578 Neural Networks and Deep Learning

Slides:



Advertisements
Similar presentations
ImageNet Classification with Deep Convolutional Neural Networks
Advertisements

1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Images and colour Colour - colours - colour spaces - colour models Raster data - image representations - single and multi-band (multi-channel) images -
Convolutional Neural Networks for Image Processing with Applications in Mobile Robotics By, Sruthi Moola.
Convolution and Filtering
ECE 6504: Deep Learning for Perception Dhruv Batra Virginia Tech Topics: –(Finish) Backprop –Convolutional Neural Nets.
Deep Convolutional Nets
Object Recognition Tutorial Beatrice van Eden - Part time PhD Student at the University of the Witwatersrand. - Fulltime employee of the Council for Scientific.
Convolutional Neural Network
Deep Learning Overview Sources: workshop-tutorial-final.pdf
Filters– Chapter 6. Filter Difference between a Filter and a Point Operation is that a Filter utilizes a neighborhood of pixels from the input image to.
Leaves Recognition By Zakir Mohammed Indiana State University Computer Science.
Convolutional Neural Networks at Constrained Time Cost (CVPR 2015) Authors : Kaiming He, Jian Sun (MSR) Presenter : Hyunjun Ju 1.
Deep Learning and Its Application to Signal and Image Processing and Analysis Class III - Fall 2016 Tammy Riklin Raviv, Electrical and Computer Engineering.
Image Processing Objectives To understand pixel based image processing
Basic Principles Photogrammetry V: Image Convolution & Moving Window:
Demo.
CS 6501: 3D Reconstruction and Understanding Convolutional Neural Networks Connelly Barnes.
Data Mining, Neural Network and Genetic Programming
Data Mining, Neural Network and Genetic Programming
Computer Science and Engineering, Seoul National University
Convolutional Neural Fabrics by Shreyas Saxena, Jakob Verbeek
Dhruv Batra Georgia Tech
CSCI 5922 Neural Networks and Deep Learning: Convolutional Nets For Image And Speech Processing Mike Mozer Department of Computer Science and Institute.
Dhruv Batra Georgia Tech
Lecture 5 Smaller Network: CNN
Neural Networks 2 CS446 Machine Learning.
Convolution Neural Networks
How it Works: Convolutional Neural Networks
Training Techniques for Deep Neural Networks
Convolutional Networks
CS6890 Deep Learning Weizhen Cai
Machine Learning: The Connectionist
Dynamic Routing Using Inter Capsule Routing Protocol Between Capsules
Introduction to Convolutional Neural Network (CNN/ConvNET)-insights from amateur George (Tian Zhou)
Fully Convolutional Networks for Semantic Segmentation
Computer Vision James Hays
CNNs and compressive sensing Theoretical analysis
Introduction to Neural Networks
Tensorflow in Deep Learning
CSC 578 Neural Networks and Deep Learning
Towards Understanding the Invertibility of Convolutional Neural Networks Anna C. Gilbert1, Yi Zhang1, Kibok Lee1, Yuting Zhang1, Honglak Lee1,2 1University.
Counting in Dense Crowds using Deep Learning
9th Lecture - Image Filters
Convolutional Neural Networks
Deep learning Introduction Classes of Deep Learning Networks
Object Classification through Deconvolutional Neural Networks
Very Deep Convolutional Networks for Large-Scale Image Recognition
Smart Robots, Drones, IoT
CSC 578 Neural Networks and Deep Learning
LECTURE 35: Introduction to EEG Processing
On Convolutional Neural Network
Lecture: Deep Convolutional Neural Networks
LECTURE 33: Alternative OPTIMIZERS
Visualizing and Understanding Convolutional Networks
Analysis of Trained CNN (Receptive Field & Weights of Network)
Convolutional Neural Networks
Mihir Patel and Nikhil Sardana
Progress Report 2019/4/30 PHHung.
Lecture 2: Image filtering
Convolutional Neural Network
CSCI 5922 Neural Networks and Deep Learning: Convolutional Nets For Image And Speech Processing Mike Mozer Department of Computer Science and Institute.
Artificial intelligence using deep learning to screen for referable and vision-threatening diabetic retinopathy in Africa: a clinical validation study 
Lecture 7 Spatial filtering.
CS295: Modern Systems: Application Case Study Neural Network Accelerator Sang-Woo Jun Spring 2019 Many slides adapted from Hyoukjun Kwon‘s Gatech “Designing.
VERY DEEP CONVOLUTIONAL NETWORKS FOR LARGE-SCALE IMAGE RECOGNITION
Debasis Bhattacharya, JD, DBA University of Hawaii Maui College
Example of training and deployment of deep convolutional neural networks. Example of training and deployment of deep convolutional neural networks. During.
CSC 578 Neural Networks and Deep Learning
CSC 578 Neural Networks and Deep Learning
Presentation transcript:

CSC 578 Neural Networks and Deep Learning 6-2. Convolutional Neural Networks (2) Noriko Tomuro

What is an Image?

Image An image is matrix that specifies the color of various pixels in terms of the amount of red, green and blue components. Every pixel is assigned an RGB value, each component being a value between 0 to 255. These components are mixed together to form a unique color value. E.g. Blue is rgb(0,0,255) and Black is rgb(0,0,0)

Displaying an Image Any display of an image consists of an arrangement of red, green, and blue dots. A set of one dot of each color form a pixel

What is a Kernel Filter ?

Kernel A kernel is a square matrix that specifies spatial weights of various pixels in an image. Different image processing techniques use different kernels. 1 4 7 16 26 41 1 2 1 -1 -2 3*3 Mean Kernel 3*3 Sobel Kernel 5*5 Gaussian Kernel

What is Convolution? BIG CONCEPT

Convolution Convolution of a matrix involves laying a matrix over another and then calculating the weighted sum of all pixel values.

Image Processing

How to process an image? Kernel Input Image Output Image Convolution

RGB to Grayscale Edge detection -1 1 -2 2

Convolution Neural Network

Convolution Layer 32*32*3 image -> Preserve spatial structure

Convolution Layer

Convolution Layer

Convolution Layer

Convolution Layer Consider a second, green filter

Convolution Layer E.g. if we had 6 5*5 filters, we’ll get 6 separate activation maps We stack themup to get a “new image” of size 28*28*6

Convolution Layer ConvNet is a sequence of Convolution Layers, interspersed with activation functions

Convolution Layer ConvNet is a sequence of Convolution Layers, interspersed with activation functions

Fully Connected Layer 32*32*3 image -> stretch to 3072*1

A closer look at spatial dimension (1)

A closer look at spatial dimension

A closer look at spatial dimension (2)

A closer look at spatial dimension (3)

Constraints on Output Size For the input volume size (W), the receptive field size of the Conv Layer neurons (F), the stride with which they are applied (S), and the amount of zero padding used (P) on the border, the size of the output is (W−F+2P)/S+1 Examples: For a 7x7 input and a 3x3 filter with stride 1 and pad 0, we would get a 5x5 output. With the same input and filter but with stride 2, we would get a 3x3 output.

Use of zero-padding To avoid shrinking output To throw away information from edges Setting zero padding to be P=(F−1)/2 when the stride S=1 ensures that the input volume and output volume will have the same size spatially.

Exercise (1)

Exercise (2)

Reference: http://cs231n. github Reference: http://cs231n.github.io/convolutional-networks/ for explanation and animation on the DEPTH of input volume.

CAUTION: E.g. 32*32 input convolved repeatedly with 5*5 filters shrinks volumes spatially. BUT shrinking too fast is not good, because feature maps lose information as they get deeper.

Pooling Layer Makes the representations smaller and more manageable

Max Pooling

Intervening Activation Layer

CNN Architectures

AlexNet

AlexNet

AlexNet

AlexNet

AlexNet

AlexNet

AlexNet

VGGNet

GoogleNet