class_docstr: Dataset class for the PASCAL VOC 2012 dataset
  
  The structure of PASCAL VOC dataset should be like this: ::
  
      pascal_voc/VOCdevkit/VOC2012/Annotations
      pascal_voc/VOCdevkit/VOC2012/JPEGImages
      pascal_voc/VOCdevkit/VOC2012/SegmentationClass
      pascal_voc/VOCdevkit/VOC2012/SegmentationClassAug_Visualization
      pascal_voc/VOCdevkit/VOC2012/ImageSets
      pascal_voc/VOCdevkit/VOC2012/list
      pascal_voc/VOCdevkit/VOC2012/SegmentationClassAug
      pascal_voc/VOCdevkit/VOC2012/SegmentationObject
  
  Args:
      opts: Command-line arguments
class_docstr_tok: ["Dataset","class","for","the","PASCAL","VOC","2012","dataset","The","structure","of","PASCAL","VOC","dataset","should","be","like","this",":",":",":","pascal_voc\/VOCdevkit\/VOC2012\/Annotations","pascal_voc\/VOCdevkit\/VOC2012\/JPEGImages","pascal_voc\/VOCdevkit\/VOC2012\/SegmentationClass","pascal_voc\/VOCdevkit\/VOC2012\/SegmentationClassAug_Visualization","pascal_voc\/VOCdevkit\/VOC2012\/ImageSets","pascal_voc\/VOCdevkit\/VOC2012\/list","pascal_voc\/VOCdevkit\/VOC2012\/SegmentationClassAug","pascal_voc\/VOCdevkit\/VOC2012\/SegmentationObject","Args",":","opts",":","Command-line","arguments"]
docstr: Class index to class name mapping. Class index corresponds to list index
docstr_tok: ["Class","index","to","class","name","mapping",".","Class","index","corresponds","to","list","index"]
code: def class_names() -> List[str]:
      """Class index to class name mapping. Class index corresponds to list index"""
      return [
          "background",
          "aeroplane",
          "bicycle",
          "bird",
          "boat",
          "bottle",
          "bus",
          "car",
          "cat",
          "chair",
          "cow",
          "diningtable",
          "dog",
          "horse",
          "motorbike",
          "person",
          "potted_plant",
          "sheep",
          "sofa",
          "train",
          "tv_monitor",
      ]
  
file_path: ml-cvnets/data/datasets/segmentation/pascal_voc.py
imports: import argparse
  import os
  from typing import List
  import numpy
  from data.datasets import DATASET_REGISTRY
  from data.datasets.segmentation.base_segmentation import BaseImageSegmentationDataset
label_desc: Use image node_id 4 for calling the PascalVOCDataset obj's underlying member method code with example usage: obj.class_names() and returns: list