Semantic Segmentation Inference
The model produces a score/logit for every class at every pixel; softmax converts scores into class probabilities and the highest probability becomes the output class.
p(c|x)=exp(zc)/Σjexp(zj)
ĉ=argmaxc p(c|x)
Best used when: a custom semantic model has already been trained for the required classes.