From 8dcc068505affbc51660e4eeb44e0595c4b5e399 Mon Sep 17 00:00:00 2001 From: Xuan Gu <xuan.gu@liu.se> Date: Thu, 28 Sep 2023 10:30:47 +0000 Subject: [PATCH] Update file run_benchmark_single_node.sh --- PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh b/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh index 95071f9..907151e 100644 --- a/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh +++ b/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh @@ -23,11 +23,8 @@ MODULE_VERSION=21.11.0 WORK_DIR=/proj/nsc_testing/xuan/berzelius-benchmarks/PyTorch/Segmentation/nnUNet CONTAINER_DIR=/proj/nsc_testing/xuan/containers/${MODULE_NAME}_${MODULE_VERSION}.sif -cd $WORK_DIR - -rm -f results/$LOG_DIR -srun apptainer exec --nv -B ${PWD}/data:/data -B ${PWD}/results:/results $CONTAINER_DIR bash -c "cd /workspace/nnunet_pyt && python scripts/benchmark.py --mode train --gpus ${3} --dim ${1} --batch_size ${4} --nodes ${2} --amp --logname='$LOG_DIR'" - +rm -f $WORK_DIR/results/$LOG_DIR +srun apptainer exec --nv --pwd /workspace/nnunet_pyt -B ${WORK_DIR}/data:/data -B ${WORK_DIR}/results:/results $CONTAINER_DIR python scripts/benchmark.py --mode train --gpus ${3} --dim ${1} --batch_size ${4} --nodes ${2} --amp --logname='$LOG_DIR' EOT -- GitLab