Skip to content

The official code for "LEICA: Likelihood-Based Text-to-Image Evaluation with Credit Assignment"

Notifications You must be signed in to change notification settings

chenqi008/LEICA

Repository files navigation

LEICA

The official code for "LEICA: Likelihood-Based Text-to-lmage Evaluation withPatch-Level Perceptual and Semantic Credit Assignment"

Download Checkpoints

Download checkpoints.zip (Baidu Netdisk[提取码:leic], [google drive]) and unzip it in the root directory of this project.

unzip checkpoints.zip

Download OFA pre-trained checkpoints from Pre-trained checkpoint (OFA-large)(5.9GB) and Pre-trained checkpoint (OFA-Base)(5.9GB)).

wget https://ofa-beijing.oss-cn-beijing.aliyuncs.com/checkpoints/ofa_large.pt
wget https://ofa-beijing.oss-cn-beijing.aliyuncs.com/checkpoints/ofa_base.pt

Then put them into checkpoints dir.

mv image_gen_* ./checkpoints

Data Preparation

Run Evaluation

Run the following command to evaluate with OFA.

./run.sh ofa

About

The official code for "LEICA: Likelihood-Based Text-to-Image Evaluation with Credit Assignment"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published