当前位置:网站首页>Convolutional neural network -- understanding of pooling
Convolutional neural network -- understanding of pooling
2022-07-07 07:22:00 【Programmer base camp】
Link to the original text :https://www.cnblogs.com/booturbo/archive/2020/04/13/12693858.html
When training convolution neural network model , I often meet max pooling and average pooling, In recent years, most image classification models have adopted max pooling, Why are they all used max pooling, What are its advantages ?
In general ,max pooling Is much better , although max pooling and average pooling All the data sampling, But I feel max pooling It's more like making feature selection , The features with higher classification recognition are selected , It provides nonlinearity , According to relevant theories , The error of feature extraction mainly comes from two aspects :(1) The variance of the estimated value increases due to the limited size of the neighborhood ;(2) The error of convolution layer parameters causes the shift of estimated mean value . Generally speaking ,average pooling Can reduce the first kind of error , Keep more background information of the image ,max pooling Can reduce the second error , Preserve more texture information .average pooling More emphasis on the overall feature information sampling, It contributes more to reducing parameter dimensions , It is more reflected in the complete transmission of information , In a large and representative model , such as DenseNet Most of the connections between modules in the are average pooling, While reducing dimensions , More favorable information is transferred to the next module for feature extraction .
average pooling It is also widely used in the global average pooling operation , stay ResNet and Inception Average pooling is used in the last layer of the structure . sometimes , Using global average pooling near the end of the model classifier can also replace flatten operation , Make the input data into a one-dimensional vector .
max pooling and average pooling The performance of is very helpful for designing convolution network model , Although the pooling operation has little effect on the overall accuracy improvement , But in reducing parameters and dimensions , Control over fitting and improve model performance , The role of saving computing power is still obvious , Therefore, pooling operation is an indispensable part of convolutional neural network design .
边栏推荐
- Role of virtual machine
- leetcode 509. Fibonacci number
- LC 面试题 02.07. 链表相交 & LC142. 环形链表II
- Kuboard can't send email and nail alarm problem is solved
- MIPS uclibc cross compile ffmpeg, support g711a encoding and decoding
- Communication between non parent and child components
- Big coffee gathering | nextarch foundation cloud development meetup is coming
- At the age of 20, I got the ByteDance offer on four sides, and I still can't believe it
- Project practice five fitting straight lines to obtain the center line
- Torefs API and toref API
猜你喜欢
Flexible layout (I)
95后CV工程师晒出工资单,狠补了这个,真香...
Abnova immunohistochemical service solution
Project practice five fitting straight lines to obtain the center line
Use of completable future
$refs:组件中获取元素对象或者子组件实例:
Academic report series (VI) - autonomous driving on the journey to full autonomy
虚拟机的作用
main函数在import语句中的特殊行为
抽丝剥茧C语言(高阶)指针进阶练习
随机推荐
子组件传递给父组件
Release notes of JMeter version 5.5
Composition API premise
Stockage et pratique des données en langage C (haut niveau)
Advanced level of C language (high level) pointer
弹性布局(一)
PostgreSQL source code (59) analysis of transaction ID allocation and overflow judgment methods
How can flinksql calculate the difference between a field before and after update when docking with CDC?
Wechat applet full stack development practice Chapter 3 Introduction and use of APIs commonly used in wechat applet development -- 3.10 tabbar component (I) how to open and use the default tabbar comp
Kuboard can't send email and nail alarm problem is solved
Please tell me how to monitor multiple schemas and tables by listening to PgSQL
栈题目:有效括号的嵌套深度
Circulating tumor cells - here comes abnova's solution
Graduation design game mall
选择商品属性弹框从底部弹出动画效果
【mysqld】Can't create/write to file
How do I get the last part of a string- How to get the last part of a string?
Blue Bridge Cup Netizen age (violence)
Stack Title: nesting depth of valid parentheses
[Luogu p1971] rabbit and egg game (bipartite game)