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

there are no cat and dog coarse-grain category. #101

Open
PapaMadeleine2022 opened this issue Feb 2, 2021 · 1 comment
Open

there are no cat and dog coarse-grain category. #101

PapaMadeleine2022 opened this issue Feb 2, 2021 · 1 comment

Comments

@PapaMadeleine2022
Copy link

Hello, I want to get some images of cat and dog coarse-grain category. But when I check the circle.html, I find there no cat and dog coarse-grain category. You know it is more difficult if I see every fine-grained category to check that whether this category is cat/dog category or not.

So how can I easily get all the images of cat and dog coarse-grain category. Can you give some advises?

@jponttuset
Copy link
Collaborator

Dear @IvyGongoogle

I understand you are interested in getting all the images of dogs and all the images of cats (they are both in the class hierarchy, under Carnivore). If that's the case, you need to find all annotations of Dog (/m/0bt9lr) or Cat (/m/01yrx) in the CSV of bounding boxes, that is, filter the rows whose LabelName is either /m/0bt9lr or /m/01yrx and take the values of the ImageID column. Pandas is a good tool to do this in Python.

If you save all image IDs in a text file, then you can use the image downloader as described here.

I hope this helps.

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