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 条
  • [1] Real-time sewer defect detection based on YOLO network, transfer learning, and channel pruning algorithm
    Situ, Zuxiang
    Teng, Shuai
    Liao, Xiaoting
    Chen, Gongfa
    Zhou, Qianqian
    JOURNAL OF CIVIL STRUCTURAL HEALTH MONITORING, 2024, 14 (01) : 41 - 57
  • [2] Real-time sewer defect detection based on YOLO network, transfer learning, and channel pruning algorithm
    Zuxiang Situ
    Shuai Teng
    Xiaoting Liao
    Gongfa Chen
    Qianqian Zhou
    Journal of Civil Structural Health Monitoring, 2024, 14 : 41 - 57
  • [3] Real-time face detection based on YOLO
    Wang Yang
    Zheng Jiachun
    PROCEEDINGS OF THE 2018 1ST IEEE INTERNATIONAL CONFERENCE ON KNOWLEDGE INNOVATION AND INVENTION (ICKII 2018), 2018, : 221 - 224
  • [4] A Real-Time Detection Framework for On-Tree Mango Based on SSD Network
    Liang, Qiaokang
    Zhu, Wei
    Long, Jianyong
    Wang, Yaonan
    Sun, Wei
    Wu, Wanneng
    INTELLIGENT ROBOTICS AND APPLICATIONS (ICIRA 2018), PT II, 2018, 10985 : 423 - 436
  • [5] Real-time Detection of Steel Strip Surface Defects Based on Improved YOLO Detection Network
    Li, Jiangyun
    Su, Zhenfeng
    Geng, Jiahui
    Yin, Yixin
    IFAC PAPERSONLINE, 2018, 51 (21): : 76 - 81
  • [6] A Dim-small Target Real-time Detection Method Based on Enhanced YOLO
    Yan, Mingyang
    Sun, Jianbo
    2022 IEEE INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING, BIG DATA AND ALGORITHMS (EEBDA), 2022, : 567 - 571
  • [7] Lightweight tomato real-time detection method based on improved YOLO and mobile deployment
    Zeng, Taiheng
    Li, Siyi
    Song, Qiming
    Zhong, Fenglin
    Wei, Xuan
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2023, 205
  • [8] A real-time and lightweight traffic sign detection method based on ghost-YOLO
    Shuo Zhang
    Shengbing Che
    Zhen Liu
    Xu Zhang
    Multimedia Tools and Applications, 2023, 82 : 26063 - 26087
  • [9] CAP-YOLO: Channel Attention Based Pruning YOLO for Coal Mine Real-Time Intelligent Monitoring
    Xu, Zhi
    Li, Jingzhao
    Meng, Yifan
    Zhang, Xiaoming
    SENSORS, 2022, 22 (12)
  • [10] A real-time and lightweight traffic sign detection method based on ghost-YOLO
    Zhang, Shuo
    Che, Shengbing
    Liu, Zhen
    Zhang, Xu
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 82 (17) : 26063 - 26087