Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to repeat the accuracy of the pretrained VGG model #27

Open
xhzhao opened this issue Dec 8, 2016 · 2 comments
Open

Fail to repeat the accuracy of the pretrained VGG model #27

xhzhao opened this issue Dec 8, 2016 · 2 comments

Comments

@xhzhao
Copy link

xhzhao commented Dec 8, 2016

I download the pretrained mode here: https://filebox.ece.vt.edu/~jiasenlu/codeRelease/vqaRelease/train_val/pretrained_lstm_train-val_test

and the corresponding features here:
https://filebox.ece.vt.edu/~jiasenlu/codeRelease/vqaRelease/train_val/data_train-val_test.zip

There is no error when i run eval.lua.
After i put the result files to here: https://github.com/VT-vision-lab/VQA
I came across the following error:

"
loading VQA annotations and questions into memory...
0:00:07.128280
creating index...
index created!
Loading and preparing results...
Traceback (most recent call last):
File "vqaEvalDemo.py", line 31, in
vqaRes = vqa.loadRes(resFile, quesFile)
File "../../VQA/PythonHelperTools/vqaTools/vqa.py", line 165, in loadRes
'Results do not correspond to current VQA set. Either the results do not have predictions for all question ids in annotation file or there is atleast one question id that does not belong to the question ids in the annotation file.'
AssertionError: Results do not correspond to current VQA set. Either the results do not have predictions for all question ids in annotation file or there is atleast one question id that does not belong to the question ids in the annotation file.
"

@ghost
Copy link

ghost commented Jul 15, 2017

you may make an error in filename. your resut file in "../data/results" need the same as the filename in "../../VQA/PythonHelperTools/vqaTools/vqa.py" file. eg: "OpenEnded_mscoco_val2014_fake_results.json"

@ramonsilvanet
Copy link

I had same problem, but all files names are correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants