Skip to content
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

YAML file creation #680

Closed
1 task done
abddawn174 opened this issue May 9, 2024 · 2 comments
Closed
1 task done

YAML file creation #680

abddawn174 opened this issue May 9, 2024 · 2 comments
Labels
fixed Bug is resolved question A HUB question that does not involve a bug

Comments

@abddawn174
Copy link

Search before asking

Question

I need a guide on composing YAML file compatible with the Ultralytics hub training web.

Additional

I want to compose the YAML code for my custom dataset

@abddawn174 abddawn174 added the question A HUB question that does not involve a bug label May 9, 2024
@pderrenger
Copy link
Member

@abddawn174 hello!

Great to hear you're setting up your YAML for a custom dataset! For a compatible YAML file in the Ultralytics HUB, you will structure it to mainly include the paths to your train and validation data sets, class names, and the number of classes.

The general format looks like this:

  • path: top-level config pointing to the dataset root
  • train: subpath to training images
  • val: subpath to validation images
  • nc: number of classes
  • names: list of class names

To tailor it to your needs, specify paths and classes directly corresponding to your dataset structure. For a comprehensive explanation and other configuration details, please visit the Ultralytics HUB Documentation at https://docs.ultralytics.com/hub.📘

Best of luck with your project! If you have any more questions, feel free to ask. 😊

@sergiuwaxmann
Copy link
Member

Hello @abddawn174!

Here are some links that will help you format your dataset YAML:

@sergiuwaxmann sergiuwaxmann added the fixed Bug is resolved label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Bug is resolved question A HUB question that does not involve a bug
Projects
None yet
Development

No branches or pull requests

3 participants