An attribution-based pruning method for real-time mango detection with YOLO network

被引:79
|
作者
Shi, Rui [1 ]
Li, Tianxing [1 ]
Yamaguchi, Yasushi [1 ]
机构
[1] Univ Tokyo, Dept Gen Syst Studies, Tokyo, Japan
基金
日本学术振兴会;
关键词
Deep learning; Mango detection; Network pruning; Attribution methods;
D O I
10.1016/j.compag.2020.105214
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
Real-time fruit detection and localization in orchards are essential for agronomic applications of yield estimation, yield mapping, and automated harvesting. Traditional detection methods based on hand-crafted feature extractors are difficult to adapt to the complicated variations in real orchard environments. Modem deep neural networks (DNNs) need high performance computing units for inference, this is not practical for typical farms and orchards, despite the high detection performance. To reduce the computation cost of DNNs, we propose a generalized attribution method for pruning detection networks which can be easily finetuned to accurately detect mango in real time. By designing the channel and spatial masks to generalize the attribution method, the convolutional kernels that are firmly correlated with specific target output in the original YOLOv3-tiny network can be detected. Then, the uncorrelated kernels are pruned in channel-dimension layer-by-layer. Before finetuning the pruned network, anchor sizes, data augmentation, and learning rate decay were adapted for mango detection. The experimental results show that the proposed pruning method could identify the highly target-related convolutional kernels and that the finetuned network provides better mango detection performance than the original. Our resulting network which is a scale and rotation invariant mango detection network achieved an Fl-score of 0.944 with 2.6 GFLOPs (giga-floating point operations). Compared to the finetuned network without pruning, the computation of our network was reduced by 68.7% whereas the accuracy was increased by 0.4%. Compared to a state-of-the-art network trained with the same mango dataset, the computation was reduced by 83.4% with only about 2.4% loss in accuracy. The proposed pruning method can strip a sub-network from a large-scale detection network to meet the real-time requirements of low-power-consumption processors for mobile devices, e.g., ARM Cortex-A8 performs around 4.0 GFLOPS (giga-floating point operations per second). The trained network and test code are available for comparative studies.
引用
收藏
页数:11
相关论文
共 50 条
  • [31] YOLO-CEA: a real-time industrial defect detection method based on contextual enhancement and attention
    Zhao, Shilong
    Li, Gang
    Zhou, Mingle
    Li, Min
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2024, 27 (03): : 2329 - 2344
  • [32] ECM-YOLO: a real-time detection method of steel surface defects based on multiscale convolution
    Yan, Chunman
    Xu, Ee
    JOURNAL OF THE OPTICAL SOCIETY OF AMERICA A-OPTICS IMAGE SCIENCE AND VISION, 2024, 41 (10) : 1905 - 1914
  • [33] Using Channel and Network Layer Pruning Based on Deep Learning for Real-Time Detection of Ginger Images
    Fang, Lifa
    Wu, Yanqiang
    Li, Yuhua
    Guo, Hongen
    Zhang, Hua
    Wang, Xiaoyu
    Xi, Rui
    Hou, Jialin
    AGRICULTURE-BASEL, 2021, 11 (12):
  • [34] Real-time defect detection method based on YOLO-GSS at the edge end of a transmission line
    Hou, Chao
    Li, Zhilei
    Shen, Xueliang
    Li, Guochao
    IET IMAGE PROCESSING, 2024, 18 (05) : 1315 - 1327
  • [35] AG-YOLO: Attention-guided network for real-time object detection
    Hangyu Zhu
    Libo Sun
    Wenhu Qin
    Feng Tian
    Multimedia Tools and Applications, 2024, 83 : 28197 - 28213
  • [36] AG-YOLO: Attention-guided network for real-time object detection
    Zhu, Hangyu
    Sun, Libo
    Qin, Wenhu
    Tian, Feng
    MULTIMEDIA TOOLS AND APPLICATIONS, 2024, 83 (09) : 28197 - 28213
  • [37] Real-time detection method for network traffic anomalies
    Zou, Bai-Xian
    Jisuanji Xuebao/Chinese Journal of Computers, 2003, 26 (08): : 940 - 947
  • [38] Neural Network Pruning for Real-Time Polyp Segmentation
    Sapkota, Suman
    Poudel, Pranav
    Regmi, Sudarshan
    Panthi, Bibek
    Bhattarai, Binod
    MEDICAL IMAGE UNDERSTANDING AND ANALYSIS, MIUA 2023, 2024, 14122 : 298 - 309
  • [39] Real-time and lightweight detection of grape diseases based on Fusion Transformer YOLO
    Liu, Yifan
    Yu, Qiudong
    Geng, Shuze
    FRONTIERS IN PLANT SCIENCE, 2024, 15
  • [40] YOLO-V3 based real-time drone detection algorithm
    Hamid R. Alsanad
    Amin Z Sadik
    Osman N. Ucan
    Muhammad Ilyas
    Oguz Bayat
    Multimedia Tools and Applications, 2022, 81 : 26185 - 26198