application_vnd.jupyter.stderr_output_2.png application_vnd.jupyter.stderr_output_3.png application_vnd.jupyter.stderr_output_1.png
from ultralytics import YOLO

from ultralytics import YOLO
model = YOLO('yolov8n-cls.pt')
model.train(data='/kaggle/working/fruit-and-vegetable-image-recognition/', epochs=3)