A MONAI bundle contains the stored weights of a model, training, inference, post-processing transform sequences and other information. This tutorial aims to explore how to access a bundle in Python and use it in your own application. We'll cover the following topics:
- Downloading the Bundle.
- Creating a
BundleWorkflow. - Getting Properties from the Bundle.
- Updating Properties.
- Using Components in Your Own Pipeline.
- Utilizing Pretrained Weights from the Bundle.
- A Simple Comparison of the Usage between
ConfigParserandBundleWorkflow.
The example training dataset is Task09_Spleen.tar from http://medicaldecathlon.com/.
The script is tested with:
-
Ubuntu 20.04|Python 3.8.10|CUDA 12.2|Pytorch 1.13.1 -
it is tested on 24gb single-gpu machine
You can conda environments to install the dependencies.
or you can just use MONAI docker.
docker pull projectmonai/monai:latestFor more information please check out the installation guide.
- For questions relating to the use of MONAI, please use our Discussions tab on the main repository of MONAI.
- For bugs relating to MONAI functionality, please create an issue on the main repository.
- For bugs relating to the running of a tutorial, please create an issue in this repository.