-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Open
Labels
StaleStale and schedule for closing soonStale and schedule for closing soondetectObject Detection issues, PR'sObject Detection issues, PR'squestionFurther information is requestedFurther information is requested
Description
Search before asking
- I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
Hi, I trained YOLOv5 on my custom dataset with two classes (defect, background).
After training, the confusion matrix only shows predictions in the background column, and all true defect samples are being classified as background.
Dataset size: (e.g., 1000 defect, 5000 background)
Epochs: 999
Batch size: 16
Image size: 1028
Problem:
The confusion matrix shows 100% predictions as background.
Even true defect objects are misclassified as background
Additional

Metadata
Metadata
Assignees
Labels
StaleStale and schedule for closing soonStale and schedule for closing soondetectObject Detection issues, PR'sObject Detection issues, PR'squestionFurther information is requestedFurther information is requested