-
-
Notifications
You must be signed in to change notification settings - Fork 17k
what is error of train.cache? #13610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
👋 Hello @hitbuyi, thank you for reaching out and providing detailed information about your dataset and error! This is an automated response to assist you as quickly as possible. An Ultralytics engineer will review your issue and provide further help soon 😊. To get started with YOLOv5 🚀, please refer to our ⭐️ Tutorials for step-by-step guides, including Custom Data Training, which can help you set up your dataset and directory structure properly. If this is a 🐛 Bug Report, please provide a minimum reproducible example (MRE) so we can help you debug more efficiently. If this is a custom training ❓ Question, try to include as much information as possible (such as dataset samples, config files, and logs), and review our Tips for Best Training Results to ensure your setup aligns with recommended practices. RequirementsPython>=3.8.0 with all requirements.txt installed, including PyTorch>=1.8. To get started: git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install EnvironmentsYOLOv5 can be run in the following up-to-date verified environments (with all dependencies including [CUDA]/[CUDNN], [Python], and [PyTorch] preinstalled):
Status
🔎 Please provide an MRE if you believe this is a bug, and check your label files and dataset structure according to our Custom Training Tutorial. Thank you for your patience! |
The Looking at your configuration, the issue is likely with your dataset structure and paths. Your YAML points to
Also ensure that for each image file you have a corresponding label file with the same name but |
Thanks for reply. I will have a try. /images/, /labels/ are mandatory in the code, but there are no descriptions in your documents. |
You're absolutely right that the documentation could be clearer about the required folder structure. The YOLOv5 codebase expects images and labels to be in separate folders named |
Uh oh!
There was an error while loading. Please reload this page.
Search before asking
Question
where dataSet includes trainval.txt,val.txt, image is png image, label includes txt lablefiles
contents of train.txt
data cfg ymal is
an error happen
what is train.cache? how to avoid this problem?
Additional
No response
The text was updated successfully, but these errors were encountered: