udpate evaluation readme

This commit is contained in:
junchen14 2023-10-31 09:06:08 +03:00
parent 89e29937da
commit 25f73bb5ff

View File

@ -59,10 +59,15 @@ export PYTHONPATH=$PYTHONPATH:/path/to/directory/of/MiniGPT-4
### start evalauting RefCOCO, RefCOCO+, RefCOCOg
port=port_number
cfg_path=/path/to/eval_configs/minigptv2_eval.yaml
save_path=/path/to/save/path
ckpt=/path/to/evaluation/checkpoint
split=/evaluation/data/split/type
dataset=/data/type
dataset | split
@ -82,16 +87,23 @@ torchrun --master-port ${port} --nproc_per_node 1 eval_ref.py \
### start evaluating visual question answering
port=port_number
cfg_path=/path/to/eval_configs/minigptv2_eval.yaml
eval_file_path=/path/to/eval/annotation/path
image_path=/path/to/eval/image/path
save_path=/path/to/save/path
ckpt=/path/to/evaluation/checkpoint
split=/evaluation/data/split/type
dataset=/data/type
dataset | image_path | eval_file_path
--- | :---:
--- | :---:| :---:
okvqa | coco_2017 | /path/to/okvqa/folder
vizwiz | vizwiz_images | /path/to/vizwiz/folder
iconvqa | iconvqa_images | /path/to/iconvqa/folder