I’m attempting to use the Tensorflow Lite Task Library in Android.
I have tried several of the Task Library Segmentation models available on Tensorflow Hub.
The output of these models all seem to be a Confidence mask which are greyscale bitmaps for each class where the pixel value is supposed to be the probability that the pixels is of that class.
However, the documentation indicates that the values should be a FLOAT32 from 1 to 2.
I don’t understand how this is a probability. I would think a probability would be from 0 to 1.
Additionally, I’m not sure that I am reading the values correctly as they seem to be both much larger and smaller than 1 and 2.
I have looked at the Android Example for the ImageSegmenter but the example uses a Segmentation Mask rather than a Confidence Mask which appears to be much easier to translate.