SegmentationItemList show_batch method

I am trying out Imagesegmentation using fastai. When creating the SegmentationItemList databunch and trying to view show_batch the images displayed are neither the original image nor the masks. I am having trouble understanding what does the show_batch show for SegmentationItemList

src = (SegmentationItemList.from_folder(path)
.label_from_func(get_y_fn, classes=codes))
data = (src.transform(get_transforms(), tfm_y=True)
data.show_batch(2, figsize=(10,7))

1 Like

It should be showing the images with the transforms applied and the mask overlayed on it with a certain alpha

Thanks juvian