当前位置:网站首页>从RepVgg到MobileOne,含mobileone的代码
从RepVgg到MobileOne,含mobileone的代码
2022-07-04 20:57:00 【咆哮的阿杰】
重参数化的思想本质上就是利用线性模型的可加性。在工业界就在conv和bn层融合上有所应用。最近几年一直有re-parameter的工作。RepVGG是一个比较好的应用。
VGG是直筒式模型,因为没有skip connnection,导致训练更深层的vgg会出现模型的退化。但如resnet等,skip connnect为端上设备增加了运行耗时,在数据的存取上有不小的消耗。
因此RepVGG,将重参数的思想融合进来,在训练时,为vgg引入了skip connection,在测试时将skip connection和主分支融合,得到一个convbnrelu block,进而变成直筒式模型。
但不同于resnet,RepVgg为了保证线性模型可加的原则,在两个relu之间,使用残差分支。因为在非线性层之间的任何线性层,都可以进行合并。
关于如何融合,可以在参考链接中查看,写的非常详细
而MobileOne则是在RepVGG的基础上,意识到直筒式模型可以为端上模型带来不错的提速。因此决定将RepVgg改造为轻量级模型,将深度分离卷积,使用一些精心设计的训练策略,使得直筒式模型在轻量型模型上,比肩mobilenet等知名轻量化模型,而且在运行速度上更胜一筹。
我复现了mobileone的s0版本,得到了和论文效果相差无几的效果,有兴趣可以在我的github查看
MobileOne code
参考
边栏推荐
- Jerry's ad series MIDI function description [chapter]
- 【C語言】符號的深度理解
- LambdaQueryWrapper用法
- redis缓存
- Analyzing the maker space contained in steam Education
- Redis bloom filter
- [weekly translation go] how to code in go series articles are online!!
- Flink1.13 SQL basic syntax (I) DDL, DML
- 为什么说不变模式可以提高性能
- 刘锦程荣获2022年度中国电商行业创新人物奖
猜你喜欢

ArcGIS 10.2.2 | solution to the failure of ArcGIS license server to start

IIC (STM32)

At the right time, the Guangzhou station of the city chain science and Technology Strategy Summit was successfully held

MP3是如何诞生的?
![Compréhension approfondie du symbole [langue C]](/img/4b/26cf10baa29eeff08101dcbbb673a2.png)
Compréhension approfondie du symbole [langue C]
![[weekly translation go] how to code in go series articles are online!!](/img/bf/77253c87bfa1512f4b8d3d8f7ebe80.png)
[weekly translation go] how to code in go series articles are online!!
![Jerry added the process of turning off the touch module before turning it off [chapter]](/img/28/5e4eb39243a0c973d0b90f76571f9b.png)
Jerry added the process of turning off the touch module before turning it off [chapter]

Routing configuration and connectivity test of Huawei simulator ENSP

超详细教程,一文入门Istio架构原理及实战应用

A quick start to fastdfs takes you three minutes to upload and download files to the ECS
随机推荐
Jerry's ad series MIDI function description [chapter]
为什么说不变模式可以提高性能
redis RDB AOF
AcWing 2022 每日一题
Jerry's ad series MIDI function description [chapter]
Golang面试整理 三 简历如何书写
Interpreting the development of various intelligent organizations in maker Education
How much is the minimum stock account opening commission? Is it safe to open an account online
Numpy vstack and column_ stack
IIC (STM32)
redis布隆过滤器
【活动早知道】LiveVideoStack近期活动一览
Analyzing the maker space contained in steam Education
flink1.13 sql基础语法(一)DDL、DML
Jerry's ad series MIDI function description [chapter]
哈希表(Hash Tabel)
Daily question -leetcode1200- minimum absolute difference - array - sort
Can be displayed in CAD but not displayed in print
Methods of improving machine vision system
输入的查询SQL语句,是如何执行的?