Skip to content

Loss types #2712

Discussion options

You must be logged in to vote

@MattAlanWright hello! The three loss types you mentioned are components of the overall loss function used to train YOLOv8 models:

  • Box loss is responsible for the accuracy of the bounding box predictions. It measures how well the predicted boxes match the ground truth boxes in terms of location and size.

  • Class loss evaluates the accuracy of the predicted object classes. It measures how well the model classifies the objects within the bounding boxes.

  • DFL loss (Distribution Focal Loss) is a variant of the focal loss that focuses on hard-to-classify examples and is used to improve the model's performance on challenging cases.

To emphasize recall over precision, you might consider adj…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MattAlanWright
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