Improving Vehicle Detection in Challenging Datasets: YOLOv5s and Frozen Layers Analysis

  • Ahmad Nanda Yuma Rafi Mercu Buana University
  • Mohamad Yusuf Mercu Buana University

Abstract

Small datasets and imbalanced classes often cause problems when it used as primary research material. In case of classification and object detection, some researchers proposed Transfer Learning (TF) with several frozen layers. Moreover, YOLO (You Only Look Once) is one of the algorithms that works in real-time object detection. In this research, we focused on evaluating the YOLOv5s version of detecting vehicles in small and imbalanced datasets. The original YOLOv5s were trained and compared with YOLOv5s with freezing layers method (10 and 24 frozen layers). The experimental results of original YOLOv5s were precision score of 0.779, recall value of 0.933, mAP@0.5 of 0.93 and mAP@0.5:0.95 of 0.684 while YOLOv5s with 10 frozen layers where precision score was decreased to 0.639, but the other value increase with recall value of 0.939, mAP@0.5 of 0.951 and mAP@0.5:0.95 of 0.732.  Overall, the version with 10 frozen layers demonstrated superior performance in addressing the challenges of small and imbalanced datasets, particularly excelling in recall and mAP metrics.

Downloads

Download data is not yet available.
Published
2023-12-31
How to Cite
YUMA RAFI, Ahmad Nanda; YUSUF, Mohamad. Improving Vehicle Detection in Challenging Datasets: YOLOv5s and Frozen Layers Analysis. International Journal of Informatics and Computation, [S.l.], v. 5, n. 2, p. 31-45, dec. 2023. ISSN 2714-5263. Available at: <https://ijicom.respati.ac.id/index.php/ijicom/article/view/64>. Date accessed: 06 may 2024. doi: https://doi.org/10.35842/ijicom.v5i2.64.