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

Predicted object class instead of just number? #40

Closed
xiaoxiaoczw opened this issue May 3, 2022 · 7 comments
Closed

Predicted object class instead of just number? #40

xiaoxiaoczw opened this issue May 3, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@xiaoxiaoczw
Copy link

xiaoxiaoczw commented May 3, 2022

Hi,

thanks for the amazing work! I would like to ask where can we see the predicted object class of each bounding box, or the prediction result for a triplet form? Thank you!

@fredzzhang
Copy link
Owner

Hi @xiaoxiaoczw,

Thanks for taking an interest in our work. You can find the detailed inference instructions here. To answer your question, if you do not use the flag --action to specify action index, the script will automatically print out a list of predictions in the terminal, including the object class and HOI class.

Fred.

@xiaoxiaoczw
Copy link
Author

Hi @fredzzhang ,

Thank you for your reply! When I ran inference.py, I got the output as follows. Only the bounding box and their number printed on image, and the predicted action, pair numbers and their score printed on terminal. Through these, I can't get the exact name of each detected object class. Maybe what else did I ignore? Thank you!

@fredzzhang
Copy link
Owner

Hmm...you are correct. I guess I forgot to add the object names as part of the output. I have fixed that in PR #41. You should be able to see object names now after git pull.

@fredzzhang fredzzhang added the enhancement New feature or request label May 4, 2022
@xiaoxiaoczw
Copy link
Author

Perfect!

@xiaoxiaoczw
Copy link
Author

Additional small question, why do you use a different order than the object-list provided by HICO-DET?

@fredzzhang
Copy link
Owner

It's the MS COCO object list used here, since it's more prevalent. The HICO-DET object list is rather inconvenient in that regard.

@xiaoxiaoczw
Copy link
Author

Ah, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants