code: def __init__(
      self,
      file_paths: Iterable,
      transform=None,
      read_func: Callable = read_image_tensor,
  ):
      self.file_paths = file_paths
      self.transform = transform
  
imports: from typing import Callable, Dict
  import torch
  from torch.utils.data import Dataset
  import torchvision.transforms.functional
  from torchvision import transforms
  import pytorch_lightning
  from collections.abc import Iterable
  from pathlib import Path
  from PIL import Image
  from typing import Tuple
label_desc: Use image node_id 1 to create a new ImageDataset object from inherited base classes: Dataset with example: obj = ImageDataset(file_paths, transform, read_func)