class_docstr: ADE20K dataset.
  
  In segmentation map annotation for ADE20K, 0 stands for background, which
  is not included in 150 categories. The ``img_suffix`` is fixed to '.jpg',
  and ``seg_map_suffix`` is fixed to '.png'.
class_docstr_tok: ["ADE20K","dataset",".","In","segmentation","map","annotation","for","ADE20K",",","0","stands","for","background",",","which","is","not","included","in","150","categories",".","The","``","img_suffix","``","is","fixed","to","'.jpg","'",",","and","``","seg_map_suffix","``","is","fixed","to","'.png","'","."]
code: def __init__(
      self,
      img_suffix=".jpg",
      seg_map_suffix=".png",
      return_classes=False,
      **kwargs,
  ) -> None:
      self.return_classes = return_classes
      super().__init__(
          img_suffix=img_suffix, seg_map_suffix=seg_map_suffix, **kwargs
      )
  
file_path: mmdetection/mmdet/datasets/ade20k.py
imports: import os.path
  from typing import List
  from mmengine import fileio
  from mmdet.registry import DATASETS
  from .base_semseg_dataset import BaseSegDataset
  from .coco import CocoDataset
  from .coco_panoptic import CocoPanopticDataset
label_desc: Use image node_id 1 to create a new ADE20KSegDataset object from inherited base classes: BaseSegDataset with example: obj = ADE20KSegDataset(img_suffix, seg_map_suffix, return_classes)