Object Detection, Yolov8, Machine Learning, Deep Learning, Computer Vision.
for the current mode. Iterates over each file in the labels directory. Reads the lines of the current file and extracts the class information. It updates the counts of each class based on the extracted information. Calculates the total number of data points (files) for the current mode and stores