yuleiniu / cfvqa

[CVPR 2021] Counterfactual VQA: A Cause-Effect Look at Language Bias
Apache License 2.0
116 stars 14 forks source link

cfvqa.py #20

Open GaomingL1n opened 3 months ago

GaomingL1n commented 3 months ago

’logits_cfvqa‘ is TIE, ’z_qkv‘ is TE, ’logits_cfvqa‘ = ’z_qkv‘ - ’z_q’, but in the cfvqa.py, ‘z_q’ is annotated as NIE, and later ’logits‘ is also annotated as NIE. Are the annotations mixed up? Or perhaps there's a problem with my understanding of the code?