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

question about the pretrained model #21

Closed
glynpu opened this issue Dec 23, 2017 · 1 comment
Closed

question about the pretrained model #21

glynpu opened this issue Dec 23, 2017 · 1 comment

Comments

@glynpu
Copy link

glynpu commented Dec 23, 2017

The dataset has 19 classes, plus the background, the output of last layer should be 20 classes. But the pre-trained model produces a 19 channels output. Do the background just be ignored? But in the train code, the ignored-label is set to 0.
I am a little confused, please help!

@hellochick
Copy link
Owner

Hey, sorry for confusing you. The ignore-label of cityscapes is not 0 (is 255), I forgot to change it before I upload the training code. So when training, we will focus on the 0~18 classes and ignore the background (255), which means we don't want to learn how to recognize the background. Does that make sense to you?

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