当前位置:网站首页>从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
参考
边栏推荐
猜你喜欢

How to remove the black dot in front of the title in word document

Keep on fighting! The city chain technology digital summit was grandly held in Chongqing

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

Interpreting the development of various intelligent organizations in maker Education

Huawei ENSP simulator configures ACL access control list

Daily question-leetcode556-next larger element iii-string-double pointer-next_ permutation

Daily question -leetcode1200- minimum absolute difference - array - sort

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

CloudCompare&Open3D DBSCAN聚类(非插件式)
![[early knowledge of activities] list of recent activities of livevideostack](/img/14/d2cdae45a18a5bba7ee1ffab903af2.jpg)
[early knowledge of activities] list of recent activities of livevideostack
随机推荐
开源之夏专访|Apache IoTDB社区 新晋Committer谢其骏
QT—双缓冲绘图
Huawei ENSP simulator enables devices of multiple routers to access each other
Redis bloom filter
Lambdaquerywrapper usage
GTEST from ignorance to proficient use (2) what is test fixture
Jerry's ad series MIDI function description [chapter]
How to implement Devops with automatic tools
minidom 模块写入和解析 XML
Jerry's ad series MIDI function description [chapter]
Rotary transformer string judgment
Compréhension approfondie du symbole [langue C]
Go语言循环语句(第10课中3)
案例分享|金融业数据运营运维一体化建设
改善机器视觉系统的方法
股票开户佣金最低多少,炒股开户佣金最低网上开户安全吗
AcWing 2022 每日一题
每日一题-LeetCode556-下一个更大元素III-字符串-双指针-next_permutation
创客思维在高等教育中的启迪作用
WGCNA分析基本教程总结