class DFUDataset(Dataset):
  def __init__(self, csv_file, root_dir, transform=None):
        self.DFU = pd.read_csv(csv_file)
        self.root_dir = root_dir
        self.transform = transform
  def __len__(self):
        return len(self.DFU)
  def __getitem__(self, idx):
        if torch.is_tensor(idx):
            idx = idx.tolist()
            img_name = os.path.join(self.root_dir, self.DFU.iloc[idx, 0]) #image names
            image = io.imread(img_name)
            img_label =  os.path.join(self.root_dir, self.DFU.iloc[0, idx]) #image labels
            sample = {'image': image, 'img_label': img_label}
            return sample

DFU_dataset = DFUDataset(csv_file='C:/Users/aleems2/Desktop/dfu/DFUC2021_trainset_210427/DFUC2021_train/Labelled_data_ground_truth.csv',
                                    root_dir="C:/Users/aleems2/Desktop/dfu/DFUC2021_trainset_210427/DFUC2021_train/Labelled_test_images")```


I am debugging but my code does not go to len, get_item function