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

Update loading.py #9000

Closed
wants to merge 2 commits into from
Closed

Update loading.py #9000

wants to merge 2 commits into from

Conversation

Daa98
Copy link
Contributor

@Daa98 Daa98 commented Oct 11, 2022

RLE 'counts' is in str type.

RLE counts is str type
@CLAassistant
Copy link

CLAassistant commented Oct 11, 2022

CLA assistant check
All committers have signed the CLA.

@BIGWangYuDong
Copy link
Collaborator

image
gt_mask['counts'] is a list in coco dataset

As reminded by @BIGWangYuDong, counts in COCO’s compressed RLE format have type 'str' or 'list'
@BIGWangYuDong
Copy link
Collaborator

please refer to https://github.com/open-mmlab/mmcv/blob/master/CONTRIBUTING.md to fix lint error. Meanwhile, it is suggested to merge in dev-3.x branch

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.

None yet

4 participants