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

questions about Attribute Recognition #18

Open
Bepbebop opened this issue Apr 28, 2023 · 1 comment
Open

questions about Attribute Recognition #18

Bepbebop opened this issue Apr 28, 2023 · 1 comment

Comments

@Bepbebop
Copy link

Hi, sorry to bother you. Your work is really magnificiant. But here I get some questions about the attribute recognition part. In this project, is there any code that can output the attribute recognition of each image? Or if there isn't, could you please teach me how to get the output of attribute recognition? I'm stuck in achieving the cloth attribute recognition, running out of time,and your project is the only channce for me now. So this is really important to me, and if this is solved, I can pay you back with money if you want. Thank you!!!

@kampelmuehler
Copy link

kampelmuehler commented Jul 11, 2023

Hi,
the results returned from inference_detector() include the attribute prediction logits (it's the 3rd entry in the results tuple). The translation of ids to human readable labels can be found in this json.

Talking about this line here:

result = inference_detector(model, args.img)

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