Spaces:
Paused
Paused
Download eval_scripts/UGC-VideoCap/eval_UGC-VideoCap.sh from Imaginethat/aOt: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/spaces/Imaginethat/aOt/resolve/main/eval_scripts/UGC-VideoCap/eval_UGC-VideoCap.sh
- Command line
-
hf download hf://spaces/Imaginethat/aOt/eval_scripts/UGC-VideoCap/eval_UGC-VideoCap.sh
-
curl -L -o eval_UGC-VideoCap.sh https://huggingface.co/spaces/Imaginethat/aOt/resolve/main/eval_scripts/UGC-VideoCap/eval_UGC-VideoCap.sh
345 Bytes
| MODEL_PATH="path_to_AVoCaDO" # TODO | |
| OUTPUT_DIR="$1" | |
| mkdir -p "$OUTPUT_DIR" | |
| python eval_scripts/UGC-VideoCap/generate_caption.py \ | |
| --model_path "$MODEL_PATH" \ | |
| --save_path "$OUTPUT_DIR/model_caption.jsonl" | |
| python eval_scripts/UGC-VideoCap/evaluation.py "${OUTPUT_DIR}/model_caption.jsonl" "${OUTPUT_DIR}/eval_results.json" | |