How to acquire the file of ' vqa_img_feature_train.pickle'?
Closed this issue · 3 comments
coral3333 commented
How to acquire the file of ' vqa_img_feature_train.pickle'?
AndersonStra commented
Image features are recommended to download from the LXMERT's repo or bottom-up attention 's repo, We reorganized the storage structure of features as
vqa_img_feature_train.pickle{
"image_id":{'feats': features, 'sp_feats': spatial features}
}
The pre-trained LXMERT model expects these spatial features to be normalized bounding boxes on a scale of 0 to 1
The normalized process can refer to the prepare_img.py
we will provide the shell to help generate the pickle file from the original bottom-up attention file further.
AndersonStra commented
I have updated the script to help generate the pickle file from the original bottom-up attention file.
coral3333 commented
谢谢你的回复,为你的工作点赞!!祝你一切顺利!!
dushanshan
***@***.***
…------------------ 原始邮件 ------------------
发件人: "AndersonStra/MuKEA" ***@***.***>;
发送时间: 2022年4月6日(星期三) 下午3:59
***@***.***>;
***@***.******@***.***>;
主题: Re: [AndersonStra/MuKEA] How to acquire the file of ' vqa_img_feature_train.pickle'? (Issue #1)
I have updated the script to help generate the pickle file from the original bottom-up attention file.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>