-
Notifications
You must be signed in to change notification settings - Fork 2
/
eval.sh
23 lines (18 loc) · 1.1 KB
/
eval.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# CUDA_VISIBLE_DEVICES=0 python MMMU_eval/run_llava.py \
# --output_path /home/zhangmin/toby/LLaVA/MMMU_eval/example_outputs/llava1.5_7b_val.json \
# --model_path liuhaotian/llava-v1.5-7b \
# --config_path MMMU_eval/configs/llava1.5.yaml \
# --data_path /home/zhangmin/toby/LLaVA/MMMU_eval/data
# cd MMMU_eval
# rm -rf example_outputs/llava1.5-qwen2-1.5B-instruct
# cp -r example_outputs/qwen_vl example_outputs/llava1.5-qwen2-1.5B-instruct
# CUDA_VISIBLE_DEVICES=3 python main_parse_and_eval.py --path ./example_outputs/llava1.5-qwen2-1.5B-instruct --subject ALL
# python print_results.py --path ./example_outputs/llava1.5-qwen2-1.5B-instruct
CUDA_VISIBLE_DEVICES=3 python MMMU_eval/run_qwen2.py \
--output_path /home/zhangmin/toby/LLaVA/MMMU_eval/example_outputs/llava1.5-qwen2-1.5B-instruct.json \
--model_path /home/zhangmin/toby/LLaVA/checkpoints/Qwen2-1.5B-Instruct-Vision \
--config_path MMMU_eval/configs/qwen2.yaml \
--data_path /home/zhangmin/toby/LLaVA/MMMU_eval/data
cd MMMU_eval
python main_eval_only.py --output_path ./example_outputs/llava1.5-qwen2-1.5B-instruct.json