code: def __getitem__(self, idx):
      image_path = self.files[idx]
      image = self.transforms(image_path)
  
      return image_path, image
  
imports: import logging
  import glob
  import torch
label_desc: Use image node_id 2 for calling the FolderData obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: image_path,  image