We need more information to come to a solution. However, it is possible to return different images with labels in the same dataloader.
class SampleDataloader(Dataset):
	def __init__(self, required_arguments...):
    #Modify as per your use
    self.length_samples = #length of samples
    def __len__(self):
         return self.length_samples
    def __getitem__(self, index):
        # returns a single sample at a time
         return image1, image2, label1, label2


As i’ve mentioned if you are looking for more accurate code, try to mention what you are trying to do.