code: def __getitem__(self, idx):
      frame = self.frames[idx]  # type: SingleFrame
      img_path = frame.get_local_source()
      img = Image.open(img_path).convert("RGB").resize((256, 256))
  
      return np.array(img)
  
file_path: clearml/examples/hyperdatasets/data-ingestion/pytorch_dataset_example.py
imports: import numpy
  import torch.utils.data
  from allegroai import DataView, SingleFrame, Task
  from PIL import Image
  from torch.utils.data import DataLoader
label_desc: Use image node_id 2 for calling the ExampleDataset obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: np