Detecting and eliminating sprouted potatoes is a basic measure before potato storage, which can effectively improve the quality of potatoes before storage and reduce economic losses due to potato spoilage and decay. In this paper, we propose an improved YOLOv5-based sprouted potato detection model for detecting and grading sprouted potatoes in complex scenarios. By replacing Conv with CrossConv in the C3 module, the feature similarity loss problem of the fusion process is improved, and the feature representation is enhanced. SPP is improved using fast spatial pyramid pooling to reduce feature fusion parameters and speed up feature fusion. The 9-Mosaic data augmentation algorithm improves the model generalization ability; the anchor points are reconstructed using the genetic algorithm $k$ -means to enhance small target features, and then multi-scale training and hyperparameter evolution mechanisms are used to improve the accuracy. The experimental results show that the improved model has 90.14% recognition accuracy and 88.1% mAP, and the mAP is 4.6%, 7.5%, and 12.4% higher compared with SSD, YOLOv5, and YOLOv4, respectively. In summary, the improved YOLOv5 model, with good detection accuracy and effectiveness, can meet the requirements of rapid grading in automatic potato sorting lines.
Crop leaf diseases can reflect the current health status of the crop, and the rapid and automatic detection of field diseases has become one of the difficulties in the process of industrialization of agriculture. In the widespread application of various machine learning techniques, recognition time consumption and accuracy remain the main challenges in moving agriculture toward industrialization. This article proposes a novel network architecture called YOLO V5-CAcT to identify crop diseases. The fast and efficient lightweight YOLO V5 is chosen as the base network. Repeated Augmentation, FocalLoss, and SmoothBCE strategies improve the model robustness and combat the positive and negative sample ratio imbalance problem. Early Stopping is used to improve the convergence of the model. We use two technical routes of model pruning, knowledge distillation and memory activation parameter compression ActNN for model training and identification under different hardware conditions. Finally, we use simplified operators with INT8 quantization for further optimization and deployment in the deep learning inference platform NCNN to form an industrial-grade solution. In addition, some samples from the Plant Village and AI Challenger datasets were applied to build our dataset. The average recognition accuracy of 94.24% was achieved in images of 59 crop disease categories for 10 crop species, with an average inference time of 1.563 ms per sample and model size of only 2 MB, reducing the model size by 88% and the inference time by 72% compared with the original model, with significant performance advantages. Therefore, this study can provide a solid theoretical basis for solving the common problems in current agricultural disease image detection. At the same time, the advantages in terms of accuracy and computational cost can meet the needs of agricultural industrialization.
23 September 2022 in Computational Intelligence and Neuroscience
To solve the problems of weak generalization of potato early and late blight recognition models in real complex scenarios, susceptibility to interference from crop varieties, colour characteristics, leaf spot shapes, disease cycles and environmental factors, and strong dependence on storage and computational resources, an improved YOLO v5 model (DA-ActNN-YOLOV5) is proposed to study potato diseases of different cycles in multiple regional scenarios. Thirteen data augmentation techniques were used to expand the data to improve model generalization and prevent overfitting; potato leaves were extracted by YOLO v5 image segmentation and labelled with LabelMe for building data samples; the component modules of the YOLO v5 network were replaced using model compression technology (ActNN) for potato disease detection when the device is low on memory. Based on this, the features extracted from all network layers are visualized, and the extraction of features from each network layer can be distinguished, from which an understanding of the feature learning behavior of the deep model can be obtained. The results show that in the scenario of multiple complex factors interacting, the identification accuracy of early and late potato blight in this study reached 99.81%. The introduced data augmentation technique improved the average accuracy by 9.22%. Compared with the uncompressed YOLO v5 model, the integrated ActNN runs more efficiently, the accuracy loss due to compressed parameters is less than 0.65%, and the time consumption does not exceed 30 min, which saves a lot of computational cost and time. In summary, this research method can accurately identify potato early and late blight in various scenarios.
As global carbon reduction initiatives progress and the new energy sector rapidly develops, photovoltaic (PV) power generation is playing an increasingly significant role in renewable energy. Accurate PV output forecasting, influenced by meteorological factors, is essential for efficient energy management. This paper presents an optimal hybrid forecasting strategy, integrating bidirectional temporal convolutional networks (BiTCN), dynamic convolution (DC), bidirectional long short-term memory networks (BiLSTM), and a novel mixed-state space model (Mixed-SSM). The mixed-SSM combines the state space model (SSM), multilayer perceptron (MLP), and multi-head self-attention mechanism (MHSA) to capture complementary temporal, nonlinear, and long-term features. Pearson and Spearman correlation analyses are used to select features strongly correlated with PV output, improving the prediction correlation coefficient (R2) by at least 0.87%. The K-Means++ algorithm further enhances input data features, achieving a maximum R2 of 86.9% and a positive R2 gain of 6.62%. Compared with BiTCN variants such as BiTCN-BiGRU, BiTCN-transformer, and BiTCN-LSTM, the proposed method delivers a mean absolute error (MAE) of 1.1%, root mean squared error (RMSE) of 1.2%, and an R2 of 89.1%. These results demonstrate the model’s effectiveness in forecasting PV power and supporting low-carbon, safe grid operation.
13 November 2023 in Acadlore Transactions on AI and Machine Learning
In the realm of agriculture, crop yields of fundamental cereals such as rice, wheat, maize, soybeans, and sugarcane are adversely impacted by insect pest invasions, leading to significant reductions in agricultural output. Traditional manual identification of these pests is labor-intensive and time-consuming, underscoring the necessity for an automated early detection and classification system. Recent advancements in machine learning, particularly deep learning, have provided robust methodologies for the classification and detection of a diverse array of insect infestations in crop fields. However, inaccuracies in pest classification could inadvertently precipitate the use of inappropriate pesticides, further endangering both agricultural yields and the surrounding ecosystems. In light of this, the efficacy of nine distinct pre-trained deep learning algorithms was evaluated to discern their capability in the accurate detection and classification of insect pests. This assessment utilized two prevalent datasets, comprising ten pest classes of varied sizes. Among the transfer learning techniques scrutinized, adaptations of ResNet-50 and ResNet-101 were deployed. It was observed that ResNet-50, when employed in a transfer learning paradigm, achieved an exemplary classification accuracy of 99.40% in the detection of agricultural pests. Such a high level of precision represents a significant advancement in the field of precision agriculture.