From b0b79051e139f2409d8e45040c9caca4885f137c Mon Sep 17 00:00:00 2001 From: XiaoqianShen <64844805+xiaoqian-shen@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:50:27 +0300 Subject: [PATCH] Update eval.sh --- eval_scripts/eval.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eval_scripts/eval.sh b/eval_scripts/eval.sh index d376802..830c37a 100644 --- a/eval_scripts/eval.sh +++ b/eval_scripts/eval.sh @@ -13,4 +13,7 @@ torchrun --nproc_per_node 1 eval_ref.py --name ${NAME} \ torchrun --nproc_per_node 1 eval_vqa.py --name ${NAME} \ --cfg-path ${cfg_path} \ --ckpt ${CKPT} --split val,test --dataset okvqa,vizwiz,aokvqa,iconqa,gqa,vsr,hm --lora_r 64 --lora_alpha 16 \ - --batch_size 32 --max_new_tokens 20 --resample \ No newline at end of file + --batch_size 32 --max_new_tokens 20 --resample + +torchrun --master-port ${PORT} --nproc_per_node 1 run_textvqa_eval.py --name ${NAME} --ckpt_path ${CKPT} --lora_r 64 --lora_alpha 16 --eval_file_path ${EVAL_FILE_PATH} +torchrun --master-port ${PORT} --nproc_per_node 1 run_sciencevqa_eval.py --name ${NAME} --ckpt_path ${CKPT} --lora_r 64 --lora_alpha 16