code: def __getitem__(self, index):
      vis_img_name, vis_label, vis_domain = self.vir_list[
          self.visIndex[index]
      ]
      nir_img_name, nir_label, nir_domain = self.nir_list[
          self.nirIndex[index]
      ]
  
      assert vis_domain == 0 and nir_domain == 1
  
      vis_img = self.get_img_from_path(vis_img_name)
      nir_img = self.get_img_from_path(nir_img_name)
  
      return vis_img, nir_img, vis_label, nir_label
  
imports: from PIL import Image
  import os
  import torch.utils.data
  import torchvision.transforms
  from torch.utils.data.sampler import Sampler
  import numpy
label_desc: Use image node_id 2 for calling the Real_Dataset_112_paired obj's underlying member method code with example usage: obj.__getitem__(index) and returns: vis_img,  nir_img,  vis_label,  nir_label