You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.2 KiB

description keywords
Explore Ultralytics' versatile loss functions - VarifocalLoss, BboxLoss, v8DetectionLoss, v8PoseLoss. Improve your accuracy on YOLO implementations. Ultralytics, Loss functions, VarifocalLoss, BboxLoss, v8DetectionLoss, v8PoseLoss, YOLO, Ultralytics Documentation

Reference for ultralytics/utils/loss.py

!!! Note

This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/loss.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/loss.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/utils/loss.py) 🛠. Thank you 🙏!



::: ultralytics.utils.loss.VarifocalLoss



::: ultralytics.utils.loss.FocalLoss



::: ultralytics.utils.loss.BboxLoss



::: ultralytics.utils.loss.KeypointLoss



::: ultralytics.utils.loss.v8DetectionLoss



::: ultralytics.utils.loss.v8SegmentationLoss



::: ultralytics.utils.loss.v8PoseLoss



::: ultralytics.utils.loss.v8ClassificationLoss