From 25f73bb5ff5536fc8d42bb5f26ae8da749ae62db Mon Sep 17 00:00:00 2001 From: junchen14 Date: Tue, 31 Oct 2023 09:06:08 +0300 Subject: [PATCH] udpate evaluation readme --- eval_scripts/EVAL_README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/eval_scripts/EVAL_README.md b/eval_scripts/EVAL_README.md index eae1dfbf..87b20b86 100644 --- a/eval_scripts/EVAL_README.md +++ b/eval_scripts/EVAL_README.md @@ -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