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

Panoptic Polygons Overlapping #38

Open
rlangefe opened this issue Jan 16, 2021 · 2 comments
Open

Panoptic Polygons Overlapping #38

rlangefe opened this issue Jan 16, 2021 · 2 comments

Comments

@rlangefe
Copy link

rlangefe commented Jan 16, 2021

I've been trying to build polygons for a model that requires me to convert them to panoptic format. I've been running into issues because I can't make everything a crowd, but if I don't, I get polygons that overlap. I should also note that I have double and triple checked (going as far as to subtract all masks from each other). Is there any way around this?

@davodogster
Copy link

@waspinator any ideas?

@rlangefe
Copy link
Author

Here's what we ended up doing.

  1. We made extra sure polygons didn't overlap. We ran a script ahead of time to try to take care of this. We created a class hierarchy and at each pixel, chose the class with a segmentation that was the highest in that hierarchy.
  2. We tuned the threshold parameter in drawing the segmentations so it was very low. By doing that, it made the polygon a lot more exact and avoided a lot of the issues we were running into.

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