Spaces:
Runtime error
Runtime error
Download scripts/v1_5/eval/eval_qa_tgif.sh from LanguageBind/Video-LLaVA: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/spaces/LanguageBind/Video-LLaVA/resolve/main/scripts/v1_5/eval/eval_qa_tgif.sh
- Command line
-
hf download hf://spaces/LanguageBind/Video-LLaVA/scripts/v1_5/eval/eval_qa_tgif.sh
-
curl -L -o eval_qa_tgif.sh https://huggingface.co/spaces/LanguageBind/Video-LLaVA/resolve/main/scripts/v1_5/eval/eval_qa_tgif.sh
572 Bytes
| GPT_Zero_Shot_QA="eval/GPT_Zero_Shot_QA" | |
| output_name="Video-LLaVA-7B" | |
| pred_path="${GPT_Zero_Shot_QA}/TGIF_Zero_Shot_QA/${output_name}/merge.jsonl" | |
| output_dir="${GPT_Zero_Shot_QA}/TGIF_Zero_Shot_QA/${output_name}/gpt3.5-0.0" | |
| output_json="${GPT_Zero_Shot_QA}/TGIF_Zero_Shot_QA/${output_name}/results.json" | |
| api_key="" | |
| api_base="" | |
| num_tasks=8 | |
| python3 llava/eval/video/eval_video_qa.py \ | |
| --pred_path ${pred_path} \ | |
| --output_dir ${output_dir} \ | |
| --output_json ${output_json} \ | |
| --api_key ${api_key} \ | |
| --api_base ${api_base} \ | |
| --num_tasks ${num_tasks} | |