Download OpenPVSG/scripts/train/train_debug.sh from royguw/vsg_eval: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/datasets/royguw/vsg_eval/resolve/main/OpenPVSG/scripts/train/train_debug.sh
- Command line
-
hf download hf://datasets/royguw/vsg_eval/OpenPVSG/scripts/train/train_debug.sh
-
curl -L -o train_debug.sh https://huggingface.co/datasets/royguw/vsg_eval/resolve/main/OpenPVSG/scripts/train/train_debug.sh
627 Bytes
| set -x | |
| PARTITION=priority | |
| JOB_NAME=psg | |
| CONFIG=configs/mask2former_vps/mask2former_video_r50.py | |
| WORK_DIR=work_dirs/mask2former_r50_vps_debug | |
| PORT=${PORT:-$((29500 + $RANDOM % 29))} | |
| GPUS_PER_NODE=${GPUS_PER_NODE:-1} | |
| CPUS_PER_TASK=${CPUS_PER_TASK:-1} | |
| 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 -m pdb -c continue tools/train.py ${CONFIG} --work-dir=${WORK_DIR} --launcher="none" ${PY_ARGS} | |