code: def __init__(
      self,
      num_classes=80,
      num_top_queries=100,
      dual_queries=False,
      dual_groups=0,
      use_focal_loss=False,
      with_mask=False,
      mask_threshold=0.5,
      use_avg_mask_score=False,
      bbox_decode_type="origin",
  ):
      super(DETRPostProcess, self).__init__()
      assert bbox_decode_type in ["origin", "pad"]
  
      self.num_classes = num_classes
      self.num_top_queries = num_top_queries
      self.dual_queries = dual_queries
      self.dual_groups = dual_groups
      self.use_focal_loss = use_focal_loss
      self.with_mask = with_mask
      self.mask_threshold = mask_threshold
      self.use_avg_mask_score = use_avg_mask_score
      self.bbox_decode_type = bbox_decode_type
  
imports: import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register
  from ppdet.modeling.bbox_utils import nonempty_bbox
  from .transformers import bbox_cxcywh_to_xyxy
label_desc: Use image node_id 1 to create a new DETRPostProcess object from inherited base classes: object with example: obj = DETRPostProcess(num_classes, num_top_queries, dual_queries, dual_groups, use_focal_loss, with_mask, mask_threshold, use_avg_mask_score, bbox_decode_type)