class_docstr: Segmentation Base Dataset
class_docstr_tok: ["Segmentation","Base","Dataset"]
code: def __init__(
      self, root, split, mode, transform, base_size=520, crop_size=480
  ):
      super(SegmentationDataset, self).__init__(root)
      self.root = root
      self.transform = transform
      self.split = split
      self.mode = mode if mode is not None else split
      self.base_size = base_size
      self.crop_size = crop_size
  
file_path: gluon-cv/gluoncv/data/segbase.py
imports: import random
  import numpy
  from PIL import Image, ImageOps, ImageFilter
  import mxnet
  from mxnet import cpu
  import mxnet.ndarray
  from .base import VisionDataset
label_desc: Use image node_id 1 to create a new SegmentationDataset object from inherited base classes: VisionDataset with example: obj = SegmentationDataset(root, split, mode, transform, base_size, crop_size)