Continuous prediction values for semantic segmentation pixels #1514
-
I'm running a semantic segmentation model that predicts two classes. I am able to construct a prediction raster of pixels with values 0 and 1. I know that internally, in order for backprop to work, the algorithm creates a prediction vector for each pixel specifying the pseudo-probability that the pixel is each class value (ie [0.3, 0.7] if the algorithm is 70% certain the pixel is class 2). Is it possible to extract this information from the model, instead of just getting binary values for each pixel? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you pass |
Beta Was this translation helpful? Give feedback.
If you pass
smooth_output = True
toSemanticSegmentationLabelStoreConfig
, you should get the probabilities in the output. See the docs