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

How to merge Semantic segmentation and Part segmentation? #17

Closed
moddent opened this issue Sep 16, 2021 · 3 comments
Closed

How to merge Semantic segmentation and Part segmentation? #17

moddent opened this issue Sep 16, 2021 · 3 comments

Comments

@moddent
Copy link

moddent commented Sep 16, 2021

Hi, there:

I want to merge Semantic segmentation and Part segmentation to generate the new label in .png format.

Can you give me some suggestion or some references.

Thx.

@pmeletis
Copy link
Owner

Hello moddent,
Currently, there is documentation to merge semantic and instance segmentation, and panoptic and part segmentation, but not semantic and part segmentation. We are planning to provide a script for that as well, so the semantic-part ids (sids_pids) can be generated and evaluated. For now, you can use the docs here by encoding your semantic segmentation as panoptic segmentation. @DdeGeus other suggestions?

@DdeGeus
Copy link
Collaborator

DdeGeus commented Sep 21, 2021

Hi @moddent, thanks for your interest in our work!

For what purpose do you want to use this exactly? If you want to generate just the semantic segmentation (stuff) and part segmentation (part) labels from our ground-truth, you can just use the sids and pids only when decoding the ground-truth as described here.

If you wish to merge semantic segmentation and part segmentation predictions as a 3-channel PNG as described here, you can simply treat all scene classes as stuff classes, as @pmeletis suggested, and follow the entire merging procedure. For merging to the 3-channel format, you just have to change the stuff class definition in the EvalSpec described here.

Does this answer your question?

@moddent
Copy link
Author

moddent commented Sep 21, 2021

Okay, I see.
Thanks for your reply.
Since I saw this and I'm just curious!

@DdeGeus DdeGeus closed this as completed Nov 9, 2021
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

3 participants