From c652dfe933bcd4a45ceb08175bd3a9a25891e663 Mon Sep 17 00:00:00 2001 From: Shen-Chenhui Date: Tue, 11 Jun 2024 06:16:52 +0000 Subject: [PATCH] fix index position --- eval/loss/launch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eval/loss/launch.sh b/eval/loss/launch.sh index a7a4b84..780569e 100644 --- a/eval/loss/launch.sh +++ b/eval/loss/launch.sh @@ -20,9 +20,9 @@ echo "Logging to $LOG_BASE" GPUS=(3 4 5 6 7) RESOLUTION=(144p 240p 360p 480p 720p) -CUDA_VISIBLE_DEVICES=0 $CMD --data-path $IMG_PATH --ckpt-path $CKPT_PATH >${LOG_BASE}/img_0.log --start-index 0 --end-index 3 2>&1 & -CUDA_VISIBLE_DEVICES=1 $CMD --data-path $IMG_PATH --ckpt-path $CKPT_PATH >${LOG_BASE}/img_1.log --start-index 3 --end-index 5 2>&1 & -CUDA_VISIBLE_DEVICES=2 $CMD --data-path $IMG_PATH --ckpt-path $CKPT_PATH >${LOG_BASE}/img_2.log --start-index 5 2>&1 & +CUDA_VISIBLE_DEVICES=0 $CMD --data-path $IMG_PATH --ckpt-path $CKPT_PATH --start-index 0 --end-index 3 >${LOG_BASE}/img_0.log 2>&1 & +CUDA_VISIBLE_DEVICES=1 $CMD --data-path $IMG_PATH --ckpt-path $CKPT_PATH --start-index 3 --end-index 5 >${LOG_BASE}/img_1.log 2>&1 & +CUDA_VISIBLE_DEVICES=2 $CMD --data-path $IMG_PATH --ckpt-path $CKPT_PATH --start-index 5 >${LOG_BASE}/img_2.log 2>&1 & for i in "${!GPUS[@]}"; do