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

what does ReLabel mean? #5

Open
dongzhuoyao opened this issue May 27, 2018 · 1 comment
Open

what does ReLabel mean? #5

dongzhuoyao opened this issue May 27, 2018 · 1 comment

Comments

@dongzhuoyao
Copy link

ReLabel(255, args.n_class - 1),  # Last Class is "Void" or "Background" class

actually, the args.n_class - 1 means 'bicyle' in cityscapes.

so you will map all unsure pixels to bicycle?

@LittleWat
Copy link
Contributor

I am sorry that our codes are confusing.

When the setting is "GTA to Cityscapes", we have 20 classes (= args.n_class) including background class. (19 classes are used for evaluation.)
So the (args.n_class - 1) = 19 means 'Background' in both GTA and Cityscapes.
Class ID "0" means 'road' and Class ID "18" means 'bicycle'.

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