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

unseen zero-shot seeting #22

Open
xuliwalker opened this issue Jan 17, 2022 · 1 comment
Open

unseen zero-shot seeting #22

xuliwalker opened this issue Jan 17, 2022 · 1 comment

Comments

@xuliwalker
Copy link

Hi, thanks for your work! I am interested in the unseen composition and unseen object zero-shot setting in FCL paper, and I am wondering where can I find the code for generating the training and testing sets for these two zero-shot settings. Thank you!

@zhihou7
Copy link
Owner

zhihou7 commented Jan 18, 2022

Those HOI ids are for rare first zero-shot setting. https://github.com/zhihou7/FCL/blob/12bc2d4bef4fd2d7d295b33d15f023ae266bc519/lib/ult/ult.py#L400, while this line is for non-rare first zero-shot setting (https://github.com/zhihou7/FCL/blob/12bc2d4bef4fd2d7d295b33d15f023ae266bc519/lib/ult/ult.py#L427).

This line (https://github.com/zhihou7/FCL/blob/12bc2d4bef4fd2d7d295b33d15f023ae266bc519/lib/ult/ult.py#L534) shows how I remove the unseen classes during training.

For json format input (e.g. qpic), I guess this script might help you. https://gist.github.com/zhihou7/d3c7563a1b8244bf3914ed0853c7ea04

Please notice the category id between different repositories might be different. You should convert it by yourself.

Regards,

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