docstr: :param image_paths: list of paths to images
  :param targets: numpy array
  :param augmentations: albumentations augmentations
docstr_tok: [":","param","image_paths",":","list","of","paths","to","images",":","param","targets",":","numpy","array",":","param","augmentations",":","albumentations","augmentations"]
code: def __init__(
      self,
      image_paths,
      targets,
      augmentations=None,
      backend="pil",
      channel_first=True,
      grayscale=False,
  ):
      """
      :param image_paths: list of paths to images
      :param targets: numpy array
      :param augmentations: albumentations augmentations
      """
      self.image_paths = image_paths
      self.targets = targets
      self.augmentations = augmentations
      self.backend = backend
      self.channel_first = channel_first
      self.grayscale = grayscale
  
imports: import cv2
  import numpy
  import torch
  from PIL import Image, ImageFile
label_desc: Use image node_id 1 to create a new ImageDataset object  with example: obj = ImageDataset(image_paths, targets, augmentations, backend, channel_first, grayscale)