class_docstr: Dataset class for the ADE20K dataset
  
  The structure of the dataset should be something like this: ::
  
  ADEChallengeData2016/annotations/training/*.png
  ADEChallengeData2016/annotations/validation/*.png
  
  ADEChallengeData2016/images/training/*.jpg
  ADEChallengeData2016/images/validation/*.jpg
  
  Args:
      opts: Command-line arguments
class_docstr_tok: ["Dataset","class","for","the","ADE20K","dataset","The","structure","of","the","dataset","should","be","something","like","this",":",":",":","ADEChallengeData2016\/annotations\/training\/","*",".png","ADEChallengeData2016\/annotations\/validation\/","*",".png","ADEChallengeData2016\/images\/training\/","*",".jpg","ADEChallengeData2016\/images\/validation\/","*",".jpg","Args",":","opts",":","Command-line","arguments"]
docstr: Adjust the mask value by this factor
docstr_tok: ["Adjust","the","mask","value","by","this","factor"]
code: def adjust_mask_value() -> int:
      """Adjust the mask value by this factor"""
      # because we do not include background index for ADE20k, we shift mask labels by 1
      return 1
  
file_path: ml-cvnets/data/datasets/segmentation/ade20k.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 2 for calling the ADE20KDataset obj's underlying member method code with example usage: obj.adjust_mask_value() and returns: int