guides/kfold-cross-validation/ #13044
Replies: 3 comments 5 replies
-
In the 5th step, there is a bug. As we all known, 'labels' is a generator, it can't be resued. so in the step, 'labels' is empty when runing code |
Beta Was this translation helpful? Give feedback.
-
Is there any way to implement Stratified K-Fold Cross Validation with YOLOv8? |
Beta Was this translation helpful? Give feedback.
-
Good guide, consider adding it in a colab notebook. In section "Train YOLO using K-Fold Data Splits", model should be re-initialized foe every k, i.e. it should be inside the for-loop: for k in range(ksplit). |
Beta Was this translation helpful? Give feedback.
-
guides/kfold-cross-validation/
An in-depth guide demonstrating the implementation of K-Fold Cross Validation with the Ultralytics ecosystem for object detection datasets, leveraging Python, YOLO, and sklearn.
https://docs.ultralytics.com/guides/kfold-cross-validation/
Beta Was this translation helpful? Give feedback.
All reactions