MultimodalExplanations icon indicating copy to clipboard operation
MultimodalExplanations copied to clipboard

Explanations Annotations for Generating Explanations

Open asdegoyeneche opened this issue 6 years ago • 0 comments

Hi, For VQA-X, I was able to generate explanations using the pre-trained model, but I am a bit confused why it is necessary to give the --exp_file with the explanation labels. I'm referring to this command:

cd PJ-X-VQA/generate_vqa_exp
python generate_explanation.py --ques_file ../VQA-X/Questions/v2_OpenEnded_mscoco_val2014_questions.json --ann_file ../VQA-X/Annotations/v2_mscoco_val2014_annotations.json --exp_file ../VQA-X/Annotations/val_exp_anno.json --gpu 0 --out_dir ../VQA-X/results --folder ../model/ --model_path $PATH_TO_CAFFEMODEL --use_gt --save_att_map

I understand that at the moment of creating the explanations in PJ-X-VQA/generate_vqa_exp/generate_explanation.py the labels are not being used. Could you please clarify? Thanks,

asdegoyeneche avatar Oct 23 '18 06:10 asdegoyeneche