Back to Search Start Over

Effect of Hyperparameter Tuning on the Performance of YOLOv8 for Multi Crop Classification on UAV Images

Authors :
Oluibukun Gbenga Ajayi
Pius Onoja Ibrahim
Oluwadamilare Samuel Adegboyega
Source :
Applied Sciences, Vol 14, Iss 13, p 5708 (2024)
Publication Year :
2024
Publisher :
MDPI AG, 2024.

Abstract

This study investigates the performance of YOLOv8, a Convolutional Neural Network (CNN) architecture, for multi-crop classification in a mixed farm with Unmanned Aerial Vehicle (UAV) imageries. Emphasizing hyperparameter optimization, specifically batch size, the study’s primary objective is to refine the model’s batch size for improved accuracy and efficiency in crop detection and classification. Using the Google Colaboratory platform, the YOLOv8 model was trained over various batch sizes (10, 20, 30, 40, 50, 60, 70, 80, and 90) to automatically identify the five different classes (sugarcane, banana trees, spinach, pepper, and weeds) present on the UAV images. The performance of the model was assessed using classification accuracy, precision, and recall with the aim of identifying the optimal batch size. The results indicate a substantial improvement in classifier performance from batch sizes of 10 up to 60, while significant dips and peaks were recorded at batch sizes 70 to 90. Based on the analysis of the obtained results, Batch size 60 emerged with the best overall performance for automatic crop detection and classification. Although the F1 score was moderate, the combination of high accuracy, precision, and recall makes it the most balanced option. However, Batch Size 80 also shows very high precision (98%) and balanced recall (84%), which is suitable if the primary focus is on achieving high precision. The findings demonstrate the robustness of YOLOv8 for automatic crop identification and classification in a mixed crop farm while highlighting the significant impact of tuning to the appropriate batch size on the model’s overall performance.

Details

Language :
English
ISSN :
20763417
Volume :
14
Issue :
13
Database :
Directory of Open Access Journals
Journal :
Applied Sciences
Publication Type :
Academic Journal
Accession number :
edsdoj.10da9e65b642d7be0cfa0290f90d3a
Document Type :
article
Full Text :
https://doi.org/10.3390/app14135708