class_docstr: PascalContext dataset.
  
  In segmentation map annotation for PascalContext, 0 stands for background,
  which is included in 60 categories. ``reduce_zero_label`` is fixed to
  False. The ``img_suffix`` is fixed to '.jpg' and ``seg_map_suffix`` is
  fixed to '.png'.
  
  Args:
      split (str): Split txt file for PascalContext.
code: def __init__(self, split, **kwargs):
      super(PascalContextDataset, self).__init__(
          img_suffix=".jpg",
          seg_map_suffix=".png",
          split=split,
          reduce_zero_label=False,
          **kwargs,
      )
      assert osp.exists(self.img_dir) and self.split is not None
  
file_path: lavis/lavis/common/annotator/uniformer/mmseg/datasets/pascal_context.py
imports: import os.path
  from .builder import DATASETS
  from .custom import CustomDataset
label_desc: Use image node_id 1 to create a new PascalContextDataset object from inherited base classes: CustomDataset with example: obj = PascalContextDataset(split)