utils/SegmentationDataLoader.py
def _normalize_data(self, image, mask):
        """
        Normalize image and mask within range 0-1.
        """
        image = tf.cast(image, tf.float32)
        image = image / 255.0

        return image, mask

        Normalize image and mask within range 0-1.
        
Normalize image and mask within range 0-1.
Normalize image and mask within range 0 - 1 .
def _normalize_data(self, image, mask):
        image = tf.cast(image, tf.float32)
        image = image / 255.0
        return image, mask
def _normalize_data ( self , image , mask ) : image = tf . cast ( image , tf . float32 ) image = image / 255.0 return image , mask
Normalize image and mask within range 0-1.
Normalize image and mask within range 0 - 1 .
"""
        Normalize image and mask within range 0-1.
        """
self
image
mask