当前位置:网站首页>Theory 1: Deep Learning - Detailed Explanation of the LetNet Model
Theory 1: Deep Learning - Detailed Explanation of the LetNet Model
2022-08-04 14:03:00 【xp_fangfei】
Event address: CSDN 21-day Learning Challenge
Introduction
LeNet is the first real convolutional neural network proposed by Y. Lecun et al. in 1998. Now LeNet now mainly refers to LeNet5, which is mainly characterized by convolutional layers and lowerThe sampling layers are combined as the basic structure of the network, which includes 3 convolutional layers and 2 downsampling layers and 2 fully connected layers.The original purpose of designing LeNet is to recognize handwritten characters and printed characters, and the effect is very good.
Network Structure
Structure Explanation:
- The C1 layer is a convolutional layer with 6 channels, which is obtained by convolution of the input image through 6 5x5 convolution checks.
- The S1 layer is a downsampling layer with 6 channels. It is obtained by the average pooling of the feature map of the C1 layer through a 2x2 window with a step size of 2, and is transformed by the sigmoid activation function.
- C3 is a convolutional layer with 16 channels, which is obtained by convolving S2 with 16 5x5 convolution kernels.
- S4 is a downsampling layer with 16 channels, which is obtained by the average pooling of the feature map of the C3 layer through a 2x2 window with a step size of 2, and using the sigmoid activation function to transform.
- C5 is a convolutional layer containing 120 feature maps, which is obtained by convolving S2 with 120 5x5 convolution kernels.
- F6 is a fully connected layer with 84 neurons, using a hyperbolic tangent activation function.
- output is the output layer with 10 neurons.
Network Process:
- k_size: represents the size of the convolution kernel
- k_num: represents the number of convolutions
- s: represents the step size
Calculation formula introduction:
- Convolution calculation formula:
(n + 2p - k_size) / s + 1
Where: n is the input image size
p is the padding size;is 0;
- The special part of the above process is the process from AvgPool4 to Conv5. The input feature map size is the same as the convolution kernel size, and one-dimensional data is obtained.
Summary:
As the earliest convolutional neural network, LetNet is characterized by a small number of layers, few parameters, and fast training; although the model is relatively small, it has what a real neural network should have (although the sparrow is small and complete), in handwritingWord recognition has better results.
边栏推荐
猜你喜欢
随机推荐
卷积神经网络 基础
【毕设选题推荐】机器人工程专业毕设选题推荐
This article sorts out the development of the main models of NLP
开发者独立搭建一个跨模态搜索应用有多难?
量化细胞内的信息流:机器学习时代下的研究进展
Is there a replacement for the LM2596?LM2576 can
漏洞复现 - - - Alibaba Nacos权限认证绕过
《社会企业开展应聘文职人员培训规范》团体标准在新华书店上架
ROS设置plugin插件
VBS函数应用–getobject的使用获得Automation对象
MySQL【触发器】
将 Sentinel 熔断限流规则持久化到 Nacos 配置中心
搭建ros交叉编译环境(从x86到nvidia arm)
中大型商业银行堡垒机升级改造就用行云管家!必看!
leetcode 48. Rotate Image 旋转图像(Medium)
JSX use
企业应当实施的5个云安全管理策略
考研上岸又转行软件测试,从5k到13k完美逆袭,杭州校区小哥哥拒绝平庸终圆梦!
大势所趋之下的nft拍卖,未来艺术品的新赋能
七夕邂逅爱,那人一定在