-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Problems with the configuration of my .yaml file #579
Comments
👋 Hello @Geointeligente, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:
If this is a 🐛 Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix. If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response. We try to respond to all issues as promptly as possible. Thank you for your patience! |
Good morning. Your answer is very global for what I need. Could you be more specific with an example of how the coco.yaml file should be written, since what you show me with videos is very general and assumes that you already know how to configure a coco file .yaml. You just want to explain this, so as not to waste my time and search elsewhere. Regards @github-actions |
@Geointeligente Typically you will see that error when your YAML file can not be validated due to formatting issues. YAML is very sensitive to formatting. You can test your YAML file online with the many available linters, here is an example: If you are able to validate your YAML please reply with the YAML contents and the dataset tree so I can help you further. |
Thanks for your help @kalenmike. I have pasted the custom.yaml, and it tells me that it is fine. I am trying to create a dataset of house roofs, in which there is only one category, but I don't know what could be wrong, if I have my images with their respective labels. |
@kalenmike While your YAML is valid syntax, it is not correct for YOLO. Your names key is creating a dictionary that contains an array. You can see an example dataset here. What you need to do is remove the array inside names, it should look like this: names:
0: techo |
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help. For additional resources and information, please see the links below:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed! Thank you for your contributions to YOLO 🚀 and Vision AI ⭐ |
Search before asking
Question
Good morning. To start, thank you for having this space. Since I am new to this topic of loading data sets. I have the necessary information to upload my data set, but I am failing to configure my custom.yaml. Can you guide me on how to write this configuration, knowing that I have a data folder, within data are other folders images and labeling, but when loading the system tells me that the uploaded yaml is not correct. With Gratitude Omar
Additional
Please be very detailed in the explanation because I am not very knowledgeable in the matter, but I do understand the concept, but it is difficult for me to do what was mentioned above. My email is [email protected]
The text was updated successfully, but these errors were encountered: