PathSpec-ICLR / scripts /eval /eval_mscoco.sh
Rayleihaodong's picture
Add files using upload-large-folder tool
aaebaab verified
Raw
History Blame Contribute Delete
506 Bytes
#!/bin/sh
cd /mnt/petrelfs/leihaodong/ICLR25/eval
# HF_ENDPOINT=https://hf-mirror.com
dataset_anno_file=/mnt/petrelfs/leihaodong/ICLR25/sjdtree/data/prompts/captions_val2017.json
workdir=/mnt/petrelfs/leihaodong/ICLR25/exp/Lumina-mGPT-7B-768_MSCOCO2017Val/base/img
srun \
-N 1 \
--ntasks-per-node 1 \
python evaluation_metrics.py \
--workdir $workdir \
--dataset_anno_file $dataset_anno_file \
--coco_gt_path /mnt/petrelfs/leihaodong/local_dataset/val2017 \
--dataset_name coco \
--n_images 0