code: def _get_instance_segmentation(
      self, sem_seg, center_heatmap, offsets, thing_seg
  ):
      center_points = self._find_instance_center(center_heatmap)
      if center_points.shape[0] == 0:
          return paddle.zeros_like(sem_seg), center_points.unsqueeze(0)
      ins_seg = self._group_pixels(center_points, offsets, sem_seg)
      return thing_seg * ins_seg, center_points.unsqueeze(0)
  
file_path: PaddleSeg/contrib/PanopticSeg/paddlepanseg/postprocessors/panoptic_deeplab_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 5 for calling the PanopticDeepLabPostprocessor obj's underlying member method code with example usage: obj._get_instance_segmentation(sem_seg, center_heatmap, offsets, thing_seg) and returns: unknown,  center_points, paddle,  center_points