code: def _set_id_mapper(cls):
      mapper = {}
      for i, cat in enumerate(cls.CATEGORY_META_INFO):
          mapper[cat["id"]] = i
      cls._id_mapper = mapper
      cls._id_rev_mapper = {v: k for k, v in cls._id_mapper.items()}
  
imports: import json
  import copy
  import os
  import numpy
  import paddle
  from paddleseg.transforms import Compose
  from paddlepanseg.cvlibs import build_info_dict
label_desc: Use image node_id 6 for calling the COCOStylePanopticDataset obj's underlying member method code with example usage: obj._set_id_mapper(cls) without return types