hengyuan-hu / bottom-up-attention-vqa

An efficient PyTorch implementation of the winning entry of the 2017 VQA Challenge.
GNU General Public License v3.0
753 stars 181 forks source link

problem with questions and answers file length #50

Open marzieh-Mlkzdh opened 4 years ago

marzieh-Mlkzdh commented 4 years ago

Hi, thank you for your good implementation. I have a problem when starting for training, in utils.py ,def assert_eq checks if the length of questions and answers are the same or not, besides, in compute_softscore.py script, def compute_target is making a pkl file containing filtered answers, length of original mscoco questions for training is 443757 and length of train_target.pkl file is 388158, it seems that the answers are not getting augmented after filtering and they do not have the same size with questions. so def assert_eq shows an assertion error for me, could you please help me fixing this?