-
Notifications
You must be signed in to change notification settings - Fork 26
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
Semantic Labels for The Training #25
Comments
Hi, I did not use the KITTI semantic labels for training but only the ones from Cityscapes. |
Hi, Thank you for your reply. The number of classes on Cityscape is 19, but I found the final output of 'segdecoder' has 20 classes(20 channels). Could I know the reason and its impacts? Thank you for your attention. |
Hi, the 20th class is the background class. It is essentially not trained, as in the wieghted cross-entropy loss its weight is set to 0. For the evaluation only the 19 classes of the Cityscapes dataset are considered. In theory it should not really matter, if you only train 19 classes or 19 classes + 1 background class, if the weight of the background class in the loss is set to 0. |
Hi @klingner Thanks in Advance :) |
Hi, the Cityscapes dataset has 30 classes, but only 19 of them are used for training and the other classes are set to background when training. Effectively, I always use the 19 classes as defined by Cityscapes. |
Okay. Thanks for clearing up the query. :) |
Could I know whether you use the KITTI semantic labels for the training? I guess you only use the semantic labels on Cityscapes.
Thank you for your work.
The text was updated successfully, but these errors were encountered: