Monai

Overview

Monai is a PyTorch-based, open-source framework for deep learning in healthcare imaging, part of PyTorch Ecosystem

Restrictions on use

There are no restrictions on accessing the software on the CSF. It is released under the Apache 2.0 License and all use must adhere to that license.

Set up procedure

We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job inherit these settings.

Load one of the following modulefiles:

module load apps/python/monai/0.3.0        # Loads Anaconda3 2020.07 (python 3.8)

The Anaconda Python modulefile will be loaded automatically.

Running the application

Please do not run Monai on the login node. Jobs should be submitted to the compute nodes via batch.

Serial batch job submission

Create a batch submission script (which will load the modulefile in the jobscript), for example:

#!/bin/bash --login
#$ -cwd             # Job will run from the current directory
                    # NO -V line - we load modulefiles in the jobscript

# We recommend loading modulefiles in jobscripts. Use your requried version.
module load apps/python/monai/0.3.0

python mymonai.py

Submit the jobscript using:

qsub scriptname

where scriptname is the name of your jobscript.

Parallel batch job submission

Given an example parallel jobscript, including suitable PE

Further info

Updates

None.

Last modified on November 27, 2020 at 11:03 am by George Leaver