nnU-Net¶
nnU-Net is a semantic segmentation method that automatically adapts to a given dataset. Two module variants are available: one with CUDA 12.4, and one for CPU only. The bundle packages version 2.6.0.
Usage example¶
If the CUDA_VISIBLE_DEVICES
environment variable is set, the CUDA 12.4 variant
is the default otherwise the default is the CPU variant. The following command
can be executed in the terminal to load the bundle:
To explicitly load the CPU variant run:
To explicitly load the CUDA 12.4 variant run:
The following nnU-Net commands can be run directly:
The nnunet_shell
command can be used to access a shell in the bundle.
Setup a project¶
nnU-Net requires several environment variables to be set, before any of the previous commands can be run. The easiest is to setup a project:
- Run
ern project modules
- The
micro
editor should open, unless configured otherwise - Type
nnunet
and save with Ctrl+S and exit with Ctrl+Q - Run
ern project script
. - Change the paths and
nnUNet_n_proc_DA
, according to your needs, in the text below. - Save the file.
- Run
ern project on
The module should be loaded, and the environment variables set whenever the user changes to the directory.
Submitting a GPU job¶
Performance notes¶
No performance notes available
Recommended resources per session¶
No recommended resources available
Benchmarks¶
No benchmarks available.
Community guides and tutorials¶
- No community guides available.
Official site and documentation¶
Licensing information¶
nnU-Net is licensed under the Apache v2.0.
Primary citation¶
External guides and resources¶
- If you know of a guide/tutorial that you have found useful, please help us share it by contacting the HPC staff at hpc@ufs.ac.za