Yolov5 NMS calculation #7029
krishnakanagal
started this conversation in
General
Replies: 2 comments 1 reply
-
@krishnakanagal class confidence times object confidence is the total confidence that is used for NMS. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@krishnakanagal It's the common practice and with the logic that if any one of the confidences is low, we make sure to deprioritize them during NMS and hence multiplication |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to understand why the object confidence score is multiplied with the class confidence score in the non_max_suppression in yolov5?
x[:, 5:] *= x[:, 4:5] # conf = obj_conf * cls_conf
Is there any benefit in doing this? Why is the class confidence score not used as is?
Beta Was this translation helpful? Give feedback.
All reactions