visdial-rl
visdial-rl copied to clipboard
Fix bug in evaluation for tie in scores.
If the score of ground truth would tie with another option, it always got assigned a higher rank. This caused evaluation metrics to be reported higher than their true values. This PR fixes that.
So this change would require re-evaluating all checkpoints and updating the reported numbers in the README, right?
I just reviewed https://github.com/batra-mlp-lab/visdial/pull/36 and tried simplifying things a bit: https://github.com/batra-mlp-lab/visdial/pull/36/commits/3a769d28d15c5112fccaefdc041572d069f302f2. Those changes probably apply here too.
@nirbhayjm yes it does. If we never faced ties in scores, then they won't change. But usually there are ties...