mirror of
https://github.com/Vision-CAIR/MiniGPT-4.git
synced 2025-04-05 18:40:46 +00:00
udpate evaluation readme
This commit is contained in:
parent
89e29937da
commit
25f73bb5ff
@ -59,10 +59,15 @@ export PYTHONPATH=$PYTHONPATH:/path/to/directory/of/MiniGPT-4
|
|||||||
|
|
||||||
### start evalauting RefCOCO, RefCOCO+, RefCOCOg
|
### start evalauting RefCOCO, RefCOCO+, RefCOCOg
|
||||||
port=port_number
|
port=port_number
|
||||||
|
|
||||||
cfg_path=/path/to/eval_configs/minigptv2_eval.yaml
|
cfg_path=/path/to/eval_configs/minigptv2_eval.yaml
|
||||||
|
|
||||||
save_path=/path/to/save/path
|
save_path=/path/to/save/path
|
||||||
|
|
||||||
ckpt=/path/to/evaluation/checkpoint
|
ckpt=/path/to/evaluation/checkpoint
|
||||||
|
|
||||||
split=/evaluation/data/split/type
|
split=/evaluation/data/split/type
|
||||||
|
|
||||||
dataset=/data/type
|
dataset=/data/type
|
||||||
|
|
||||||
dataset | split
|
dataset | split
|
||||||
@ -82,16 +87,23 @@ torchrun --master-port ${port} --nproc_per_node 1 eval_ref.py \
|
|||||||
### start evaluating visual question answering
|
### start evaluating visual question answering
|
||||||
|
|
||||||
port=port_number
|
port=port_number
|
||||||
|
|
||||||
cfg_path=/path/to/eval_configs/minigptv2_eval.yaml
|
cfg_path=/path/to/eval_configs/minigptv2_eval.yaml
|
||||||
|
|
||||||
eval_file_path=/path/to/eval/annotation/path
|
eval_file_path=/path/to/eval/annotation/path
|
||||||
|
|
||||||
image_path=/path/to/eval/image/path
|
image_path=/path/to/eval/image/path
|
||||||
|
|
||||||
save_path=/path/to/save/path
|
save_path=/path/to/save/path
|
||||||
|
|
||||||
ckpt=/path/to/evaluation/checkpoint
|
ckpt=/path/to/evaluation/checkpoint
|
||||||
|
|
||||||
split=/evaluation/data/split/type
|
split=/evaluation/data/split/type
|
||||||
|
|
||||||
dataset=/data/type
|
dataset=/data/type
|
||||||
|
|
||||||
dataset | image_path | eval_file_path
|
dataset | image_path | eval_file_path
|
||||||
--- | :---:
|
--- | :---:| :---:
|
||||||
okvqa | coco_2017 | /path/to/okvqa/folder
|
okvqa | coco_2017 | /path/to/okvqa/folder
|
||||||
vizwiz | vizwiz_images | /path/to/vizwiz/folder
|
vizwiz | vizwiz_images | /path/to/vizwiz/folder
|
||||||
iconvqa | iconvqa_images | /path/to/iconvqa/folder
|
iconvqa | iconvqa_images | /path/to/iconvqa/folder
|
||||||
|
Loading…
Reference in New Issue
Block a user