Skip to content
Discussion options

You must be logged in to vote

The YAML filename is not the issue here; per the Brain Tumor dataset docs, the official brain-tumor.yaml is a 2-class dataset (negative, positive) with train: images/train and val: images/val, so your names block with 4 classes will only work if your label files also use class IDs 0-3. After correcting the YAML/labels, delete any labels/*.cache files and retry, and if it still fails please paste the full text error plus yolo checks output.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@glenn-jocher
Comment options

Comment options

You must be logged in to vote
2 replies
@banu4prasad
Comment options

@glenn-jocher
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@glenn-jocher
Comment options

Answer selected by raimbekovm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working as intended in the official Ultralytics package. Platform Ultralytics Platform issues
4 participants