当前位置:网站首页>Convolutional neural network (Introduction)
Convolutional neural network (Introduction)
2022-07-02 14:18:00 【-Small transparency-】
One 、 A brief introduction of convolutional neural network
adopt Input layer Input , Then according to several Convolution layer Just repeat the following steps several times , Last Output layer Output .
A basic process in convolution calculation is : Convolution -->ReLU( Modified linear element )--> Pooling ( Down sampling )
Then proceed Full connection , Calculate the probability according to the weight , Judge .
Two 、“ Detailed explanation ”
1. Convolution calculation
Split the image into corresponding feature points , go by the name of Convolution kernel .
Then check whether the recognized image has a corresponding convolution kernel to confirm whether it is the target object .
The target image passes Convolution kernel A two-dimensional figure obtained is Characteristics of figure .
2. Activation function
frequently-used :Relu:if x<0: y=0 else y=x
Convert all the negative eigenvalues calculated by convolution into 0, Will not change the characteristics .
3. Pooling
There are a lot of details about one ( It's a feature ), Or a considerable number of hierarchical details , The complexity of the algorithm is very high .
So there is Pooling ( layer )(pooling). Pooling is to reduce the characteristic matrix , namely Zoom out feature map (Feature Map)
Two pooling methods :
1. Maximum pooling : Select the maximum value in the scanned area as Feature Map A characteristic value of
2. The average pooling : Take the average value in the scanned area as Feature Map A characteristic value of
stay Dealing with edges The operation of is called (Padding)
If you use maximum pooling for images , be Fill zero on the edge To extract edge features
Pooling requires that the features of the original feature map must be retained
4. Full link
Operate the array according to the array weight of the target graph to obtain a probability number to judge whether it is the target . Using a large amount of data training for machine learning to correct the convolution kernel and full link behavior . Then use back propagation (backpropagation) The algorithm is constantly modified to deal with the full connection of feature arrays , Finally, we get more and more accurate network .
The convolution kernel and full connection at the beginning are random , Artificially designated , As long as enough data and feedback are fed to the network , Finally, we can get a better algorithm network .
Common English explanations in Convolutional Neural Networks
Filtering: The math behind the match Filter : The math behind comparison
1. Line up the feature and the image patch. Feature and image complement alignment .
2. Multiply each image pixel by the corresponding feature pixel. Multiply each image pixel by the corresponding feature pixel .
3. Add them up. Add up
4. Divide by the total number of pixels in the feature. Divide by the total number of pixels in the feature ( Here refers to the number of pixels in the fragment ).---> Get the final pixel value
Pooling: Shrinking the image stack: Pooling : Shrink the image stack
1. Pick a window size (usually 2 or 3). Choose one 2X2 Of window
2.Pick a stride (usually 2) Move the window one step to the right 2
3.Walk your window across your filtered images. Slide window to filter pictures
4. From each window, take the maximum value. Record the maximum value in turn
After this step , We get a similar , But the smaller picture . It can still be seen that the characteristics of the maximum composition are .
The above is the summary after watching the video .
Push video ( Too cattle !): Explain the working principle of convolutional neural network in vernacular _ Bili, Bili _bilibili
边栏推荐
- < schéma de développement de la machine d'exercice oral > machine d'exercice oral / trésor d'exercice oral / trésor de mathématiques pour enfants / lecteur LCD de calculatrice pour enfants IC - vk1621
- 万物生长大会在杭召开,当贝入选2022中国未来独角兽TOP100榜单
- In 2021, the global TCB adapter revenue was about $93 million, and it is expected to reach $315.5 million in 2028
- Subcontracting configuration of uniapp applet subpackages
- Daily learning 2
- D language, possible 'string plug-ins'
- uniapp小程序 subPackages分包配置
- SystemServer进程
- Go operation redis
- How many knowledge points can a callable interface have?
猜你喜欢
![[to be continued] [UE4 notes] l5ue4 model import](/img/6b/d3083afc969043dbef1aeb4fccfc99.jpg)
[to be continued] [UE4 notes] l5ue4 model import

qt中uic的使用

Codeforces Round #803 (Div. 2)(A~D)

Development skills of rxjs observable custom operator

当贝投影4K激光投影X3 Pro获得一致好评:万元投影仪首选

The global special paper revenue in 2021 was about $27 million, and it is expected to reach $35 million in 2028. From 2022 to 2028, the CAGR was 3.8%

QT new project_ MyNotepad++

每日学习2

Origin绘制热重TG和微分热重DTG曲线

Who is better, Qianyuan projection Xiaoming Q1 pro or Jimi new play? Which configuration is higher than haqu K1?
随机推荐
uniapp小程序 subPackages分包配置
故事点 vs. 人天
P1347 sorting (topology + SPFA judgment ring or topology [inner judgment ring])
浏览器驱动的下载
P1908 reverse sequence pair
线性dp求解 最长子序列 —— 小题三则
Data consistency between redis and database
BeanUtils -- shallow copy -- example / principle
Daily learning 2
Qt-制作一个简单的计算器-实现四则运算-将结果以对话框的形式弹出来
Golang 快速生成数据库表的 model 和 queryset
How to set QT manual layout
docker mysql
Solve the problem that openocd fails to burn STM32 and cannot connect through SWD
Who is better, Qianyuan projection Xiaoming Q1 pro or Jimi new play? Which configuration is higher than haqu K1?
抓包工具fiddler学习
< schéma de développement de la machine d'exercice oral > machine d'exercice oral / trésor d'exercice oral / trésor de mathématiques pour enfants / lecteur LCD de calculatrice pour enfants IC - vk1621
[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)
[document tree, setting] font becomes smaller
Use of freemaker