[PYTHON] Deep Learning Specialization (Coursera) Self-study record (C4W1)

Introduction

This is the content of Course 4, Week 1 (C4W1) of Deep Learning Specialization.

(C4W1L01) Computer Vision

Contents

--For an image of 64 $ \ times $ 64, the number of data will be $ 64 \ times 64 \ times 3 = 12288 $ (considering RGB) --For 1000 $ \ times $ 1000 images, it will be 3 million --Introduce convolution to solve size problem --convolution is useful (maybe) beyond computer vision

(C4W1L02) Edge Detection Example

Contents

--In the computer vision problem, recognition is performed in the order of edge → part → whole. --For Vertical Edge Detection, use the 3 $ \ times $ 3 filter below.

1 0 -1 1 0 -1 1 0 -1

(C4W1L03) More edge detection

Contents

1 0 -1 1 0 -1 1 0 -1

1 1 1 0 0 0 -1 -1 -1

--Make the filter element a variable ($ w_i $) to learn a good filter

(C4W1L04) Padding

Contents

--If the input image is $ n \ times n $ and the filter is $ f \ times f $, the output image will be $ (n-f + 1) \ times (n-f + 1) $.

-$ f $ is usually odd ($ 3 \ times 3 $ is common, $ 5 \ times 5 $ or $ 7 \ times 7 $ is fine)

(C4W1L05) Strided convolution

Contents

--The number of pixels that move the filter is called stride --input image; $ n \ times n $, filter; $ f \ times f $, padding; $ p $, stride; $ s $, output image; $ \ lfloor \ frac {n + 2p-f} { s} + 1 \ rfloor \ times \ lfloor \ frac {n + 2p-f} {s} + 1 \ rfloor $ (truncate if not divisible)

reference

--In mathematical texts, the convolution operation flips the filter over. By doing so, the associative law ($ (A \ ast B) \ ast C = A \ ast (B \ ast C) $) can be satisfied. ――But in deep learning, the filter is calculated as it is without turning it over.

(C4W1L06) Convolutions Over Volume

Contents

reference

-Deep Learning Specialization (Coursera) Self-study record (table of contents)

Recommended Posts

Deep Learning Specialization (Coursera) Self-study record (C3W1)
Deep Learning Specialization (Coursera) Self-study record (C4W3)
Deep Learning Specialization (Coursera) Self-study record (C1W4)
Deep Learning Specialization (Coursera) Self-study record (C2W1)
Deep Learning Specialization (Coursera) Self-study record (C1W2)
Deep Learning Specialization (Coursera) Self-study record (C3W2)
Deep Learning Specialization (Coursera) Self-study record (C2W2)
Deep Learning Specialization (Coursera) Self-study record (C4W1)
Deep Learning Specialization (Coursera) Self-study record (C2W3)
Deep Learning Specialization (Coursera) Self-study record (C4W2)
Learning record
Learning record # 3
Learning record # 1
Learning record # 2
Learning record of reading "Deep Learning from scratch"
"Deep Learning from scratch" Self-study memo (Part 12) Deep learning
"Deep Learning from scratch" self-study memo (unreadable glossary)
"Deep Learning from scratch" Self-study memo (9) MultiLayerNet class
Deep Learning Memorandum
Start Deep learning
Python Deep Learning
Deep learning × Python
"Deep Learning from scratch" Self-study memo (10) MultiLayerNet class
"Deep Learning from scratch" Self-study memo (No. 11) CNN
"Deep Learning from scratch" Self-study memo (No. 19) Data Augmentation
"Deep Learning from scratch 2" Self-study memo (No. 21) Chapters 3 and 4
Learning record so far
First Deep Learning ~ Struggle ~
Python: Deep Learning Practices
Go language learning record
Deep learning / activation functions
Deep Learning from scratch
Learning record 4 (8th day)
Learning record 3 (7th day)
Deep learning / cross entropy
Learning record 5 (9th day)
Learning record 6 (10th day)
First Deep Learning ~ Preparation ~
Programming learning record day 2
Learning record 8 (12th day)
[AI] Deep Metric Learning
Learning record 1 (4th day)
Learning record 7 (11th day)
Python: Deep Learning Tuning
Learning record 2 (6th day)
Linux learning record ① Plan
Learning record 16 (20th day)
Learning record 22 (26th day)
Deep learning / softmax function
"Deep Learning from scratch" self-study memo (No. 19-2) Data Augmentation continued
"Deep Learning from scratch" self-study memo (No. 15) TensorFlow beginner tutorial