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

Undocumented part label 5 for person and rider (Cityscapes) #8

Closed
qizhuli opened this issue Feb 27, 2021 · 1 comment
Closed

Undocumented part label 5 for person and rider (Cityscapes) #8

qizhuli opened this issue Feb 27, 2021 · 1 comment

Comments

@qizhuli
Copy link

qizhuli commented Feb 27, 2021

I downloaded a fresh copy of the dataset from the Cityscapes official website yesterday. While I was processing the data, I found that there seemed to be an undocumented part label 5 for the person and rider class. These are the images that have it:

munster_000033_000019_gtFinePanopticParts.tif: (person, 5)
munster_000035_000019_gtFinePanopticParts.tif: (person, 5)
munster_000046_000019_gtFinePanopticParts.tif: (person, 5)
munster_000047_000019_gtFinePanopticParts.tif: (person, 5), (rider, 5)
munster_000048_000019_gtFinePanopticParts.tif: (person, 5)
munster_000052_000019_gtFinePanopticParts.tif: (person, 5)
munster_000055_000019_gtFinePanopticParts.tif: (person, 5)
munster_000057_000019_gtFinePanopticParts.tif: (person, 5)
munster_000058_000019_gtFinePanopticParts.tif: (person, 5)

where (person, 5) and (rider, 5) means there is at least one pixel with the semantic class person and rider, respectively, and a part label of 5. Upon a quick glance, they seem to correspond to personal accessories and belongings in the images.

I guess it would be better to document them, just to avoid unwanted surprises for dataset users.

@pmeletis
Copy link
Owner

pmeletis commented May 20, 2021

Any possible ids outside the valid range are automatically handled in v2 release of the code and they are mapped to the ignored class. Thank you for pointing this out!

dspec = pp.DatasetSpec('spec_path.jaml')
outputs_with_guaranteed_range = pp.decode_uids(uids, experimental_dataset_spec=dspec, experimental_correct_range=True)

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