Issue with Corrupt Images and Missing Labels During Validation

Hello everyone,

I am currently training a YOLOv8 model for keypoint detection, and I’m encountering an issue where it keeps showing the following warnings and errors during training and validation:

WARNING :warning: /content/datasets/padel,-specific-key-point-2/valid/images/Padel-Match-Level--Niveau-3_6--Highlights-_-The-Padel-Guy_mp4-0003_jpg.rf.21ef182ebf6f002727f6fa53307adf10.jpg: ignoring corrupt image/label: cannot reshape array of size 7 into shape (2)

Additionally, during training, I receive the error:

WARNING :warning: no labels found in detect set, can not compute metrics without labels

The error “cannot reshape array of size 7 into shape (2)” seems to be related to corrupt or improperly formatted labels/images in my validation set. Also, the lack of labels in the detection set prevents the model from calculating metrics, which is blocking progress in the training process.

I’ve verified that my dataset follows the correct structure for YOLOv8, as it was straight downloaded with no changes. Does anyone have experience with this issue or suggestions on how to resolve it? Any help would be greatly appreciated!

Thank you in advance!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.