2022-04-02 20:01:06 +08:00
|
|
|
# Copyright (c) Alibaba, Inc. and its affiliates.
|
2022-05-31 20:19:17 +08:00
|
|
|
from .cross_entropy_loss import CrossEntropyLoss
|
2022-09-28 14:03:16 +08:00
|
|
|
from .det_db_loss import DBLoss
|
2022-08-25 16:57:37 +08:00
|
|
|
from .face_keypoint_loss import FacePoseLoss, WingLossWithPose
|
2022-08-24 18:11:15 +08:00
|
|
|
from .focal_loss import FocalLoss, VarifocalLoss
|
|
|
|
from .iou_loss import GIoULoss, IoULoss, YOLOX_IOULoss
|
2022-11-23 21:32:08 +08:00
|
|
|
from .l1_loss import L1Loss, SmoothL1Loss
|
2022-04-02 20:01:06 +08:00
|
|
|
from .mse_loss import JointsMSELoss
|
2022-09-28 14:03:16 +08:00
|
|
|
from .ocr_rec_multi_loss import MultiLoss
|
2022-10-24 17:20:12 +08:00
|
|
|
from .pytorch_metric_learning import (AMSoftmaxLoss,
|
|
|
|
CrossEntropyLossWithLabelSmooth,
|
|
|
|
DistributeMSELoss, FocalLoss2d,
|
|
|
|
ModelParallelAMSoftmaxLoss,
|
|
|
|
ModelParallelSoftmaxLoss,
|
|
|
|
SoftTargetCrossEntropy)
|
2022-08-31 15:18:11 +08:00
|
|
|
from .set_criterion import (CDNCriterion, DNCriterion, HungarianMatcher,
|
|
|
|
SetCriterion)
|
2022-10-24 17:20:12 +08:00
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
'CrossEntropyLoss', 'FacePoseLoss', 'WingLossWithPose', 'FocalLoss',
|
|
|
|
'VarifocalLoss', 'GIoULoss', 'IoULoss', 'YOLOX_IOULoss', 'JointsMSELoss',
|
|
|
|
'FocalLoss2d', 'DistributeMSELoss', 'CrossEntropyLossWithLabelSmooth',
|
|
|
|
'AMSoftmaxLoss', 'ModelParallelSoftmaxLoss', 'ModelParallelAMSoftmaxLoss',
|
|
|
|
'SoftTargetCrossEntropy', 'CDNCriterion', 'DNCriterion', 'DBLoss',
|
2022-11-23 21:32:08 +08:00
|
|
|
'HungarianMatcher', 'SetCriterion', 'L1Loss', 'MultiLoss', 'SmoothL1Loss'
|
2022-10-24 17:20:12 +08:00
|
|
|
]
|