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

Whats the difference between 'ignore_index = 0' and 'reduce_zero_label=True'? #1955

Closed
cheul0518 opened this issue Aug 23, 2022 · 2 comments
Closed
Assignees

Comments

@cheul0518
Copy link

cheul0518 commented Aug 23, 2022

ignore_index=0 ignores zero label(=index 0) in evaluation, and reduce_zero_label=True ignores zero label as well. They both normally appear as arguments at the same time. For example, class mmseg.datasets.CustomDataset has arguments of (ignore_index, reduce_zero_label). So I'm confused when I try to exclude label 0. Is there any difference between them?

@xiexinch
Copy link
Collaborator

Hi @cheul0518,
Might take a look at this issue #932.

@cheul0518
Copy link
Author

@xiexinch Thank you very much

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