Rescale grayscale images in keras
I’m going to normalize pixels of grayscale MRI data to [0,1], but when I apply keras.layers.Rescaling(1./255) to my data All of them become completely black images , should I manually define a function to solve this?
Thanks for your help