A lightweight YOLOv5 garbage detection and classification method

Mei Huang, Yongxin Chang, Liangbao Zhang, Shuaifeng Jiao
{"title":"A lightweight YOLOv5 garbage detection and classification method","authors":"Mei Huang, Yongxin Chang, Liangbao Zhang, Shuaifeng Jiao","doi":"10.1117/12.2653673","DOIUrl":null,"url":null,"abstract":"Aiming at the problems of unclear, difficult, and inefficient classification of traditional manual waste, and the difficulty of deploying large existing garbage classification network models, a lightweight garbage detection and classification network S-YOLOv5 is designed based on YOLOv5s. First, a garbage dataset containing 18 types of common household garbage is constructed and labeled according to the principles of garbage classification; secondly, a module combining shufflenetv2 and CoordAttention was introduced to replace the YOLOv5s backbone network, and the ReLU activation function in the shufflenet module was substituted by FReLU; finally the PANet structure was replaced by the BiFPN structure, so as to reduce the model complexity and achieve lightweight while maintaining a high mAP. The experimental results show that the size of S-YOLOv5 is only 2.6MB, which is about 1/6 of the original network size, and the mAP is 80.2%. The size of the proposed network is reduced while maintaining high accuracy, making it more suitable for deployment in smart devices.","PeriodicalId":253792,"journal":{"name":"Conference on Optics and Communication Technology","volume":"53 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference on Optics and Communication Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2653673","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Aiming at the problems of unclear, difficult, and inefficient classification of traditional manual waste, and the difficulty of deploying large existing garbage classification network models, a lightweight garbage detection and classification network S-YOLOv5 is designed based on YOLOv5s. First, a garbage dataset containing 18 types of common household garbage is constructed and labeled according to the principles of garbage classification; secondly, a module combining shufflenetv2 and CoordAttention was introduced to replace the YOLOv5s backbone network, and the ReLU activation function in the shufflenet module was substituted by FReLU; finally the PANet structure was replaced by the BiFPN structure, so as to reduce the model complexity and achieve lightweight while maintaining a high mAP. The experimental results show that the size of S-YOLOv5 is only 2.6MB, which is about 1/6 of the original network size, and the mAP is 80.2%. The size of the proposed network is reduced while maintaining high accuracy, making it more suitable for deployment in smart devices.
一个轻量级的YOLOv5垃圾检测和分类方法
针对传统人工垃圾分类不清晰、分类困难、分类效率低以及现有大型垃圾分类网络模型难以部署的问题,基于YOLOv5s设计了一种轻量级的垃圾检测分类网络S-YOLOv5。首先,根据垃圾分类原则,构建包含18种常见生活垃圾的垃圾数据集,并对其进行标注;其次,引入shufflenetv2和coordination attention相结合的模块取代YOLOv5s骨干网,并将shufflenet模块中的ReLU激活功能替换为FReLU;最后将PANet结构替换为BiFPN结构,在保持高mAP的同时降低模型复杂度,实现轻量化。实验结果表明,S-YOLOv5的大小仅为2.6MB,约为原始网络大小的1/6,mAP为80.2%。所提出的网络在保持高精度的同时减少了规模,使其更适合在智能设备中部署。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信