Indexed by TopGit from live GitHub metadata: chenfei-wu/vqa-winner-cvprw-2017 has 1 stars, written primarily in Python. Pytorch Implementation of winner from VQA Chllange Workshop in CVPR'17
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Pytorch implementation of Tips and Tricks for Visual Question Answering: Learnings from the 2017 Challenge by Teney et al.
Prerequisites
Python 2.7+
NumPy
PyTorch
tqdm (visualizing preprocessing progress only)
nltk (and this to tokenize questions)
Data
VQA 2.0
COCO 36 features pretrained resnet model
GloVe pretrained Wikipedia+Gigaword word embedding
Preparation
For questions and answers, go to data/ folder and execute preproc.py directly.
You'll need to install the Stanford Tokenizer, follow the instructions in their page.
The tokenizing step may take up to 36 hrs to process the training questions (I have a Xeon E5 CPU already), write a pure java code to tokenize them should be a lot faster. (Since python nltk will call the java binding, and python is slow)
For image feature, slightly modify this code to convert tsv to a npy file coco_features.npy that contains a list of dictionaries with key being image id and value being the feature (shape: 36, 2048).
Download and extract GloVe to data/ folder as well.
Now we should be able to train, reassure that the data/ folder should now contain at least:
(Update) For convenience, here is the link to tokenized questions vqa_train_toked.json and vqa_val_toked.json, make sure you run data/preproc.py to generate vqa_train_final.json, train_q_dict.p, etc.
This will generate result.json (validation set only), format is referred to vqa evaluation format.
Notes
The default classifier is softmax classifier, sigmoid multi-label classifier is also implemented but I can't train based on that.
Training for 50 epochs reach around 64.42% training accuracy.
For the output classifier, I did not use the pretrained weight since it's hard to retrieve so I followed eq. 5 in the paper.
To prepare validation data you need to uncomment some line of code in data/preproc.py.
coco_features.npy is a really fat file (34GB including train+val image features), you can split it and modify the data loading mechanisms in loader.py.
This code is tested with train = train and eval = val, no test data included.
Does chenfei-wu/vqa-winner-cvprw-2017 have a project website?
No homepage URL was recorded for chenfei-wu/vqa-winner-cvprw-2017 in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Is chenfei-wu/vqa-winner-cvprw-2017 open source?
TopGit's metadata for chenfei-wu/vqa-winner-cvprw-2017 does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is chenfei-wu/vqa-winner-cvprw-2017?
chenfei-wu/vqa-winner-cvprw-2017 (chenfei-wu/vqa-winner-cvprw-2017) is a Python project on GitHub. From the project's own README: Pytorch Implementation of winner from VQA Chllange Workshop in CVPR'17
Where do I read more about chenfei-wu/vqa-winner-cvprw-2017?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/chenfei-wu/vqa-winner-cvprw-2017 is the definitive source.
Read full README in the tab above.
Is vqa-winner-cvprw-2017 worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of vqa-winner-cvprw-2017.