Closed seyeeet closed 3 years ago
The function just computes a negative logarithm of the class probability map for a computational reason. The unary map is like a prior of pixel attributes. CRF updates/smoothens the prior based on the spatial continuity on RGB.
Thanks @kazuto1011
can you please tell me what does unary map (here U = utils.unary_from_softmax(probmap) ) should look like? is it like binary map?
I guess my question is more fundamental, like what is unary map? :)
thanks