Skip to content

KeyError: 3834 in YOLOv5 Detection Script #12186

Closed Answered by Harshit28j
Harshit28j asked this question in Q&A
Discussion options

You must be logged in to vote

Yes @inesxrodrigues , I figured it out, my friend. This issue is occurring because the class names I have given in my custom_file.yaml are not equal to the number of classes in my dataset. I suggest you organize your dataset properly, ensuring that class names are correct, and specify the correct number of classes.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Harshit28j
Comment options

Answer selected by Harshit28j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants