Pytorch implementation of winner from VQA Chllange Workshop in CVPR'17
pytorch implementation of Tips and Tricks for Visual Question Answering: Learnings from the 2017 Challenge by Teney et al.
bash scripts/download_extract.sh
python scripts/preproc.py
data/
directory should look like this:
- data/
- zips/
- v2_XXX...zip
- ...
- glove...zip
- trainval_36.zip
- glove/
- glove...txt
- ...
- v2_XXX.json
- ...
- trainval_resnet...tsv
(The above are files created after executing scripts/download_extract.sh)
- tokenizers/
- ...
- dict_ans.pkl
- dict_q.pkl
- glove_pretrained_300.npy
- train_qa.pkl
- val_qa.pkl
- train_vfeats.pkl
- val_vfeats.pkl
(The above are files created after executing scripts/preproc.py)
Use default parameters:
bash scripts/train.sh
data/
directory may be up to 38G+preproc.py
and utils.py
are based on this repo