HALC
HALC copied to clipboard
How to calculate the OPOPE score?
How to calculate the OPOPE score?
Hi, thanks for your interest in HALC! We have unified the evaluation in eval/batch_eval.py script. You can simply run it via:
python eval/batch_eval.py -c [PATH_TO_CAPTION_FOLDER_DIR] --evaluator pope --pope_type [random/popular/adversarial]
You can check the detailed calculation in eval/opope_eval.py. Please let me know if there's further questions! Thanks:)