File size: 564 Bytes
5244231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


CKPT_NAME="Video-LLaVA-7B"
model_path="checkpoints/${CKPT_NAME}"
cache_dir="./cache_dir"
Video_5_Benchmark="eval/Video_5_Benchmark"
video_dir="${Video_5_Benchmark}/Test_Videos"
gt_file="${Video_5_Benchmark}/Benchmarking_QA/generic_qa.json"
output_dir="${Video_5_Benchmark}/${CKPT_NAME}"
output_name="detail_qa"

python3 llava/eval/video/run_inference_benchmark_general.py \
    --model_path ${model_path} \
    --cache_dir ${cache_dir} \
    --video_dir ${video_dir} \
    --gt_file ${gt_file} \
    --output_dir ${output_dir} \
    --output_name ${output_name}