Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1 KB

losses.rst

File metadata and controls

43 lines (33 loc) · 1 KB

📉 Losses

Collection of popular semantic segmentation losses. Adapted from an awesome repo with pytorch utils https://github.com/BloodAxe/pytorch-toolbelt

Constants

segmentation_models_pytorch.losses.constants

JaccardLoss

segmentation_models_pytorch.losses.JaccardLoss

DiceLoss

segmentation_models_pytorch.losses.DiceLoss

TverskyLoss ~~~~~~~~ .. autoclass:: segmentation_models_pytorch.losses.TverskyLoss

FocalLoss

segmentation_models_pytorch.losses.FocalLoss

LovaszLoss

segmentation_models_pytorch.losses.LovaszLoss

SoftBCEWithLogitsLoss

segmentation_models_pytorch.losses.SoftBCEWithLogitsLoss

SoftCrossEntropyLoss

segmentation_models_pytorch.losses.SoftCrossEntropyLoss

MCCLoss

segmentation_models_pytorch.losses.MCCLoss