-
Notifications
You must be signed in to change notification settings - Fork 123
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
Wrong Answer index is -1. Error at evaluation #29
Comments
I am having the same problem. I did change the wrong answer to '1001' from '-1' by updating the prepo_vqa.py script following one earlier suggestions. Still haveing the error If anyone has a solution please do share. |
Since when I changed the label for
|
I think the reason why it still shows error when change the label for |
I tried with Thanks for your solution. It's working now. Cheers! |
@panfengli It can work when I change -1 to 1001. But the accuracy on validation set is about 50%. There is a big gap compare to the result in the paper. Have you met a similar situation? |
@panfengli Hello, For some strange reason train.lua is not running after 1 iteration. Its just generating the json file and comes to a standstill. Any ideas? |
@Vapourain3 now I have the same proble,can you tell me how to solve it? |
In the preprocessing script, if the answer is not in top 1000 it is removed from training example but is kept in test set and is encoded as -1. When we evaluate this throws assertion error in the criterion as it need target from 1 to max number. Is this handled in the code, cause I was not able to find out where.
The text was updated successfully, but these errors were encountered: