Skip to content

This repo contains codes and instructions for baselines in the VLUE benchmark.

Notifications You must be signed in to change notification settings

zengyan-97/VLUE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VLUE

This repo contains data, descriptions, and codes for baselines in the Visual Language Understanding Evaluation (VLUE) benchmark. See our paper for more details about VLUE or the baselines.

Tasks

VLUE considers 5 representative vision-and-language tasks including

Downloading VLUE

In-Domain Data

You can download data for download json files

Evaluation on VLUE

We provide the examples to run VLUE test on X-VLM as follows:

cp -r data/ xvlm/data/vlue_released
cd xvlm

python3 run.py --task "eval_vlue_itr" --dist "1" --evaluate  --output_dir "output/" --checkpoint "itr_coco/checkpoint_9.pth"

python3 run.py --task "eval_vlue_vqa" --dist "1" --evaluate  --output_dir "output/" --checkpoint "vqa/model_state_epoch_9.th"

python3 run.py --task "eval_vlue_nlvr" --dist "1" --evaluate  --output_dir "output/" --checkpoint "nlvr/nlvr_ft/checkpoint_best.pth"

python3 run.py --task "eval_vlue_refcoco" --dist "1" --evaluate  --output_dir "output/" --checkpoint "refcoco_bbox/checkpoint_best.pth"

python3 run.py --task "eval_vlue_refcoco_weakly" --dist "1" --evaluate  --output_dir "output/" --checkpoint "refcoco/checkpoint_best.pth"

About

This repo contains codes and instructions for baselines in the VLUE benchmark.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%