当前位置:网站首页>从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
参考
边栏推荐
- Delphi SOAP WebService 服务器端多个 SoapDataModule 实现相同的接口方法,接口继承
- Cadeus has never stopped innovating. Decentralized edge rendering technology makes the metauniverse no longer far away
- Golang interview finishing three resumes how to write
- Minidom module writes and parses XML
- Analysis of maker education technology in the Internet Era
- Kubeadm初始化报错:[ERROR CRI]: container runtime is not running
- minidom 模塊寫入和解析 XML
- Jerry added the process of turning off the touch module before turning it off [chapter]
- How was MP3 born?
- Open3D 曲面法向量计算
猜你喜欢

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

Huawei ENSP simulator realizes communication security (switch)

gtest从一无所知到熟练使用(3)什么是test suite和test case

Difference between ApplicationContext and beanfactory (MS)

Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"

GTEST from ignorance to proficiency (3) what are test suite and test case

创客思维在高等教育中的启迪作用

Redis 排查大 key 的3种方法,优化必备

torch. Tensor and torch The difference between tensor

案例分享|金融业数据运营运维一体化建设
随机推荐
IIC (STM32)
redis管道
一文掌握数仓中auto analyze的使用
Go language loop statement (3 in Lesson 10)
Delphi SOAP WebService 服务器端多个 SoapDataModule 实现相同的接口方法,接口继承
In the release version, the random white screen does not display the content after opening the shutter
The video sound of station B is very low - solution
torch. Tensor and torch The difference between tensor
SolidWorks工程图添加材料明细表的操作
How was MP3 born?
Word文档中标题前面的黑点如何去掉
Golang interview finishing three resumes how to write
How to use concurrentlinkedqueue as a cache queue
WGCNA analysis basic tutorial summary
[C language] deep understanding of symbols
哈希表(Hash Tabel)
Flutter TextField示例
Acwing 2022 daily question
gtest从一无所知到熟练使用(3)什么是test suite和test case
2021 CCPC Harbin B. magical subsequence (thinking question)