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

Does this work also with polygones, or only with RLE format? #53

Open
EnnioEvo opened this issue Dec 16, 2021 · 1 comment
Open

Does this work also with polygones, or only with RLE format? #53

EnnioEvo opened this issue Dec 16, 2021 · 1 comment

Comments

@EnnioEvo
Copy link

In the code, every ann['segmentation'], both for the instance annotations and the semantic annotations, is read through the functions in pycocotools.mask:

from pycocotools import mask as COCOmask

but these functions work only with the RLE format, so my guess is that the code fails for segments saved as polygons, instead of RLE.

Am I correct?

@Robotatron
Copy link

Would like to know as well, my data is in the polygon format

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