- Python Reinforcement Learning Projects
- Sean Saito Yang Wenzhuo Rajalingappaa Shanmugamani
- 318字
- 2021-07-23 19:05:02
Convolutional neural networks
Using backpropagation, we are now able to train large networks automatically. This has led to the development of increasingly complex neural network architectures. One example is the convolutional neural network (CNN). There are mainly three types of layers in a CNN: the convolutional layer, the pooling layer, and the fully-connected layer. The fully-connected layer is identical to the standard neural network discussed previously. In the convolutional layer, weights are part of convolutional kernels. Convolution on a two-dimensional array of image pixels is defined as the following:
Where f(u, v) is the pixel intensity of the input at coordinate (u, v), and g(x-u, y-v) is the weight of the convolutional kernel at that location.
A convolutional layer comprises a stack of convolutional kernels; hence the weights of a convolutional layer can be visualized as a three-dimensional box as opposed to the two-dimensional array that we defined for fully-connected layers. The output of a single convolutional kernel applied to an input is also a two-dimensional mapping, which we call a filter. Because there are multiple kernels, the output of a convolutional layer is again a three-dimensional box, which can be referred to as a volume.
Finally, the pooling layer reduces the size of the input by taking m*m local patches of pixels and outputting a scalar. The max-pooling layer takes m*m patches and outputs the greatest value among the patch of pixels.
Given an input volume of the (32, 32, 3) shape—corresponding to height, width, and depth (channels)—a max-pooling layer with a pooling size of 2x2 will output a volume of the (16, 16, 3) shape. The input to the CNN are usually images, which can also be viewed as volumes where the depth corresponds to RGB channels.
The following is a depiction of a typical convolutional neural network:
- 32位嵌入式系統(tǒng)與SoC設(shè)計(jì)導(dǎo)論
- Instant Raspberry Pi Gaming
- 教父母學(xué)會(huì)上網(wǎng)
- 西門子S7-200 SMART PLC從入門到精通
- Docker Quick Start Guide
- 信息物理系統(tǒng)(CPS)測(cè)試與評(píng)價(jià)技術(shù)
- 面向?qū)ο蟪绦蛟O(shè)計(jì)綜合實(shí)踐
- Mastering Geospatial Analysis with Python
- AVR單片機(jī)工程師是怎樣煉成的
- Mastering OpenStack(Second Edition)
- 未來學(xué)徒:讀懂人工智能飛馳時(shí)代
- MongoDB 4 Quick Start Guide
- MySQL Management and Administration with Navicat
- Wireshark Revealed:Essential Skills for IT Professionals
- CPLD/FPGA技術(shù)應(yīng)用