Skip to content

Commit

Permalink
update evaluation readme
Browse files Browse the repository at this point in the history
  • Loading branch information
junchen14 committed Oct 31, 2023
1 parent 25f73bb commit 6491a16
Showing 1 changed file with 14 additions and 25 deletions.
39 changes: 14 additions & 25 deletions eval_scripts/EVAL_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,12 @@ 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
port=port_number
cfg_path=/path/to/eval_configs/minigptv2_eval.yaml
save_path=/path/to/save/path
ckpt=/path/to/evaluation/checkpoint
split=data_evaluation_split
dataset=dataset_name

dataset | split
--- | :---:
Expand All @@ -86,21 +81,15 @@ 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
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
dataset=dataset_type

dataset=/data/type

dataset | image_path | eval_file_path
--- | :---:| :---:
Expand Down

0 comments on commit 6491a16

Please sign in to comment.