File size: 796 Bytes
20f93fb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
#!/bin/bash
SPLIT="mmbench_dev_20230712"
CUDA_VISIBLE_DEVICES=0 python -m llava.eval.model_vqa_mmbench \
--model-path ./checkpoints/voco_llava_ckpt \
--question-file ./playground/data/eval/mmbench/$SPLIT.tsv \
--answers-file ./playground/data/eval/mmbench/answers/$SPLIT/voco_llama.jsonl \
--voco_num 2 \
--single-pred-prompt \
--temperature 0 \
--conv-mode vicuna_v1
mkdir -p playground/data/eval/mmbench/answers_upload/$SPLIT
python scripts/convert_mmbench_for_submission.py \
--annotation-file ./playground/data/eval/mmbench/$SPLIT.tsv \
--result-dir ./playground/data/eval/mmbench/answers/$SPLIT \
--upload-dir ./playground/data/eval/mmbench/answers_upload/$SPLIT \
--experiment voco_llama
# CUDA_VISIBLE_DEVICES=0 bash scripts/eval/mmbench.sh |