class_docstr: A dataset for segmentation tasks.
class_docstr_tok: ["A","dataset","for","segmentation","tasks","."]
code: def __len__(self):
      return len(self.imgs)
  
file_path: BigDL/python/nano/src/bigdl/nano/pytorch/vision/datasets/datasets.py
imports: from typing import Union, Callable, Optional
  from turbojpeg import TurboJPEG, TJPF_GRAY
  import torchvision
  import cv2
  import os
  import numpy
  import torch
  from logging import warning
  from os.path import split, join, realpath
label_desc: Use image node_id 3 for calling the SegmentationImageFolder obj's underlying member method code with example usage: obj.__len__() and returns: len