code: def __getitem__(self, i):
      return self.pq_per_cat[i]
  
file_path: PaddleSeg/contrib/PanopticDeepLab/utils/evaluation/panoptic.py
imports: from collections import defaultdict, OrderedDict
  import numpy
label_desc: Use image node_id 2 for calling the PQStat obj's underlying member method code with example usage: obj.__getitem__(i) and returns: self