chenfei-wu/vqa-winner-cvprw-2017 hiện có 1 sao trên GitHub, viết chủ yếu bằng Python. Pytorch Implementation of winner from VQA Chllange Workshop in CVPR'17
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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.
chenfei-wu/vqa-winner-cvprw-2017 có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho chenfei-wu/vqa-winner-cvprw-2017. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
chenfei-wu/vqa-winner-cvprw-2017 có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho chenfei-wu/vqa-winner-cvprw-2017. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
chenfei-wu/vqa-winner-cvprw-2017 là gì?
chenfei-wu/vqa-winner-cvprw-2017 (chenfei-wu/vqa-winner-cvprw-2017) là dự án Python trên GitHub. Theo mô tả gốc: Pytorch Implementation of winner from VQA Chllange Workshop in CVPR'17
Đọc thêm về chenfei-wu/vqa-winner-cvprw-2017 ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/chenfei-wu/vqa-winner-cvprw-2017 là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
vqa-winner-cvprw-2017 có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về vqa-winner-cvprw-2017.