当前位置:网站首页>9. Introduction to convolutional neural network
9. Introduction to convolutional neural network
2022-07-08 00:55:00 【booze-J】
article
Convolutional neural networks
summary
Convolutional neural network is developed in recent years , It is widely used in image processing and NLP And other fields .
Tradition BP Problems in image processing :
- 1. Too many weights , Too much computation
Suppose you use 100X100 Train with pictures of , that 100X100 The size pictures are 10000 Pixels , Then the input of building the network needs 10000 Neurons , The number of hidden layer neurons in the network is similar to that of input layer neurons , In this case , There will be a lot of weights to be trained and updated . The amount of calculation is very large .
- 2. Too many weights , A large number of samples are needed for training
The more neurons , The more parameters , When you have more parameters , Just like solving equations, the more unknown parameters , The more data is needed to solve the unknown parameters .
Since there are these problems, what should we do ?
CNN adopt Local receptive field and Weight sharing The number of parameters needed to be trained in neural network is reduced .
The first picture above shows a fully connected neural network , The second picture above and the first picture below are locally connected neural networks . Locally connected neural networks have fewer parameters than fully connected neural networks .
1. Convolution kernel
filter , The function of convolution kernel can be understood as extracting some different features of pictures , Different convolution kernels can extract different features .
2. Pooling
Pooling Three common ways :
max-pooling
-meaning-pooling
stochastic pooling
3. Convolution Padding
SAME PADDING
Supplement the outside of the plane 0, After convolution window sampling, a plane with the same size as the original is obtained
VALID PADDING
Not beyond the plane , After convolution window sampling, a plane smaller than the original plane is obtained
4. Pooling Padding
SAME PADDING: May be added to the outside of the plane 0
VALID PADDING: Not beyond the plane
If there is one 28*28 The plane of the , use 2*2 In steps of 2 Window to it pooling operation :
Use SAME PADDING The way , obtain 14*14 The plane of the ;
Use VALID PADDING The way , obtain 14*14 The plane of the .If there is one 2*3 The plane of the , use 2*2 In steps of 2 Window to it pooling operation :
Use SAME PADDING The way , obtain 1*2 The plane of the ;
Use VALID PADDING The way , obtain 1*1 The plane of the .
5.LeNET-5 Introduce
LeNET-5 It is one of the earliest convolutional neural networks , Once widely used in Bank of America . The recognition accuracy of handwritten digits is 99% above .
边栏推荐
- Kubernetes static pod (static POD)
- [reprint] solve the problem that CONDA installs pytorch too slowly
- Implementation of adjacency table of SQLite database storage directory structure 2-construction of directory tree
- Application practice | the efficiency of the data warehouse system has been comprehensively improved! Data warehouse construction based on Apache Doris in Tongcheng digital Department
- New library online | cnopendata China Star Hotel data
- 华泰证券官方网站开户安全吗?
- 2022-07-07: the original array is a monotonic array with numbers greater than 0 and less than or equal to K. there may be equal numbers in it, and the overall trend is increasing. However, the number
- 【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
- Jemter distributed
- 5G NR 系统消息
猜你喜欢
What does interface testing test?
[go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation
A network composed of three convolution layers completes the image classification task of cifar10 data set
【GO记录】从零开始GO语言——用GO语言做一个示波器(一)GO语言基础
[note] common combined filter circuit
新库上线 | CnOpenData中国星级酒店数据
SDNU_ACM_ICPC_2022_Summer_Practice(1~2)
DNS series (I): why does the updated DNS record not take effect?
1293_ Implementation analysis of xtask resumeall() interface in FreeRTOS
取消select的默认样式的向下箭头和设置select默认字样
随机推荐
SDNU_ACM_ICPC_2022_Summer_Practice(1~2)
Class head up rate detection based on face recognition
A network composed of three convolution layers completes the image classification task of cifar10 data set
Reentrantlock fair lock source code Chapter 0
Lecture 1: the entry node of the link in the linked list
Deep dive kotlin collaboration (the end of 23): sharedflow and stateflow
Play sonar
韦东山第三期课程内容概要
From starfish OS' continued deflationary consumption of SFO, the value of SFO in the long run
Semantic segmentation model base segmentation_ models_ Detailed introduction to pytorch
LeetCode刷题
Implementation of adjacency table of SQLite database storage directory structure 2-construction of directory tree
After going to ByteDance, I learned that there are so many test engineers with an annual salary of 40W?
Solution to the problem of unserialize3 in the advanced web area of the attack and defense world
Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知
SDNU_ ACM_ ICPC_ 2022_ Summer_ Practice(1~2)
Qt添加资源文件,为QAction添加图标,建立信号槽函数并实现
Hotel
Fofa attack and defense challenge record
Service mesh introduction, istio overview