VALUE-Leaderboard / StarterCode

Starter Code for VALUE benchmark
MIT License
79 stars 5 forks source link

Clarification about 'validate_full_vcmr" #8

Open aleSuglia opened 3 years ago

aleSuglia commented 3 years ago

HI @linjieli222,

I was looking at the validation phase of the retrieval setup and I can see you have implemented two different variants: validate and full_validate. From my understanding, validate only computes loss function scores while full_validate also generates predictions for which retrieval-based metrics are used. The validate setup is quite straightforward to me, so no clarification is required there. However, the full_validate looks quite complex and I haven't seen an actual description of this method in the original paper. In particular, could you please report a brief description of the steps that are reported in this function: https://github.com/VALUE-Leaderboard/StarterCode/blob/main/eval_vcmr.py#L172?

linjieli222 commented 3 years ago

@aleSuglia

We follow the implementation of VCMR evaluation from TVR: https://github.com/jayleicn/TVRetrieval/blob/master/baselines/clip_alignment_with_language/inference.py

Let me first explain some high-level details:

To explain the process:

Hope this helps.

Thanks, Linjie