Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 666 Bytes

File metadata and controls

28 lines (17 loc) · 666 Bytes

Install LLaVA.

git clone https://github.com/haotian-liu/LLaVA.git
cd LLaVA
pip install -e .

please note this process will install torch 2.1, which is different from taht in gppllie conda env. You can install llava within a new conda env, or you can revise the torch and cudatoolkit version in the gppllie env.

Evaluations

Calculate glocal score.
python eval_scripts/llava_v1.5/eval_llie_global.py
Calculate local prior.
python eval_scripts/llava_v1.5/eval_llie_local.py

This pipeline is built upon the Q-Instruct.