docstr: Args:
      matcher_coeff (dict): The coefficient of hungarian matcher cost.
docstr_tok: ["Args",":","matcher_coeff","(","dict",")",":","The","coefficient","of","hungarian","matcher","cost","."]
code: def __init__(
      self,
      matcher_coeff={
          "class": 1,
          "bbox": 5,
          "giou": 2,
          "mask": 1,
          "dice": 1,
      },
      use_focal_loss=False,
      with_mask=False,
      num_sample_points=12544,
      alpha=0.25,
      gamma=2.0,
  ):
      r"""
      Args:
          matcher_coeff (dict): The coefficient of hungarian matcher cost.
      """
      super(HungarianMatcher, self).__init__()
      self.matcher_coeff = matcher_coeff
      self.use_focal_loss = use_focal_loss
      self.with_mask = with_mask
      self.num_sample_points = num_sample_points
      self.alpha = alpha
      self.gamma = gamma
  
      self.giou_loss = GIoULoss()
  
file_path: PaddleDetection/ppdet/modeling/transformers/matchers.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from scipy.optimize import linear_sum_assignment
  from ppdet.core.workspace import register, serializable
  from ..losses.iou_loss import GIoULoss
  from .utils import bbox_cxcywh_to_xyxy
label_desc: Use image node_id 1 to create a new HungarianMatcher object from inherited base classes: nn with example: obj = HungarianMatcher(matcher_coeff, use_focal_loss, with_mask, num_sample_points, alpha, gamma)