YunseokJANG / tgif-qa

Repository for our CVPR 2017 and IJCV: TGIF-QA
https://arxiv.org/abs/1704.04497
171 stars 31 forks source link

Why count answer zero is changed to one #12

Closed SunDoge closed 5 years ago

SunDoge commented 5 years ago

I happen to notice that you use max(count_answer, 1) here code/gifqa/data_util/tgif.py#L561 but don't know why.

If one gif contains no action mentioned in question, the answer should be 0, right? Is there any reason changing them to 1?

YunseokJANG commented 5 years ago

Hi, @SunDoge Thank you for your interest in our work.

We understand what you want to point out, but there is another thing you need to think of, which is the distance between possible answers; all the other answer choices except 0 (so, from 2 to 10) have a numerical gap of one. Therefore, in order to keep the fairness with other possible answer choices, we match the distance by setting it to 1.

Regards, Authors of TGIF-QA