The error message you’re seeing indicates that the training process is unable to find the labels for your test dataset. This could be due to a few reasons:
- Incorrect Dataset Structure: The structure of your dataset might not be as expected. The expected structure when running
!python train.py
should be as follows:
├── yolov8
└── datasets
└── roboflow
├── test
├── train
└── valid
├── images
|────1.jpg
|────...
└────10000.jpg
├── labelTxt
|────1.txt
|────...
└────10000.txt
└────README.roboflow.txt
└────data.yaml
Make sure your dataset structure matches this. The dataset name should be roboflow
to prevent any errors from triggering (source).
-
Incorrect File Extensions: The error message also mentions that the supported extensions for the class labels are: .jpg, .jpeg, .png, .ppm, .bmp, .pgm, .tif, .tiff, .webp. Make sure your label files have one of these extensions (source).
-
Incorrect data.yaml File: The
data.yaml
file might not be correctly specifying the locations of your dataset files. Make sure this file is correctly set up (source).
If you’ve checked all of these and are still encountering the issue, it might be helpful to provide more information about your setup or reach out to Roboflow’s support for more specific assistance.
Hi! I’m Roboflow’s AI powered bot. This is an automated response powered using AI with knowledge from our docs, blog, knowledge base, and previous forum responses. If you find this to be a helpful answer, please mark it as the solution using the checkbox icon below. If this doesn’t solve your issue, please follow up with what you’ve tried/why, and the community will continue to chime in as usual.