code: def __getitem__(self, idx):
      image = self.process_batch(
          {"image": self.images[idx]}, task="image-vectorisation"
      )
      text = self.process_batch(
          {"text": self.texts[idx]}, task="text-vectorisation"
      )
  
      if isinstance(text, torch.Tensor):
          text = text.squeeze(0)
      else:
          text = {k: v.squeeze(0) for k, v in text.items()}
  
      group = torch.tensor(self.groups[idx])
  
      return image, text, group
  
imports: import torch
  from torch.utils.data import Dataset
  from PIL import Image
  import numpy
label_desc: Use image node_id 3 for calling the ImageTextGroupDataset obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: image,  text,  group