当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
九州云出席领航者线上论坛,共话5G MEC边缘计算现状、挑战和未来
职场漫谈:为什么越是内卷的行业越有人争着抢着往里冲?好奇怪的说...
Programmer Qixi Gift - How to quickly build an exclusive chat room for your girlfriend in 30 minutes
MySQL【触发器】
Script to get local IP address
并发刺客(False Sharing)——并发程序的隐藏杀手
router---模式
MPLS experiment
"C pitfalls and pitfalls" reading summary
搭建ros交叉编译环境(从x86到nvidia arm)
烂大街的缓存穿透、缓存击穿和缓存雪崩,你真的懂了?
idea permanent activation tutorial (new version)
《C 陷阱与缺陷 》阅读概要
js深拷贝和浅拷贝具体使用区别_es6深拷贝和浅拷贝
[Niu Ke brush questions-SQL big factory interview questions] NO5. Analysis of a treasure store (e-commerce model)
七夕邂逅爱,那人一定在
eyb:JWT介绍
电子行业MES管理系统有哪些特殊功能
php中的ceil和floo以及round函数「建议收藏」
中大型商业银行堡垒机升级改造就用行云管家!必看!








