当前位置:网站首页>Building lightweight target detection based on mobilenet-yolov4
Building lightweight target detection based on mobilenet-yolov4
2022-06-27 03:46:00 【@BangBang】
Network replacement implementation ideas
1、 Network structure analysis and replacement thinking analysis

about YoloV4 for , The whole network structure can be divided into three parts .
Namely :
- 1、 Backbone feature extraction network
Backbone, Corresponding to... On the imageCSPdarknet53 - 2、 Strengthen the feature extraction network , Corresponding to... On the image
SPPandPANet - 3、 Prediction network
YoloHead, Use the obtained features to predict
among :
- The first part is the function of the backbone feature extraction network , Extract network information using backbone features , We can obtain three preliminary effective feature layers .
- The second part is to enhance the function of feature extraction network , Using enhanced feature extraction network , We can perform feature fusion on three preliminary effective feature layers , Extract better features , Get three more effective feature layers .
- The function of the third part of the prediction network is to obtain the prediction results by using a more effective and effective entire layer .
In these three parts , The first 1 Section and section 2 Parts can be modified more easily . The first 3 Some modifiable parts are of little significance , After all, it's just 3x3 Convolution sum 1x1 The combination of convolutions .
mobilenet A series of networks can be used for classification , Its main part is used for feature extraction , We can use mobilenet Series network replaces yolov4 In the middle of CSPdarknet53 Feature extraction , Make the three preliminary effective feature layers the same shape Feature layer to enhance feature extraction , Can will mobilenet Series replacement into yolov4 In the middle .
3、 Integrate the feature extraction results into yolov4 In the Internet

about yolov4 Speaking of , We need to use the three effective features obtained from the backbone feature extraction network to strengthen the construction of the feature pyramid .
Use the... Defined in the previous step MobilenetV1、MobilenetV2、MobilenetV3 Three functions, we can get each Mobilenet Three effective feature layers corresponding to the network .
We can use these three effective feature layers to replace the original yolov4 Backbone network CSPdarknet53 Effective feature layer .
In order to further reduce the number of parameters , We can use deep separable convolution instead of yoloV4 The common convolution used in .
4、 Modify the enhanced feature extraction network PAnet, Reduce the amount of network parameters
about PAnet The parameters of are mainly concentrated in 3x3 In convolution of , If you can 3x3 Convolution is modified , The parameter quantity can be greatly reduced . utilize Deep separable structure is fast Replace 3x3 Convolution
5. Modify convolution kernel magnification factor alpha
Convolution kernel magnification factor alpha, Control the number of convolution kernels , Modifying this parameter can reduce the number of convolution kernels , Thus reducing the amount of network parameters
See blog :Tensorflow2 utilize mobilenet series (v1,v2,v3) build yolov4 Target detection platform
github Source code :https://github.com/bubbliiiing/mobilenet-yolov4-tf2
B Stop video :Tensorflow2 Build your own Mobilenet-YoloV4 Target detection platform
边栏推荐
- Ldr6028 OTG data transmission scheme for mobile devices while charging
- A^2=E | 方程的解 | 这个方程究竟能告诉我们什么
- PAT甲级 1018 Public Bike Management
- 发现一款 JSON 可视化工具神器,太爱了!
- Yuantou firm offer weekly record 20220627
- Static timing analysis OCV and time derive
- PAT甲级 1019 General Palindromic Number
- Pat grade a 1020 tree Traversals
- 解码苹果手机证书文件方法
- 【promise一】promise的介绍与手撸的关键问题
猜你喜欢

MATLAB | 三个趣的圆相关的数理性质可视化

Anaconda3安装过程及安装后缺失大量文件,没有scripts等目录

There are two problems when Nacos calls microservices: 1 Load balancer does not contain an instance for the service 2. Connection refused

How does source insight (SI) display the full path? (do not display omitted paths) (turn off trim long path names with ellipses)

2021:Greedy Gradient Ensemble for Robust Visual Question Answering

I found a JSON visualization tool artifact. I love it!

静态时序分析-OCV和time derate

Fplan powerplan instance
![[数组]BM94 接雨水问题-较难](/img/2b/1934803060d65ea9139ec489a2c5f5.png)
[数组]BM94 接雨水问题-较难

Pat grade a 1018 public bike management
随机推荐
[数组]BM94 接雨水问题-较难
Cvpr2021:separating skills and concepts for new visual question answering
发现一款 JSON 可视化工具神器,太爱了!
resnet152 辣椒病虫害图像识别1.0
fplan-Powerplan实例
栈溢出漏洞
Qingscan use
使用promise的基本功能【四、Promise源码】
MATLAB | 三个趣的圆相关的数理性质可视化
通信中的机器学习最佳阅读资料列表
How does source insight (SI) display the full path? (do not display omitted paths) (turn off trim long path names with ellipses)
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
Games101 job 7 improvement - implementation process of micro surface material
Geometric distribution (a discrete distribution)
2022中式面点师(高级)复训题库及在线模拟考试
如何让 EF Core 6 支持 DateOnly 类型
超级详细,2 万字详解,吃透 ES!
Further exploration of handler (Part 2) (the most complete analysis of the core principles of handler)
Nacos调用微服务两个问题:1.Load balancer does not contain an instance for the service 2.Connection refused
2021:Graphhopper: Multi-Hop Scene Graph Reasoning for Visual Question Answering