code: def __init__(
      self,
      num_classes,
      thing_ids,
      object_mask_threshold=0.5,
      overlap_threshold=0.5,
      label_divisor=1000,
      ignore_index=255,
  ):
      super().__init__(
          num_classes=num_classes,
          thing_ids=thing_ids,
          label_divisor=label_divisor,
          ignore_index=ignore_index,
      )
      self.object_mask_threshold = object_mask_threshold
      self.overlap_threshold = overlap_threshold
  
file_path: PaddleSeg/contrib/PanopticSeg/paddlepanseg/postprocessors/maskformer_pp.py
imports: from collections import Counter
  import paddle
  import paddle.nn.functional
  from paddlepanseg.cvlibs import build_info_dict, manager
  from paddlepanseg.utils import encode_pan_id
  from paddlepanseg.postprocessors.base_pp import Postprocessor
label_desc: Use image node_id 1 to create a new MaskFormerPostprocessor object from inherited base classes: Postprocessor with example: obj = MaskFormerPostprocessor(num_classes, thing_ids, object_mask_threshold, overlap_threshold, label_divisor, ignore_index)