VocoUPL / scripts /eval /mmbench.sh
lazybug's picture
Add files using upload-large-folder tool
20f93fb verified
raw
history blame contribute delete
796 Bytes
#!/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