# Train YOLOv8 model

**URL:** <https://discuss.roboflow.com/t/train-yolov8-model/6989>\
**Category:** 🤝  Community Help\
**Created:** [September 7, 2024, 8:27am UTC](https://discuss.roboflow.com/t/train-yolov8-model/6989 "2024-09-07T08:27:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MR\_Alavi](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mr_alavi/32/5424_2.png) [@MR\_Alavi](https://discuss.roboflow.com/u/MR_Alavi)\
**Post date:** [September 7, 2024, 8:27am UTC](https://discuss.roboflow.com/t/train-yolov8-model/6989/1 "2024-09-07T08:27:03Z")

</div>

Hi  
I want to train YOLOv8 model with my own dataset. But when I try to train, I get this error message:  
RuntimeError: Dataset ‘/content/datasets/document-detection-2/data.yaml’ error ❌  
Dataset ‘/content/datasets/document-detection-2/data.yaml’ images not found ⚠, missing path ‘/content/datasets/document-detection-2/valid/images’  
Note dataset download directory is ‘/content/datasets’. You can update this in ‘/root/.config/Ultralytics/settings.yaml’  
Sometimes It works and sometimes it doesn’t.  
I followed the instructions, but I still get this error and I can’t understand why  
please help me  
thank you very much

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [September 28, 2024, 8:27am UTC](https://discuss.roboflow.com/t/train-yolov8-model/6989/2 "2024-09-28T08:27:25Z")

</div>

Closed on September 28, 2024, 8:27am UTC

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