当前位置:网站首页>A brief introduction to the interest of convolutional neural networks
A brief introduction to the interest of convolutional neural networks
2022-07-25 09:28:00 【Bubble Yi】
Convolutional neural network is a magical 、 A profound vocabulary . Now let's uncover it The Painted Veil .“ Convolution ” I think everyone is familiar with it , It is learned in probability theory, and convolution neural network is the operation of mathematical convolution on image pixel matrix . so The charm of Mathematics !
One 、 Convolution understanding
Convolution is the sum of two variables multiplied in a certain range ;
In the case of discreteness, the number sequence is multiplied and then summed ;
In continuous case, it is function multiplication and integration ;
Convolution is the operation of two functions , Meet the conditions ( Commutative law , Distributive law , Associative law , The law of combination of number and multiplication , Translation properties , Differential properties , Integral characteristics, etc ) The operator of . in short : On the original input, a small area and a small area are used for feature extraction , The calculation process of convolution will be explained in detail later .
Two 、 Convolutional neural networks (convolutional neural network,CNN) yes ⼀ Class of powerful neural networks , It is designed for processing image data . Based on convolution neural ⽹ The model of network structure has occupied a dominant position in the field of computer vision .
1、 nature
(1). Translation invariance : No matter where it appears in the image , nerve ⽹ The bottom layer of the network should respond similarly to the same image area . This principle is “ Translation invariance ”.
(2) Locality : nerve ⽹ The bottom of the network should only explore losing ⼊ Local areas in the image , Without considering the content of the remote area of the image , This is it. “ Locality ” principle .
3、 ... and 、 Compare convolutional neural network and fully connected neural network

On the left : All connected neural networks ( Plane ): Input layer , Activation function , Fully connected layer .
Right picture : Convolutional neural networks ( Three-dimensional ): Input layer , Convolution layer , Activation function , Pooling layer , Fully connected layer .
Four 、 Cross correlation operation
Suppose you lose ⼊ Shape is nh × nw, The shape of convolution kernel is kh × kw, Then output shape It will be (nh − kh + 1) × (nw − kw + 1).

Detailed calculation process :
×
+ ![]()
=
Multiply the corresponding elements plus offset b You can get . Subsequent sliding 2 Cycle this step to calculate .
Why slide two grids ?
Sliding grid (stride) The smaller it is , The more features are extracted . Generally do not take 1, Consider time efficiency .
5、 ... and 、 Pooling layer ( Compress image features , Personal understanding ( The feeling of dimensionality reduction ))
The pool operator is deterministic , We usually calculate all the elements in the pooled window The maximum or average of . These operations are called most ⼤ Pooling layer (maximum pooling) and Average pooling layer (average pooling).

边栏推荐
猜你喜欢

Thick willow dustpan, thin willow bucket, who hates reptile man? Asynchronous synergism, half a second to strip away a novel

@3-1 CCF 2020-09-1 称检测点查询

*7-2 CCF 2015-09-2 日期计算

MongoDB数据库文件的读与写

How can technologists start their personal brand? Exclusive teaching of top five KOLs

What are stand-alone, cluster and distributed?
![[De1CTF 2019]SSRF Me](/img/12/44c37cc713b49172a10579c9628c94.png)
[De1CTF 2019]SSRF Me

@3-2 CCF 2020-12-2 期末预测之最佳阈值

Guangzhou has carried out in-depth "100 day action" to check the safety of self built commercial houses, and more than 2 million houses have been checked in two months

Publish Yum private server using nexus3 (offline intranet)
随机推荐
activemq--延迟投递和定时投递
Understand why we should rewrite the equals method and hashcode method at the same time + example analysis
基本的网络知识
[WSN communication] optimize HWSN energy-saving clustering protocol based on MATLAB biogeography [including Matlab source code, 1989]
Thick willow dustpan, thin willow bucket, who hates reptile man? Asynchronous synergism, half a second to strip away a novel
The difference between abstract classes and interfaces (the most detailed)
[GKCTF 2021]easynode
¥1-2 例2.2 将两个集合的并集放到线性表中
『怎么用』观察者模式
~2 ccf 2022-03-1 未初始化警告
有误差的字符串型时间比较方法String.compareTo
Understand the execution process of try, catch and finally (including return) (the most detailed analysis of the whole network)
Notes on in-depth analysis of C language 2
[GYCTF2020]Node Game
Detailed explanation of the use of nanny scanner class
activemq--可持久化机制之JDBC的journal
redis操作利用游标代替keys
粗柳簸箕细柳斗,谁嫌爬虫男人丑 之 异步协程半秒扒光一本小说
idea实用tips---如今将pom.xml(红色)改为pom.xml(蓝色)
MySQL的索引、视图与事务