Skip to content

Added support for already encoded RLEs#1166

Open
gatordevin wants to merge 1 commit intoairctic:masterfrom
gatordevin:master
Open

Added support for already encoded RLEs#1166
gatordevin wants to merge 1 commit intoairctic:masterfrom
gatordevin:master

Conversation

@gatordevin
Copy link

Some COCO Datasets already have encoded RLEs so I added support to the parser to handle cases where they are already encoded. I also removed the use of iscrowd as a method of determining wether it is RLE or Polygon data as in my opinion that is not the proper use of that tag in the dictionary as the mask storage method doesn't always correlate with iscrowd.

Here is the issue that I brought up.
#1165 (comment)

Some COCO Datasets already have encoded RLEs so I added support to the parser to handle cases where they are already encoded. I also removed the use of iscrowd as a method of determining wether it is RLE or Polygon data as in my opinion that is not the proper use of that tag in the dictionary as the mask storage method doesn't always correlate with iscrowd.
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

Successfully merging this pull request may close these issues.

1 participant