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

Why is there only 19 categories in cityscapes_colors.txt and no background categories? #15

Open
Dumbledore-bit opened this issue Aug 11, 2020 · 0 comments

Comments

@Dumbledore-bit
Copy link

Thank for your contribution!And I have some questions I want to ask you。
Why is there only 19 categories in cityscapes_colors.txt and no background categories?
Why is it not necessary to calculate the loss function of the background class in calculating the loss function?
In the code, you set the value of the background to 255 and set ignore_label = 255. I think you ignore the calculation of the loss function of the background, and the output channel of the network is also 19 types, and there is no background prediction. Is this prediction chart accurate? It is also possible that I have overlooked the details of some code processing, and please provide guidance accordingly.

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

1 participant