Cadene / murel.bootstrap.pytorch

MUREL (CVPR 2019), a multimodal relational reasoning module for VQA
https://arxiv.org/abs/1902.09487
BSD 3-Clause "New" or "Revised" License
194 stars 24 forks source link

KeyError: 'norm_coord' c = batch['norm_coord'] #1

Closed gaopeng-eugene closed 5 years ago

gaopeng-eugene commented 5 years ago

when i run the following command line, I found the error below.

python -m bootstrap.run -o murel/options/vqa2/murel.yaml

c = batch['norm_coord'] KeyError: 'norm_coord'

Here is the keys of batch: dict_keys(['index', 'question_id', 'question', 'lengths', 'image_name', 'visual', 'nb_regions', 'answer_id', 'class_id', 'answer', 'question_type'])

Thank you for your amazing code.

Cadene commented 5 years ago

Hi @gaopeng-eugene,

Thanks for your interest :) My mistake, I just uploaded a new version of the features.

mkdir -p data/vqa/coco/extract_rcnn
cd data/vqa/coco/extract_rcnn
wget http://data.lip6.fr/cadene/block/coco/extract_rcnn/2018-04-27_bottom-up-attention_fixed_36.tar
tar -xvf 2018-04-27_bottom-up-attention_fixed_36.tar