Skip to content

HAWLYQ/InfoMetIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

InfoMetIC: An Informative Metric for Reference-free Image Caption Evaluation (ACL 2023)

By Anwen Hu, Shizhe Chen, Liang Zhang, Qin Jin

Requirements

torch >= 1.7, numpy >= 1.19.2, scipy >= 1.7.1

Evaluate Image Captioning results on MSCOCO

1.download preprocessed image features (119G) from baidu netdisk (https://pan.baidu.com/s/1QvcscjNMFDE5nfSSlAHZZg?pwd=d97v, pwd:d97v), put it under ./infometic/data

2.download the checkpoint (462M) from google driver (https://drive.google.com/drive/folders/1LZRZ-Q24_PRfpvRvwBlkldkBk9zGdTHM?usp=sharing) , put it under ./infometic/save

3.run inference code as follows:

cd infometic
python inference.py --image {mscoco_image_name} --caption {caption}

for example,

python inference.py --image 'COCO_val2014_000000197461.jpg' --caption ' A very large sheep is standing under clouds.'

Training and Evaluation on benchmarks are on the way...

Citation

if you find this code useful for your research, please consider citing:

@inproceedings{DBLP:conf/acl/HuCZJ23,
  author       = {Anwen Hu and
                  Shizhe Chen and
                  Liang Zhang and
                  Qin Jin},
  title        = {InfoMetIC: An Informative Metric for Reference-free Image Caption
                  Evaluation},
  booktitle    = {{ACL} {(1)}},
  pages        = {3171--3185},
  publisher    = {Association for Computational Linguistics},
  year         = {2023}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages