Skip to content

How can I better train yolo-detect? #17582

Discussion options

You must be logged in to vote

@SnifferCaptain based on your validation metrics, I can suggest a few targeted adjustments to improve recall while maintaining precision. First, try adjusting the confidence threshold during training to a lower value (e.g., conf=0.1) which can help detect more potential objects. You can also modify the hyp.yaml file to increase the obj (objectness) loss weight, which can encourage the model to be more aggressive in detecting objects.

For specific guidance on adjusting these hyperparameters, see the model training tips at https://docs.ultralytics.com/guides/model-training-tips/. If these adjustments don't achieve the desired results, you may want to review your dataset for class imbalance …

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@glenn-jocher
Comment options

Answer selected by SnifferCaptain
Comment options

You must be logged in to vote
4 replies
@SnifferCaptain
Comment options

@Skillnoob
Comment options

@SnifferCaptain
Comment options

@Skillnoob
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested detect Object Detection issues, PR's
4 participants