当前位置:网站首页>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 .
边栏推荐
- 大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
- Deep dive kotlin synergy (XXII): flow treatment
- Summary of weidongshan phase II course content
- [go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation
- Invalid V-for traversal element style
- 【obs】Impossible to find entrance point CreateDirect3D11DeviceFromDXGIDevice
- [C language] objective questions - knowledge points
- Introduction to paddle - using lenet to realize image classification method I in MNIST
- 炒股开户怎么最方便,手机上开户安全吗
- [necessary for R & D personnel] how to make your own dataset and display it.
猜你喜欢
深潜Kotlin协程(二十二):Flow的处理
New library launched | cnopendata China Time-honored enterprise directory
华为交换机S5735S-L24T4S-QA2无法telnet远程访问
[go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation
取消select的默认样式的向下箭头和设置select默认字样
基于人脸识别实现课堂抬头率检测
Invalid V-for traversal element style
[necessary for R & D personnel] how to make your own dataset and display it.
Langchao Yunxi distributed database tracing (II) -- source code analysis
Deep dive kotlin synergy (XXII): flow treatment
随机推荐
手写一个模拟的ReentrantLock
fabulous! How does idea open multiple projects in a single window?
【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
Implementation of adjacency table of SQLite database storage directory structure 2-construction of directory tree
Redis, do you understand the list
The standby database has been delayed. Check that the MRP is wait_ for_ Log, apply after restarting MRP_ Log but wait again later_ for_ log
Deep dive kotlin collaboration (the end of 23): sharedflow and stateflow
AI遮天传 ML-初识决策树
What is load balancing? How does DNS achieve load balancing?
51 communicates with the Bluetooth module, and 51 drives the Bluetooth app to light up
The weight of the product page of the second level classification is low. What if it is not included?
jemter分布式
德总理称乌不会获得“北约式”安全保障
What has happened from server to cloud hosting?
Kubernetes static pod (static POD)
大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
玩轉Sonar
英雄联盟胜负预测--简易肯德基上校
How to insert highlighted code blocks in WPS and word
ThinkPHP kernel work order system source code commercial open source version multi user + multi customer service + SMS + email notification