Download OpenPVSG/scripts/test/test_ips.sh from royguw/vsg_eval: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/datasets/royguw/vsg_eval/resolve/main/OpenPVSG/scripts/test/test_ips.sh
- Command line
-
hf download hf://datasets/royguw/vsg_eval/OpenPVSG/scripts/test/test_ips.sh
-
curl -L -o test_ips.sh https://huggingface.co/datasets/royguw/vsg_eval/resolve/main/OpenPVSG/scripts/test/test_ips.sh
680 Bytes
| set -x | |
| PARTITION=regular | |
| JOB_NAME=psg | |
| CONFIG=configs/mask2former/mask2former_r50_lsj_8x2_50e_coco-panoptic_custom.py | |
| WORK_DIR=work_dirs/mask2former_r50_ips | |
| CHECKPOINT=work_dirs/mask2former_r50_ips/epoch_8.pth | |
| PORT=${PORT:-$((29500 + $RANDOM % 29))} | |
| GPUS_PER_NODE=${GPUS_PER_NODE:-1} | |
| CPUS_PER_TASK=${CPUS_PER_TASK:-5} | |
| PY_ARGS=${@:5} | |
| PYTHONPATH="/mnt/lustre/jkyang/CVPR23/openpvsg":$PYTHONPATH \ | |
| srun -p ${PARTITION} \ | |
| --job-name=${JOB_NAME} \ | |
| --gres=gpu:${GPUS_PER_NODE} \ | |
| --ntasks-per-node=${GPUS_PER_NODE} \ | |
| --cpus-per-task=${CPUS_PER_TASK} \ | |
| --kill-on-bad-exit=1 \ | |
| python -u tools/test.py ${CONFIG} ${CHECKPOINT} \ | |
| --work-dir=${WORK_DIR} --eval PQ | |