Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set ‘ignore_label’? #2

Open
QL111111 opened this issue Sep 5, 2019 · 1 comment
Open

How to set ‘ignore_label’? #2

QL111111 opened this issue Sep 5, 2019 · 1 comment

Comments

@QL111111
Copy link

QL111111 commented Sep 5, 2019

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?

@jianlong-yuan
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants