jianlong-yuan/LovaszSoftmax_tf

How to set ‘ignore_label’?

QL111111 opened this issue · 1 comments

There is a “ignore” parameter in your code.
lovasz_loss=lovasz_softmax(tf.nn.softmax(logits),labels,classes='all',per_image=False,ignore=ignore_label)
How do I set this parameter?

When the image is croped, it need be padded. The padding area is the ignore label.