kazuto1011 / deeplab-pytorch

PyTorch re-implementation of DeepLab v2 on COCO-Stuff / PASCAL VOC datasets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what do we mean by unary?

seyeeet opened this issue · comments

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

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.