code: def __init__(self, args):
      super(Mix_Dataset_112_paired, self).__init__()
  
      self.img_root_R = args.img_root_R
      self.img_root_F = args.img_root_F
      self.img_list, self.num_classes = self.list_reader(
          args.train_list_R, args.train_list_F
      )
      self.input_mode = args.input_mode
  
      self.transform = transforms.Compose(
          [
              # transforms.RandomCrop(112),
              transforms.ToTensor()
          ]
      )
  
      self.vir_list = [
          (a, b, c) for (a, b, c) in self.img_list if c == 0
      ]
      self.nir_list = [
          (a, b, c) for (a, b, c) in self.img_list if c == 1
      ]
  
      self.vis_labels = np.array([p[1] for p in self.vir_list])
      self.nir_labels = np.array([p[1] for p in self.nir_list])
  
      self.visIndex = None
      self.nirIndex = None
  
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 1 to create a new Mix_Dataset_112_paired object from inherited base classes: data with example: obj = Mix_Dataset_112_paired(args)