改进YOLOv5s和迁移学习对番茄穴盘苗的分级检测  被引量:6

Grading detection of tomato hole-pan seedlings using improved YOLOv5s and transfer learning

在线阅读下载全文

作  者:李韬 任玲[1,2] 胡斌 王双[1,2] 赵明 张玉泉 杨苗 LI Tao;REN Ling;HU Bin;WANG Shuang;ZHAO Ming;ZHANG Yuquan;YANG Miao(College of Mechanical and Electrical Engineering,Shihezi University,Shihezi 832003,China;Key Laboratory of Northwest Agricultural Equipment,Ministry of Agriculture and Rural Affairs,Shihezi 832003,China)

机构地区:[1]石河子大学机械电气工程学院,石河子832003 [2]农业农村部西北农业装备重点实验室,石河子832003

出  处:《农业工程学报》2023年第23期174-184,共11页Transactions of the Chinese Society of Agricultural Engineering

基  金:国家自然科学基金项目(32360439);石河子大学高层次人才项目(RCZK2021B17);石河子大学自主资助支持科研项目(ZZZC202105)。

摘  要:为了提高番茄穴盘苗分级检测精度,该研究提出了改进YOLOv5s目标检测模型,并通过迁移学习对番茄穴盘病苗识别精度进行优化。采用轻量级网络EfficientNetv2的Backbone部分作为特征提取网络,保留YOLOv5s中的SPPF空间金字塔池化模块,压缩模型参数数量以减少计算量;更改模型Neck部分原始上采样模块为CARAFE轻量级上采样模块,在引入很少参数量的情况下提高模型精度;同时将PANet替换为BiFPN,引入特征权重信息,增强不同尺度特征融合能力;引入有效多尺度注意力机制(efficient multi-scale attention,EMA),提高对番茄苗的关注,减少背景干扰;替换CIoU损失函数为SIoU损失函数,考虑真实框与预测框之间的方向匹配,提高模型收敛效果。试验结果表明,改进的YOLOv5s目标检测模型经过迁移学习训练后,平均精度均值达到95.6%,较迁移学习前提高了0.7个百分点;与原YOLOv5s模型相比,改进YOLOv5s模型平均精度均值提升2.6个百分点;改进YOLOv5s模型的参数量、计算量和权重大小分别为原YOLOv5s模型的53.1%、20.0%和53.6%,便于后期将模型部署到边缘设备中;与Faster-RCNN、CenterNet及YOLO系列目标检测模型相比,改进YOLOv5s模型在检测精度和检测速度方面均有明显优势,该研究成果可以为穴盘苗的分级检测提供依据。Grading is one of the most important steps in the tomato hole-pan seedlings.In this study,an improved YOLOv5s target model was proposed to optimize the recognition accuracy of tomato hole-pan diseased seedlings using transfer learning.The backbone part of the lightweight network(EfficientNetv2)was used as the feature extraction.The spatial pyramid pooling fusion(SPPF)module in YOLOv5s was retained to compress the number of model parameters,in order to reduce the amount of computation;The lightweight up-sampling module of CARAFE was used to introduce a small number of parameters in the Neck part of the model;And the PANet was replaced with BiFPN to optimize the accuracy of tomato hole-pan seedling identification using transfer learning.The feature weight information was introduced to enhance the fusion of features at different scales;The efficient multi-scale attention mechanism(EMA)was introduced to increase the attention for the tomato hole-pan seedlings,and reduce the background interference;The CIoU loss function was replaced by the SIoU loss function to improve the model accuracy.Direction matching between the real and predicted frame was considered to improve the convergence of the model.The mean average accuracy of the improved YOLOv5s target model reached 95.6%after training by transfer learning,which was 0.7 percentage points higher than before;The improved YOLOv5s model was 53.1%of the number of parameters in the original model,and the computation was 20.0%of the original with only 3.20G,while the weights were 53.6%of the original and the weight size was only 7.35MB,and the mean average accuracy was improved by 2.6 percentage points,compared with the original;The visualization show that the stronger feature extraction was achieved in the improved model.The feature weights were centrally distributed in the center of the burrow and the edge of the burrow holes.Meanwhile,the heat map drawn with the GradCam showed that the improved YOLOv5s model was focused mainly on the burrow seedling itself and the edge o

关 键 词:机器视觉 分级检测 番茄穴盘苗 EfficientNetv2 迁移学习 YOLOv5s 

分 类 号:S24[农业科学—农业电气化与自动化] TP389.1[农业科学—农业工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象