hmm soz you still have to convert that into tensors
    def __getitem__(self, index):
          x = imageio.imread(self.filenames_OI[index])
          y = imageio.imread(self.filenames_NI[index])
         return torch.from_numpy(X), torch.from_numpy(y)