__init__.py 1.2 KB

123456789101112131415161718192021222324252627
  1. # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. from .mixed_loss import MixedLoss
  15. from .cross_entropy_loss import CrossEntropyLoss
  16. from .binary_cross_entropy_loss import BCELoss
  17. from .lovasz_loss import LovaszSoftmaxLoss, LovaszHingeLoss
  18. from .gscnn_dual_task_loss import DualTaskLoss
  19. from .edge_attention_loss import EdgeAttentionLoss
  20. from .bootstrapped_cross_entropy import BootstrappedCrossEntropyLoss
  21. from .dice_loss import DiceLoss
  22. from .ohem_cross_entropy_loss import OhemCrossEntropyLoss
  23. from .decoupledsegnet_relax_boundary_loss import RelaxBoundaryLoss
  24. from .ohem_edge_attention_loss import OhemEdgeAttentionLoss
  25. from .l1_loss import L1Loss
  26. from .mean_square_error_loss import MSELoss