卷积神经网络模型 创建
In recent years, Convolutional Neural Networks have been the first choice for Image processing in Machine Learning projects. Let’s look at how Convolutional Neural Networks work and try to create one for ourselves.
近年来 ,卷积神经网络已经在机器学习项目图像处理的首选。 让我们看看卷积神经网络如何工作,并尝试为自己创建一个。
什么是卷积神经网络? (What are Convolutional Neural Networks?)
Convolutional Neural Networks are an optimized type of neurons, that can extract features from a n-dimensional array.
卷积神经网络是神经元的一种优化类型,可以从n维数组中提取特征。
![Image for post](https://miro.medium.com/freeze/max/9999/1*CH1CIIJhfd918taYjBY1cQ.gif)
Here is how a Convolutional Neural Network functions:
这是卷积神经网络的功能:
Step 1: A filter is generated.
步骤1:生成过滤器。
Step 2: The filter is applied on every part of the image, even in overlapped regions. (Look at animation above for visual aid).
步骤2:将滤镜应用于图像的每个部分,即使在重叠区域也是如此。 (请参见上面的动画以获取视觉帮助)。
Step 3: Multiply the filter weights by the region covered by the filter.
步骤3:将过滤器权重乘以过滤器覆盖的区域。
Step 4: Sum all the values together.
步骤4:将所有值加在一起。
With these four steps, a full forward pass of a Convolutional layer is complete.
通过这四个步骤,完成了卷积层的完整前移。