Skip to content
Snippets Groups Projects
Commit c555948e authored by Xuan Gu's avatar Xuan Gu
Browse files

Update file benchmark.txt

parent d0d6f009
No related branches found
No related tags found
No related merge requests found
MODULE_NAME=nnunet_for_pytorch
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
mkdir -p $WORK_DIR/data $WORK_DIR/results
export APPTAINER_BINDPATH=$WORK_DIR/data:/data,$WORK_DIR/results:/results
To download and preprocess the data run:
apptainer exec --nv --pwd /workspace/nnunet_pyt $CONTAINER_DIR python download.py --task 01
apptainer exec --nv --pwd /workspace/nnunet_pyt $CONTAINER_DIR python /workspace/nnunet_pyt/preprocess.py --task 01 --dim 2
Start benchmarking:
apptainer exec --nv --pwd /workspace/nnunet_pyt $CONTAINER_DIR python scripts/benchmark.py --mode train --gpus 1 --dim 2 --batch_size 256 --amp
apptainer exec --nv --pwd /workspace/nnunet_pyt $CONTAINER_DIR python scripts/benchmark.py --mode predict --gpus 1 --dim 2 --batch_size 256 --amp
# Known issue
https://github.com/NVIDIA/DeepLearningExamples/issues/1113
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment