Hello, I would advise you to create one dataloader for training and one for testing. To do this you can implement your own dataset which reads training data and corresponding label. There are a bunch of examples of such datasets online but here is one from the tutorials 19
Your dataset would know about both the data path and the label path. In the get_item function, you’d read one example from the train-volume.tif and the corresponding one from train-volume.tif. Write back if you’re having problems!
Edit: An ugly way to do it, which might not work would be
data_and_label = zip(data_loader, label_loader)

for idx, data in enumerate(data_and_label):
  data_item, label_item = data
  print(data_item, label_item)