code: def __init__(self, all_ids):
      self.pq_per_cat = defaultdict(PQStatCat)
      self.all_ids = all_ids
  
imports: from collections import defaultdict
  import numpy
  from paddlepanseg.cvlibs import build_info_dict
  from paddlepanseg.utils import decode_pan_id
  from .evaluator import Evaluator
label_desc: Use image node_id 1 to create a new PQStat object from inherited base classes: object with example: obj = PQStat(all_ids)