class_docstr: This wrapper is for loading the panoptic style annotation file.
  
  The format is shown in the CocoPanopticDataset class.
  
  Args:
      annotation_file (str, optional): Path of annotation file.
          Defaults to None.
class_docstr_tok: ["This","wrapper","is","for","loading","the","panoptic","style","annotation","file",".","The","format","is","shown","in","the","CocoPanopticDataset","class",".","Args",":","annotation_file","(","str",",","optional",")",":","Path","of","annotation","file",".","Defaults","to","None","."]
code: def __init__(self, annotation_file: Optional[str] = None) -> None:
      super(COCOPanoptic, self).__init__(annotation_file)
  
file_path: mmdetection/mmdet/datasets/api_wrappers/coco_api.py
imports: import warnings
  from collections import defaultdict
  from typing import List, Optional, Union
  import pycocotools
  from pycocotools.coco import COCO
  from pycocotools.cocoeval import COCOeval
label_desc: Use image node_id 1 to create a new COCOPanoptic object from inherited base classes: COCO with example: obj = COCOPanoptic(annotation_file)