- 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:
- Ansible Configuration Management
- 工業(yè)機器人虛擬仿真實例教程:KUKA.Sim Pro(全彩版)
- 軟件架構設計
- 空間機器人遙操作系統(tǒng)及控制
- 計算機網(wǎng)絡應用基礎
- Pig Design Patterns
- Photoshop CS3圖層、通道、蒙版深度剖析寶典
- 完全掌握AutoCAD 2008中文版:機械篇
- 悟透AutoCAD 2009完全自學手冊
- Visual FoxPro數(shù)據(jù)庫基礎及應用
- 網(wǎng)絡安全技術及應用
- 水晶石影視動畫精粹:After Effects & Nuke 影視后期合成
- Silverlight 2完美征程
- 經(jīng)典Java EE企業(yè)應用實戰(zhàn)
- 數(shù)據(jù)庫基礎:Access