Spaces:
Runtime error
Runtime error
File size: 995 Bytes
5244231 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
#!/bin/bash
CKPT_NAME="Video-LLaVA-7B"
CKPT="checkpoints/${CKPT_NAME}"
EVAL="eval"
python3 -m llava.eval.model_vqa \
--model-path ${CKPT} \
--question-file ${EVAL}/llava-bench-in-the-wild/questions.jsonl \
--image-folder ${EVAL}/llava-bench-in-the-wild/images \
--answers-file ${EVAL}/llava-bench-in-the-wild/answers/${CKPT_NAME}.jsonl \
--temperature 0 \
--conv-mode vicuna_v1
mkdir -p ${EVAL}/llava-bench-in-the-wild/reviews
python3 llava/eval/eval_gpt_review_bench.py \
--question ${EVAL}/llava-bench-in-the-wild/questions.jsonl \
--context ${EVAL}/llava-bench-in-the-wild/context.jsonl \
--rule llava/eval/table/rule.json \
--answer-list ${EVAL}/llava-bench-in-the-wild/answers_gpt4.jsonl \
${EVAL}/llava-bench-in-the-wild/answers/${CKPT_NAME}.jsonl \
--output ${EVAL}/llava-bench-in-the-wild/reviews/${CKPT_NAME}.jsonl
python3 llava/eval/summarize_gpt_review.py -f ${EVAL}/llava-bench-in-the-wild/reviews/${CKPT_NAME}.jsonl
|