mirror of
https://github.com/Vision-CAIR/MiniGPT-4.git
synced 2025-04-05 02:20:47 +00:00
Update eval.sh
This commit is contained in:
parent
c70775af99
commit
b0b79051e1
@ -13,4 +13,7 @@ torchrun --nproc_per_node 1 eval_ref.py --name ${NAME} \
|
|||||||
torchrun --nproc_per_node 1 eval_vqa.py --name ${NAME} \
|
torchrun --nproc_per_node 1 eval_vqa.py --name ${NAME} \
|
||||||
--cfg-path ${cfg_path} \
|
--cfg-path ${cfg_path} \
|
||||||
--ckpt ${CKPT} --split val,test --dataset okvqa,vizwiz,aokvqa,iconqa,gqa,vsr,hm --lora_r 64 --lora_alpha 16 \
|
--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
|
--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
|
||||||
|
Loading…
Reference in New Issue
Block a user