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

Some question about relation_file, attribute_file and gv_feat_file about COCO #28

Closed
WangLanxiao opened this issue Nov 15, 2021 · 6 comments

Comments

@WangLanxiao
Copy link

Thank you for your contribution. I read the datacode about COCO carefully. I have a little confused.
As for ext_data, how can I get these data ? Looking forward to your reply.
ext_data = {
"relation": _load_pkl_file(self.relation_file),
"attribute": _load_pkl_file(self.attribute_file),
"gv_feat": _load_pkl_file(self.gv_feat_file)
}

@willow-hu
Copy link

Came across the same question, too.
Guess that they are parts of features extracted by bottom-up attention, but I don't know how to obtain the data with the required format.
Looking forward ur reply, thx!

@WangLanxiao WangLanxiao changed the title Some question about relation_file, relation_file and relation_file about COCO Some question about relation_file, attribute_file and gv_feat_file about COCO Nov 16, 2021
@YehLi
Copy link
Owner

YehLi commented Nov 23, 2021

Thank you for your contribution. I read the datacode about COCO carefully. I have a little confused. As for ext_data, how can I get these data ? Looking forward to your reply. ext_data = { "relation": _load_pkl_file(self.relation_file), "attribute": _load_pkl_file(self.attribute_file), "gv_feat": _load_pkl_file(self.gv_feat_file) }

These files can be downloaded from https://drive.google.com/drive/folders/1FQeX7bPI4y_XbpikNy6yYZ_hFMebEtmW?usp=sharing

@YehLi
Copy link
Owner

YehLi commented Nov 23, 2021

Came across the same question, too. Guess that they are parts of features extracted by bottom-up attention, but I don't know how to obtain the data with the required format. Looking forward ur reply, thx!

The relation file stores the visual relationship among the bottom-up regions for GCN-LSTM. The attribute and gv_feat are the features for LSTM-A. The attribute feature can be extracted by https://github.com/s-gupta/visual-concepts.git (ResNet-101). The gv_feat feature is the output of pool5 layer in ResNet-101.

@WangLanxiao
Copy link
Author

Thanks for your reply~

@willow-hu
Copy link

Came across the same question, too. Guess that they are parts of features extracted by bottom-up attention, but I don't know how to obtain the data with the required format. Looking forward ur reply, thx!

The relation file stores the visual relationship among the bottom-up regions for GCN-LSTM. The attribute and gv_feat are the features for LSTM-A. The attribute feature can be extracted by https://github.com/s-gupta/visual-concepts.git (ResNet-101). The gv_feat feature is the output of pool5 layer in ResNet-101.

Thx! It's more clear now!

@jianjieluo
Copy link
Collaborator

Closed due to inactivity.

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

4 participants