class_docstr: Loss function from https://arxiv.org/abs/1707.03237,
  where iou computation is introduced heatmap manner to measure the
  diversity bwtween tow heatmaps.
class_docstr_tok: ["Loss","function","from","https",":","\/\/arxiv.org\/abs\/1707.03237",",","where","iou","computation","is","introduced","heatmap","manner","to","measure","the","diversity","bwtween","tow","heatmaps","."]
code: def __init__(self, eps=1e-6):
      super(DiceLoss, self).__init__()
      self.eps = eps
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/models/losses/basic_loss.py
imports: import paddle
  import paddle.nn
label_desc: Use image node_id 1 to create a new DiceLoss object from inherited base classes: nn with example: obj = DiceLoss(eps)