当前位置:网站首页>从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
参考
边栏推荐
- Redis pipeline
- GTEST from ignorance to skillful use (1) GTEST installation
- Master the use of auto analyze in data warehouse
- ArcGIS 10.2.2 | solution to the failure of ArcGIS license server to start
- Three or two things about the actual combat of OMS system
- Redis bloom filter
- Daily question -leetcode1200- minimum absolute difference - array - sort
- Why does invariant mode improve performance
- GTEST from ignorance to proficiency (4) how to write unit tests with GTEST
- gtest从一无所知到熟练运用(1)gtest安装
猜你喜欢

Huawei ENSP simulator configures ACL access control list

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

CloudCompare&Open3D DBSCAN聚类(非插件式)

GTEST from ignorance to proficiency (3) what are test suite and test case
![[leetcode] 17. Letter combination of telephone number](/img/be/7f456c092f7cda5ebabc2f1cce292e.png)
[leetcode] 17. Letter combination of telephone number

Lambdaquerywrapper usage

如何使用ConcurrentLinkedQueue做一个缓存队列

TCP shakes hands three times and waves four times. Do you really understand?

Huawei ENSP simulator realizes communication security (switch)

CAD中能显示打印不显示
随机推荐
redis发布订阅的使用
Configuration of DNS server of Huawei ENSP simulator
redis管道
redis RDB AOF
Exclusive interview of open source summer | new committer Xie Qijun of Apache iotdb community
Compréhension approfondie du symbole [langue C]
torch. Tensor and torch The difference between tensor
CAD中能显示打印不显示
解决异步接口慢导致的数据错乱问题
Liu Jincheng won the 2022 China e-commerce industry innovation Figure Award
SolidWorks工程图添加材料明细表的操作
[early knowledge of activities] list of recent activities of livevideostack
【活动早知道】LiveVideoStack近期活动一览
[ 每周译Go ] 《How to Code in Go》系列文章上线了!!
GTEST from ignorance to proficiency (3) what are test suite and test case
Analyzing the maker space contained in steam Education
杰理之增加进关机前把触摸模块关闭流程【篇】
Day24: file system
Golang面试整理 三 简历如何书写
Daily question-leetcode556-next larger element iii-string-double pointer-next_ permutation