EdwardTyantov / ultrasound-nerve-segmentation

Kaggle Ultrasound Nerve Segmentation competition [Keras]
181 stars 61 forks source link

the range of image array after standarization and pre-processing #7

Closed wenouyang closed 7 years ago

wenouyang commented 7 years ago

Hi Edward,

I have a question regarding the image pre-processing part.

Were you trying to scale the image array to [0, 1] range, or keep the image array in [0, 255] range? Which one will be better for training the neural network?

I checked your code, it seems that the image array is still in the range of [0,255] after the function of standartize(self, array, to_float=False)? Is that right? Thanks.

EdwardTyantov commented 7 years ago

Hi, I've tried both, it didn't matter. I only rescale the target mask, function norm_mask

wenouyang commented 7 years ago

Thanks a lot!