-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
Question
I looked at the eval script
CONV="conv_template"
CKPT_NAME="your_ckpt_name"
CKPT="checkpoints/${CKPT_NAME}"
EVAL="eval"
deepspeed moellava/eval/model_vqa_loader.py \
--model-path ${CKPT} \
--question-file ${EVAL}/textvqa/llava_textvqa_val_v051_ocr.jsonl \
--image-folder ${EVAL}/textvqa/train_images \
--answers-file ${EVAL}/textvqa/answers/${CKPT_NAME}.jsonl \
--temperature 0 \
--conv-mode ${CONV}
python3 -m moellava.eval.eval_textvqa \
--annotation-file ${EVAL}/textvqa/TextVQA_0.5.1_val.json \
--result-file ${EVAL}/textvqa/answers/${CKPT_NAME}.jsonl
what's ${CKPT_NAME}.jsonl in ${EVAL}/textvqa/answers/${CKPT_NAME}.jsonl ?
My ./textvqa/answers/ has llava-v1.5-13b.jsonl but my CKPT_NAME is llavaphi-2.7b-finetune-moe. Should I use llava-v1.5-13b.jsonl for eval instead?
Metadata
Metadata
Assignees
Labels
No labels