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

How to extract relation features #16

Open
moneyQyh opened this issue May 25, 2021 · 6 comments
Open

How to extract relation features #16

moneyQyh opened this issue May 25, 2021 · 6 comments

Comments

@moneyQyh
Copy link

I use the model offered by VinVL Feature extraction,.But after using the same setting as advised, I can only obtain bounding box features. So, how to extract relation features? Thanks

@Edwardmark
Copy link

@pzzhang any comments?

@hanxiaotian
Copy link
Contributor

In order to extract relation features, you need to run inference using pretrained relation models.
You also need to set this tp be true and add a keyword 'relation_feature' in tsv_save_subset.


TSV_SAVE_SUBSET: ['rect', 'class', 'conf', 'relations', 'relation_scores']

@moneyQyh
Copy link
Author

moneyQyh commented Jul 9, 2021

Ok,I'll try it, thanks

@alice-cool
Copy link

In order to extract relation features, you need to run inference using pretrained relation models.
You also need to set this tp be true and add a keyword 'relation_feature' in tsv_save_subset.

TSV_SAVE_SUBSET: ['rect', 'class', 'conf', 'relations', 'relation_scores']

Dear scholar ,
Do you know the file full_yaml_file: ../maskrcnn-benchmark-1/datasets1/flickr30k/tsv/flickr30k.yamlfull_yaml_file when running test_sg_net for producing visual features with bounding box and relation features?

@ckmstydy
Copy link

Ok,I'll try it, thanks

hi, have you successfully extracted the relation features?

@HiLittleFriend
Copy link

Ok,I'll try it, thanks

have you successfully extracted the relation features? after adding OUTPUT_RELATION_FEATURE and relation_feature, i still didn't get the relation feature

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

6 participants