code: def __init__(self, root, transform=None, load_bytes=False):
      imgs, _, _ = find_images_and_targets(root)
      if len(imgs) == 0:
          raise (
              RuntimeError(
                  "Found 0 images in subfolders of: " + root + "\n"
                  "Supported image extensions are: "
                  + ",".join(IMG_EXTENSIONS)
              )
          )
      self.root = root
      self.imgs = imgs
      self.transform = transform
      self.load_bytes = load_bytes
  
file_path: gen-efficientnet-pytorch/data/dataset.py
imports: import torch.utils.data
  import os
  import re
  import torch
  from PIL import Image
label_desc: Use image node_id 1 to create a new Dataset object from inherited base classes: data with example: obj = Dataset(root, transform, load_bytes)