Sarmad_GTU:

non-spatial transformations like,CLAHE, [RandomBrightness], [RandomContrast] [RandomGamma] can be also added.


ok, because of this statement I am confused :
“Many non-spatial transformations like,CLAHE, [RandomBrightness], [RandomContrast] [RandomGamma] can be also added. They will be applied only to the image and not the mask.”
they said will be only applied to the image, not the mask but they applied to both using this :
image_heavy = augmented[‘image’]
mask_heavy = augmented[‘mask’]
this is my mistake