swiftnet icon indicating copy to clipboard operation
swiftnet copied to clipboard

num_class+1?

Open t-satishkumar opened this issue 4 years ago • 0 comments

Hi, Firstly, thank you for the code. I'm very new to this image segmentation problem and I just want to know what is the reason for having "num_class+1 " in below line. annotations_ohe = tf.one_hot(annotations, num_classes+1, axis=-1) Also, how did you calculate class and mean pixel values? Please explain a bit briefly. Thanks again.

t-satishkumar avatar Sep 16 '21 10:09 t-satishkumar