Default confidence and IoU threshold for training of yolov5 #7341
Unanswered
rabiyaabbasi
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@rabiyaabbasi default settings are in detect.py argparser, you may modify these to whatever you want: Lines 211 to 243 in 5f941a8 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I wanted to know what are the default values of confidence and IoU threshold while training the data . I have checked train.py file but I am unable to find it. Secondly, attached below is my F1 score. according to which recall and precision optimises at a confidence value of 0.352. Do I need to use this confidence value for detection (!python detect.py --weights runs/train/exp4/weights/best.pt --img 416 --conf 0.352 --source ../dataset)? Secondly, when I checked the detect.py file, the IoU is 0.45 and confidence threshold is 0.25. Why we using this confidence threshold and how to update it?
Beta Was this translation helpful? Give feedback.
All reactions