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.
43 lines
1.0 KiB
43 lines
1.0 KiB
---
|
|
description: Explore Ultralytics' versatile loss functions - VarifocalLoss, BboxLoss, v8DetectionLoss, v8PoseLoss. Improve your accuracy on YOLO implementations.
|
|
keywords: Ultralytics, Loss functions, VarifocalLoss, BboxLoss, v8DetectionLoss, v8PoseLoss, YOLO, Ultralytics Documentation
|
|
---
|
|
|
|
# Reference for `ultralytics/utils/loss.py`
|
|
|
|
!!! note
|
|
|
|
Full source code for 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).
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.VarifocalLoss
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.FocalLoss
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.BboxLoss
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.KeypointLoss
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.v8DetectionLoss
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.v8SegmentationLoss
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.v8PoseLoss
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.loss.v8ClassificationLoss
|
|
<br><br>
|