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

COCO labels #19

Open
ahundt opened this issue Jan 28, 2018 · 3 comments
Open

COCO labels #19

ahundt opened this issue Jan 28, 2018 · 3 comments

Comments

@ahundt
Copy link

ahundt commented Jan 28, 2018

Do you represent each label as separate channels in the dataset loader?

I ask because there is a lot of class overlap in COCO and the z order isn't always correct. For example the table category often blocks out all the objects on top of the table if you put it all into a single categorical channel, rather than a one-hot (multiple-hot?) encoding.

@PavlosMelissinos
Copy link
Owner

You're right about the issue, thanks. However, I've tried a couple ways to represent the ground truth. One of them is as a NxHxWxC tensor, each label being a separate channel, like you describe; so in that case, C is 80 plus an extra channel for background, which makes 81 in total.

It's in here.

@ahundt
Copy link
Author

ahundt commented Jan 31, 2018

Cool thanks! I just wanted to confirm, sorry I missed those lines.

@ahundt
Copy link
Author

ahundt commented Jan 31, 2018

I wonder, should the data be put in sparse tensors?

I would probably need to test to see if it is a faster or slower approach.

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