We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba2dc1 commit dab7c53Copy full SHA for dab7c53
scripts/v1_5/eval/llava/mme.sh
@@ -0,0 +1,21 @@
1
+#!/bin/bash
2
+
3
+CONV="conv_template"
4
+CKPT_NAME="your_ckpt_name"
5
+CKPT="checkpoints/${CKPT_NAME}"
6
+EVAL="eval"
7
+python3 -m moellava.eval.model_vqa_loader \
8
+ --model-path ${CKPT} \
9
+ --question-file ${EVAL}/MME/llava_mme.jsonl \
10
+ --image-folder ${EVAL}/MME/MME_Benchmark_release_version \
11
+ --answers-file ${EVAL}/MME/answers/${CKPT_NAME}.jsonl \
12
+ --temperature 0 \
13
+ --conv-mode ${CONV}
14
15
+cd ${EVAL}/MME
16
17
+python convert_answer_to_mme.py --experiment $CKPT_NAME
18
19
+cd eval_tool
20
21
+python calculation.py --results_dir answers/$CKPT_NAME
0 commit comments