I'm stuck with the problem of Run cell in Colab to Train Model YOLOv8. The code will use this code.
import os from ultralytics
import YOLO
model = YOLO("yolov8x.yaml")
results = model.train(data=os.path.join(ROOT_DIR, "google_colab_config.yaml"), epochs=60)
There will be a total of 15863 images in this train. When running at 1, 5, or 21 epochs there is no problem, the model can be run as normal, but when I start using a higher number of epochs, for example, I use 70 epochs. Then an error will occur at epochs 38 saying FileNotFoundError : Image Not Found
followed by path of that image or I use 60 epochs it will error at epochs 35 saying FileNotFoundError : Image Not Found
followed by path of that image
I have checked the image paths and verified they are normal images that can be opened normally.
I still do not know the exact cause of what causes the error and how I can fix it.