Skip to content

image dataset to .npy #49

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

Closed
virginie-do opened this issue May 10, 2019 · 5 comments
Closed

image dataset to .npy #49

virginie-do opened this issue May 10, 2019 · 5 comments

Comments

@virginie-do
Copy link

How did you transform the vqa dataset to a .npy file available for download?

@meetps
Copy link
Contributor

meetps commented May 10, 2019

The documentation about converting VQA dataset to the npy files provided is described here

Kindly close the issue if you feel your query has been answered.

@apsdehal
Copy link
Contributor

In simple terms, you put metadata as dict on first line and each question and its related data's dict on a separate line.

For saving, push all these dicts in an array and save using np.save.

@virginie-do
Copy link
Author

Thank you.

The documentation about converting VQA dataset to the npy files provided is described here

Are these scripts mentioned in the Readme available somewhere?
data_prep/vqa_v2.0/build_vqa_2.0_imdb.py
data_prep/vqa_v2.0/extract_word_glove_embedding.py
data_prep/vqa_v2.0/download_vqa_2.0.sh

@apsdehal
Copy link
Contributor

@apsdehal
Copy link
Contributor

Closing as resolved. @virginie-do if you have any other questions please open up a new issue.

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

3 participants