官术网_书友最值得收藏!

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:

Figure 7: An example convolutional neural network
主站蜘蛛池模板: 吴桥县| 绵竹市| 柳州市| 阿鲁科尔沁旗| 涪陵区| 阳江市| 南康市| 二连浩特市| 梅河口市| 松阳县| 左权县| 平利县| 富顺县| 抚顺县| 施秉县| 靖宇县| 普兰店市| 永康市| 策勒县| 微山县| 灵丘县| 社旗县| 岚皋县| 台北县| 宜黄县| 白水县| 凤城市| 克山县| 英山县| 揭阳市| 乐东| 灌云县| 嘉定区| 昌邑市| 德格县| 会理县| 广宁县| 鹤庆县| 西畴县| 独山县| 青川县|