Display labels(imageSegments) , Images for image segmentation datasets

(context: Image Segmentation)
What is the best way to view your dataset after creating data object using Data block API,
I want to view the labels, images separately unlike what is shown in lesson3. Segmentation problem.