Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Convolutional Neural Network (CNN/ConvNET)-insights from amateur George (Tian Zhou)

Similar presentations


Presentation on theme: "Introduction to Convolutional Neural Network (CNN/ConvNET)-insights from amateur George (Tian Zhou)"— Presentation transcript:

1 Introduction to Convolutional Neural Network (CNN/ConvNET)-insights from amateur
George (Tian Zhou)

2 Big Thanks to Brandon’s Presentation
Brandon Rohrer _neural_networks_work.html

3 A toy ConvNet: X’s and O’s
Says whether a picture is of an X or an O CNN X or O We want to know if a given pixel is x or o. by passing the image through the black box “CNN” and CNN process it and gives a possibility of the prediction.

4 Convolution Kernal, Filter

5 Filtering: The math behind the match
Line up the filter and the image patch. Multiply each image pixel by the corresponding filter pixel. Add them up. Divide by the total number of pixels in the filter. Move across

6 Line up the filter and the image patch.
1 x 1 = 1 Line up the filter and the image patch. Multiply each image pixel by the corresponding filter pixel. Add them up. Divide by the total number of pixels in the filter. Move across

7 =1

8 1+1− − =.55 .55

9 Convolution: Trying every possible match

10 Convolution: Trying every possible match
=

11 = = =

12 Convolution layer One image becomes a stack of filtered images (image feature is captured) First define three kernels and pass the image through the kernel to get a filtered picture (image feature is captured.).

13 Pooling Layer: Reduce the size of image
Pick a window size (usually 2 or 3). Pick a stride (usually 2). Walk window across filtered images. From each window, take the maximum value. max pooling maximum

14 Pooling layer A stack of images becomes a stack of smaller images.

15 Rectified Linear Units (ReLUs) -Tuning maths
A stack of images becomes a stack of images with no negative values.

16 Stacking Layers can be repeated several times. To achieve decent amount of “predictors” Convolution ReLU Pooling

17 X O 𝑥 1 𝑤 1 𝑤 2 𝑥 2 𝑤 3 𝑥 3 Σ Output Fully connected layer 𝑓(𝑥)
Every value gets a vote, Vote depends on how strongly a value predicts X or O 𝑤 1 X 𝑤 2 𝑤 3 𝑤 12 O

18 X O

19 Fully connected layer of unknown image
X .92 O .51

20 Putting it all together
A set of pixels becomes a set of votes. .92 X O connected Fully connected Fully Convolution ReLU Convolution ReLU Pooling Convolution ReLU Pooling .51

21 Backpropagation .92 Error = right answer – actual answer X O CNN .51

22 Minimizing error For each feature pixel and voting weight, adjust it up and down a bit and see how the error changes. error weight

23 Decisions for CNN designers
For each convolution layer, How many filter? How many pixels in each filter? For each pooling layer, What window size? What stride?

24 References Brandon Rohrer, Gu, J., Wang, Z., Kuen, J., Ma, L., Shahroudy, A., Shuai, B., Liu, T., Wang, X., Wang, G., Recent advances in convolutional neural networks. arXiv: "Convolutional Neural Networks (LeNet) – DeepLearning 0.1 documentation". DeepLearning 0.1. LISA Lab. Hubel, D. and Wiesel, T. (1968). Receptive fields and functional architecture of monkey striate cortex. Journal of Physiology (London), 195, 215–243


Download ppt "Introduction to Convolutional Neural Network (CNN/ConvNET)-insights from amateur George (Tian Zhou)"

Similar presentations


Ads by Google