add
This commit is contained in:
14
models/LLaVA/scripts/sqa_eval_batch.sh
Normal file
14
models/LLaVA/scripts/sqa_eval_batch.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
CHUNKS=8
|
||||
for IDX in {0..7}; do
|
||||
CUDA_VISIBLE_DEVICES=$IDX python -m llava.eval.model_vqa_science \
|
||||
--model-name ./checkpoints/LLaVA-13b-v0-science_qa \
|
||||
--question-file ~/haotian/datasets/ScienceQA/data/scienceqa/llava_test_QCM-LEPA.json \
|
||||
--image-folder ~/haotian/datasets/ScienceQA/data/scienceqa/images/test \
|
||||
--answers-file ./test_llava-13b-chunk$CHUNKS_$IDX.jsonl \
|
||||
--num-chunks $CHUNKS \
|
||||
--chunk-idx $IDX \
|
||||
--answer-prompter \
|
||||
--conv-mode simple &
|
||||
done
|
Reference in New Issue
Block a user